[FIX] hr_contract: order contract_ids by date_start desc in hr_contract_history
Prior to this commit:
* The contract_ids one2many widget in the hr_contract_history form was not sorted
desc.
After this commit:
* The contract_ids one2many widget in the hr_contract_history form is correctly sorted
desc.
related PR's: odoo/enterprise#14647, odoo/upgrade#1939
closes odoo/odoo#61512
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
decoration-primary="state == 'open'"
|
||||
decoration-muted="state == 'close'"
|
||||
decoration-bf="id == parent.contract_id"
|
||||
default_order = "date_start DESC, state DESC"
|
||||
default_order = "date_start desc, state desc"
|
||||
editable="bottom"
|
||||
no_open="1">
|
||||
<button name="action_open_contract_form" type="object" icon="fa-external-link"/>
|
||||
|
||||
Reference in New Issue
Block a user