[ADD]sale_usability_misc:show date_order even not in dev mode

This commit is contained in:
2024-10-29 11:56:22 +01:00
parent d7cbea0ce5
commit 27ce85cb9b
34 changed files with 703 additions and 797 deletions

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_order_form_inherit" model="ir.ui.view">
<field name="name">view_order_form_inherit</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<xpath expr="//group[@name='order_details']/div[@class='o_td_label' and @groups='base.group_no_one']" position="attributes">
<attribute name="groups">sales_team.group_sale_manager</attribute>
</xpath>
<xpath expr="//group[@name='order_details']/field[@name='date_order' and @groups='base.group_no_one']" position="attributes">
<attribute name="groups">sales_team.group_sale_manager</attribute>
</xpath>
</field>
</record>
</odoo>