[IMP] rma: date_rma in lines

This commit is contained in:
AaronHForgeFlow
2023-10-27 11:49:33 +02:00
committed by Carlos Vallés Fuster
parent ee0d1fda11
commit fe1bcddd74
3 changed files with 30 additions and 2 deletions

View File

@@ -263,7 +263,7 @@ class RmaOrderLine(models.Model):
states={"draft": [("readonly", False)]},
help="Reference of the document that produced this rma.",
)
date = fields.Datetime(
date_rma = fields.Datetime(
string="Order Date", index=True, default=lambda self: self._default_date_rma()
)
state = fields.Selection(