Browse Source

[FIX] - do not copy last_date_invoiced on plan_successor

pull/207/head
sbejaoui 6 years ago
parent
commit
62fc475735
  1. 1
      contract/models/contract_line.py

1
contract/models/contract_line.py

@ -506,6 +506,7 @@ class AccountAnalyticInvoiceLine(models.Model):
) )
new_vals = self.read()[0] new_vals = self.read()[0]
new_vals.pop("id", None) new_vals.pop("id", None)
new_vals.pop("last_date_invoiced", None)
values = self._convert_to_write(new_vals) values = self._convert_to_write(new_vals)
values['date_start'] = date_start values['date_start'] = date_start
values['date_end'] = date_end values['date_end'] = date_end

Loading…
Cancel
Save