[IMP] account_exception: changes ready for gui

H11044
This commit is contained in:
Jorge Che
2022-09-29 23:41:18 +00:00
parent 9586c20f43
commit 8a09a73afa
10 changed files with 81 additions and 47 deletions

View File

@@ -6,8 +6,8 @@
<field name="description">No phone number on customer</field>
<field name="sequence">50</field>
<field name="model">account.move</field>
<field name="code">if not invoice.partner_id.phone: failed=True</field>
<field name="active" eval="False"/>
<field name="code">if journal_entry.move_type == 'out_customer' and not journal_entry.partner_id.phone: failed=True</field>
<field name="active" eval="True"/>
</record>
</odoo>