[FIX] stock_picking_report_valued: Make visible valued_picking field in customer

This commit is contained in:
sergio-teruel
2020-10-05 14:07:46 +02:00
committed by Ernesto Tejeda
parent 8e2e6b3784
commit 60fd6d6e56
2 changed files with 2 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
{
"name": "Valued Picking Report",
"summary": "Adding Valued Picking on Delivery Slip report",
"version": "13.0.1.0.1",
"version": "13.0.1.1.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-reporting",
"category": "Warehouse Management",

View File

@@ -7,8 +7,7 @@
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='sales_purchases']//field[@name='user_id']" position="after">
<field name="customer_rank" invisible="1"/>
<field name="valued_picking" attrs="{'invisible': [('customer_rank', '>', 0)]}"/>
<field name="valued_picking"/>
</xpath>
</field>
</record>