mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] account_exception: minor corrections after code review
H11044
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<field name="description">No phone number on customer</field>
|
||||
<field name="sequence">50</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="code">failed = journal_entry.move_type == 'out_invoice' and not journal_entry.partner_id.phone</field>
|
||||
<field name="code">failed = self.move_type == 'out_invoice' and not self.partner_id.phone</field>
|
||||
<field name="active" eval="True"/>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user