[IMP] account: It is better to order also by 'id', esp. when 'sequence' could match among multiple records.
This commit is contained in:
@@ -1374,7 +1374,7 @@ class AccountPaymentTerm(models.Model):
|
||||
class AccountPaymentTermLine(models.Model):
|
||||
_name = "account.payment.term.line"
|
||||
_description = "Payment Term Line"
|
||||
_order = "sequence"
|
||||
_order = "sequence, id"
|
||||
|
||||
value = fields.Selection([
|
||||
('balance', 'Balance'),
|
||||
|
||||
Reference in New Issue
Block a user