[MIG] account_payment_order: Migration to 15.0

This commit is contained in:
Marçal Isern
2021-12-14 18:53:42 +01:00
committed by Pedro M. Baeza
parent ed5c2d0c3f
commit ad9f376b29
14 changed files with 223 additions and 124 deletions

View File

@@ -33,11 +33,10 @@ class AccountPaymentLineCreate(models.TransientModel):
string="Type of Date Filter",
required=True,
)
due_date = fields.Date(string="Due Date")
move_date = fields.Date(string="Move Date", default=fields.Date.context_today)
due_date = fields.Date()
move_date = fields.Date(default=fields.Date.context_today)
payment_mode = fields.Selection(
selection=[("same", "Same"), ("same_or_null", "Same or Empty"), ("any", "Any")],
string="Payment Mode",
)
move_line_ids = fields.Many2many(
comodel_name="account.move.line", string="Move Lines"