issue10091002_1: filter by invoice type on credit notes relate
This commit is contained in:
parent
891c4f7183
commit
b57b7f2275
|
@ -13,11 +13,11 @@ Index: invoice.xml
|
|||
@@ -38,6 +38,17 @@
|
||||
<field name="act_window" ref="act_invoice_form"/>
|
||||
</record>
|
||||
|
||||
|
||||
+ <record model="ir.action.act_window" id="act_credit_notes_form">
|
||||
+ <field name="name">Credit Notes</field>
|
||||
+ <field name="res_model">account.invoice</field>
|
||||
+ <field name="domain">[('lines.origin.invoice', 'in', Eval('active_ids'), 'account.invoice.line')]</field>
|
||||
+ <field name="domain">[('lines.origin.invoice', 'in', Eval('active_ids'), 'account.invoice.line'),('type', 'in', ['out_credit_note', 'in_credit_note'])]</field>
|
||||
+ </record>
|
||||
+ <record model="ir.action.keyword" id="act_open_credit_notes_keyword1">
|
||||
+ <field name="keyword">form_relate</field>
|
||||
|
@ -38,7 +38,7 @@ Index: ca_ES.xml
|
|||
@@ -1053,6 +1053,10 @@
|
||||
msgid "Invoices"
|
||||
msgstr "Factures"
|
||||
|
||||
|
||||
+msgctxt "model:ir.action,name:act_credit_notes_form"
|
||||
+msgid "Credit Notes"
|
||||
+msgstr "Abonaments"
|
||||
|
@ -56,7 +56,7 @@ Index: ca_ES.xml
|
|||
@@ -1045,6 +1045,10 @@
|
||||
msgid "Invoices"
|
||||
msgstr "Todas las facturas"
|
||||
|
||||
|
||||
+msgctxt "model:ir.action,name:act_credit_notes_form"
|
||||
+msgid "Credit Notes"
|
||||
+msgstr "Abonos"
|
||||
|
|
Loading…
Reference in New Issue