[FIX]: remove wrong column_invisibility domain in purchase order list view
Currently, when we add many2many field relation with purchase.order in view where view does not have state field, it throws error, it is because purchase.order list view has attrs for column_invisible which parent.state which is wrong, purchase.order will not have parent. With this commit, remove wrongly added column_invisible attrs on invoice_status field. task-2195175 closes odoo/odoo#49416 X-original-commit: 79a738fb7fa852c4e2e9fc127fa63dbc4ffd4a53 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Mohammed Shekha
parent
0d8d36d468
commit
b4d1360ed1
@@ -503,7 +503,7 @@
|
||||
<field name="amount_total" sum="Total amount" widget="monetary" optional="show"/>
|
||||
<field name="currency_id" invisible="1"/>
|
||||
<field name="state" optional="show"/>
|
||||
<field name="invoice_status" attrs="{'column_invisible': [('parent.state', 'not in', ('purchase', 'done'))]}"/>
|
||||
<field name="invoice_status" optional="hide"/>
|
||||
<field name="activity_exception_decoration" widget="activity_exception"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user