Add missing forth argument in invoice relate
As it uses the Reference field origin, it needs the extra argument which was wrongly dropped by changeset f98f9e94e160 issue6376 review27221002
This commit is contained in:
1 parent
4cd7175fb9
commit
58d37f2eb7
1 file changed
+1
-1
@@ -97,7 +97,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">Invoices</field>
|
||||
<field name="res_model">account.invoice</field>
|
||||
<field name="domain"
|
||||
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('lines.origin.sale.id', '=', Eval('active_id')), ('lines.origin.sale.id', 'in', Eval('active_ids')))]"
|
||||
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('lines.origin.sale.id', '=', Eval('active_id'), 'sale.line'), ('lines.origin.sale.id', 'in', Eval('active_ids'), 'sale.line'))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword"
|
||||
|
||||
Reference in new issue
Block a user