[FIX] account: reversal_date accrued_orders wizard

Before this commit, the field reversal_date was not stored, which lead to inconsistent behaviour when creating entries, as the reversal date was always recompute with the default value.

opw-2722435

closes odoo/odoo#82445

Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
Guillaume (guva)
2022-01-26 08:48:39 +00:00
parent c313c100d5
commit beaae97201
+2
View File
@@ -38,6 +38,8 @@ class AccruedExpenseRevenue(models.TransientModel):
compute="_compute_reversal_date",
required=True,
readonly=False,
store=True,
precompute=True,
)
amount = fields.Monetary(string='Amount', help="Specify an arbitrary value that will be accrued on a \
default account for the entire order, regardless of the products on the different lines.")