[MIG] sale_confirm_wizard and sale_quotation_title
Update sale_usability to take advantage of base_view_inheritance_extension in v16
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
'depends': [
|
||||
'sale',
|
||||
# 'account_usability', # for company view
|
||||
# 'base_view_inheritance_extension',
|
||||
'base_view_inheritance_extension',
|
||||
],
|
||||
'data': [
|
||||
'views/sale_order.xml',
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
<field name="fiscal_position_id" position="attributes">
|
||||
<attribute name="widget">selection</attribute>
|
||||
</field>
|
||||
<!-- TODO uncomment when base_extended_view is avail on v16
|
||||
<field name="partner_shipping_id" position="attributes">
|
||||
<attribute name="context" operation="python_dict" key="show_address">1</attribute>
|
||||
</field> -->
|
||||
<attribute name="context" operation="update">{"show_address": 1}</attribute>
|
||||
</field>
|
||||
<button name="action_cancel" type="object" position="attributes">
|
||||
<attribute name="confirm">Are you sure you want to cancel this sale order?</attribute>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user