mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: improvement invoicing data checks
This commit is contained in:
@@ -92,14 +92,6 @@
|
||||
name="margin_days_autoinvoice"
|
||||
attrs="{'invisible': [('default_invoicing_policy', '=', 'manual')]}"
|
||||
/>
|
||||
<field
|
||||
name="journal_simplified_invoice_id"
|
||||
attrs="{'required': [('default_invoicing_policy', '!=', 'manual')]}"
|
||||
domain="[
|
||||
('type', '=', 'sale'),
|
||||
('company_id','=',company_id),
|
||||
]"
|
||||
/>
|
||||
<field
|
||||
name="journal_normal_invoice_id"
|
||||
attrs="{'required': [('default_invoicing_policy', '!=', 'manual')]}"
|
||||
@@ -108,6 +100,15 @@
|
||||
('company_id','=',company_id),
|
||||
]"
|
||||
/>
|
||||
<field
|
||||
name="journal_simplified_invoice_id"
|
||||
attrs="{'required': [('default_invoicing_policy', '!=', 'manual')]}"
|
||||
domain="[
|
||||
('type', '=', 'sale'),
|
||||
('company_id','=',company_id),
|
||||
]"
|
||||
/>
|
||||
<field name="max_amount_simplified_invoice" />
|
||||
</group>
|
||||
</page>
|
||||
<page string="Email Configuration">
|
||||
|
||||
Reference in New Issue
Block a user