[MIG] stock_demand_estimate_matrix: Migration to 13.0

This commit is contained in:
ps-tubtim
2020-03-23 17:24:08 +07:00
committed by davidborromeo
parent 43029dcce0
commit 244b223e66
10 changed files with 37 additions and 45 deletions

View File

@@ -11,7 +11,6 @@ class DateRange(models.Model):
string="Days between dates", compute="_compute_days", readonly=True,
)
@api.multi
@api.depends("date_start", "date_end")
def _compute_days(self):
for rec in self.filtered(lambda x: x.date_start and x.date_end):