Skip to content

Commit

Permalink
[FIX][8.0-i181-BR001028-T22316] BR ordering on Tree view (OCA#201)
Browse files Browse the repository at this point in the history
* [FIX] Fixed order in tree view.

* [FIX] Fixed order
  • Loading branch information
sudhir-serpentcs authored and Victor Martin committed Jun 26, 2019
1 parent 751c801 commit 3881d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion business_requirement/models/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class BusinessRequirement(models.Model):
_inherit = ['mail.thread', 'ir.needaction_mixin']
_name = "business.requirement"
_description = "Business Requirement"
_order = 'id desc, name desc'
_order = 'name desc'

@api.model
def _get_default_company(self):
Expand Down

0 comments on commit 3881d60

Please sign in to comment.