[IMP] account: Sort account.account by code & company
Tests about financial reports could be not determinist because the tests are made using two companies having the same chart of accounts. closes odoo/odoo#42226 Related: odoo/enterprise#6432 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
@@ -333,7 +333,7 @@ class AccountTaxReportLine(models.Model):
|
||||
class AccountAccount(models.Model):
|
||||
_name = "account.account"
|
||||
_description = "Account"
|
||||
_order = "code"
|
||||
_order = "code, company_id"
|
||||
|
||||
@api.constrains('internal_type', 'reconcile')
|
||||
def _check_reconcile(self):
|
||||
|
||||
Reference in New Issue
Block a user