[FIX] account: Financial Report not sorted the right way. Courtesy of be-cloud-js. PR #11485

This commit is contained in:
qdp-odoo
2016-04-11 18:18:12 +02:00
parent 5089cb8599
commit 9807ff8a91
3 changed files with 28 additions and 1 deletions
@@ -28,7 +28,8 @@ class account_financial_report(models.Model):
res = self
children = self.search([('parent_id', 'in', self.ids)], order='sequence ASC')
if children:
res += children._get_children_by_order()
for child in children:
res += child._get_children_by_order()
return res
name = fields.Char('Report Name', required=True, translate=True)
+15
View File
@@ -0,0 +1,15 @@
Belgium, 2016-02-06
be-cloud.be agrees to the terms of the Odoo Corporate Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Jerome Sonnet jerome.sonnet@be-cloud.be https://github.com/be-cloud-js
List of contributors:
Jerome Sonnet jerome.sonnet@be-cloud.be https://github.com/be-cloud-js
+11
View File
@@ -0,0 +1,11 @@
Belgium, 2016-02-06
I hereby agree to the terms of the Odoo Individual Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Jerome Sonnet jerome.sonnet@be-cloud.be https://github.com/be-cloud-js