Skip to content
Snippets Groups Projects
Commit 39fec4ad authored by Juliana's avatar Juliana
Browse files

[UPD]Change tree order

parent 343c8186
Branches
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@
attrs="{'invisible': [('is_account_active', '=', False)]}"/>
</header>
<field name="acc_sale_price_ids" widget="one2many">
<tree editable="bottom" default_order="acc_injection_id,acc_delivery_id,start_date desc">
<tree editable="bottom" default_order="start_date desc">
<field name="acc_injection_id" />
<field name="acc_delivery_id" />
<field name="start_date" />
......@@ -76,7 +76,7 @@
attrs="{'invisible': [('is_account_active', '=', False)]}"/>
</header>
<field name="acc_sale_price_surplus_ids" widget="one2many">
<tree editable="bottom">
<tree editable="bottom" default_order="start_date desc">
<field name="acc_injection_id" />
<field name="acc_buyer_id" />
<field name="start_date" />
......
......@@ -87,7 +87,7 @@
<field name="name">acc.acc_sale_price_buyer.tree</field>
<field name="model">acc.sale.price.buyer</field>
<field name="arch" type="xml">
<tree string="Prix de vente Acheteur">
<tree string="Prix de vente Acheteur" default_order="start_date desc">
<field name="acc_injection_id"/>
<field name="acc_buyer_id"/>
<field name="start_date"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment