Include sale_stock_show_delivery_address in sale_usability and stock_usability

This commit is contained in:
Alexis de Lattre
2016-11-24 14:18:43 +01:00
parent f16095e343
commit e1f8e95bce
2 changed files with 8 additions and 0 deletions

View File

@@ -20,6 +20,10 @@
<field name="fiscal_position_id" position="attributes">
<attribute name="widget">selection</attribute>
</field>
<field name="partner_shipping_id" position="attributes">
<attribute name="context">{'show_address': 1, 'default_type': 'delivery'}</attribute>
<attribute name="options">{'always_reload': True}</attribute>
</field>
</field>
</record>

View File

@@ -19,6 +19,10 @@
<field name="min_date" position="after">
<field name="date_done" states="done"/>
</field>
<field name="partner_id" position="attributes">
<attribute name="context">{'show_address': 1}</attribute>
<attribute name="options">{'always_reload': True}</attribute>
</field>
<!-- Maybe it's usefull to always display stock pack operations...
or maybe only for debugging... I haven't decided yet !
<page string="Operations" position="attributes">