mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] - do not copy last_date_invoiced on plan_successor
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
94f8b04950
commit
4e359d38c4
@@ -506,6 +506,7 @@ class AccountAnalyticInvoiceLine(models.Model):
|
||||
)
|
||||
new_vals = self.read()[0]
|
||||
new_vals.pop("id", None)
|
||||
new_vals.pop("last_date_invoiced", None)
|
||||
values = self._convert_to_write(new_vals)
|
||||
values['date_start'] = date_start
|
||||
values['date_end'] = date_end
|
||||
|
||||
Reference in New Issue
Block a user