summaryrefslogtreecommitdiff
path: root/addons/account/views/account_invoice_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/account/views/account_invoice_view.xml')
-rw-r--r--addons/account/views/account_invoice_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml
index 304f8a2bf44..3d15d4556c8 100644
--- a/addons/account/views/account_invoice_view.xml
+++ b/addons/account/views/account_invoice_view.xml
@@ -313,7 +313,7 @@
attrs="{'readonly':[('move_name','!=',False)]}"/>
<field domain="[('partner_id', '=', partner_id)]" name="partner_bank_id" invisible="1"/>
<field name="user_id" string="Responsible"/>
- <field domain="[('company_id', '=', company_id), ('internal_type', '=', 'payable')]"
+ <field domain="[('company_id', '=', company_id), ('internal_type', '=', 'payable'), ('deprecated', '=', False)]"
name="account_id" groups="account.group_account_manager"/>
<field name="name" invisible="1"/>
<field name="payment_term_id" options="{'no_create': True}" attrs="{'invisible': [('payment_term_id','=',False)]}"/>
@@ -456,7 +456,7 @@
<field name="date_due" groups="base.group_no_one"/>
</group>
<group>
- <field domain="[('company_id', '=', company_id),('internal_type','=', 'receivable')]"
+ <field domain="[('company_id', '=', company_id),('internal_type','=', 'receivable'), ('deprecated', '=', False)]"
name="account_id" groups="account.group_account_manager"/>
<field name="origin" groups="base.group_user" attrs="{'invisible': [('origin', '=', False)]}"/>
<field name="name"/>