pos_usability: order pos.payment.method by sequence

This commit is contained in:
Alexis de Lattre
2023-10-19 11:12:09 +02:00
parent a7022e899f
commit 0781cb7ba7
4 changed files with 45 additions and 0 deletions

View File

@@ -8,5 +8,7 @@ from odoo import fields, models
class PosPaymentMethod(models.Model):
_inherit = 'pos.payment.method'
_check_company_auto = True
_order = 'sequence, id'
cash_journal_id = fields.Many2one(check_company=True)
sequence = fields.Integer(default=10)