summaryrefslogtreecommitdiff
path: root/addons/account/views/account_invoice_view.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-12-10 13:05:58 +0100
committerChristophe Simonis <chs@odoo.com>2015-12-10 13:05:58 +0100
commit82a495eed52a9f42e5b88caa52c20a85f8d81ce3 (patch)
tree6c5e8cc0247d5fe08d24e9abae38fe353fbebc56 /addons/account/views/account_invoice_view.xml
parent0bc2ddae784bf80c4c809d8b7f6d642d576f92a1 (diff)
parent4022493c0b85f966e499b6c03ac7cce5556f15e6 (diff)
[MERGE] forward port of branch saas-7 up to 4022493
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"/>