[MIG] sale_planner: to Odoo 13.0

This commit is contained in:
Jared Kipe
2020-10-31 12:50:08 -07:00
committed by Leo Pinedo
parent 13b751b33d
commit 2dbfd2eee7
8 changed files with 45 additions and 44 deletions

View File

@@ -8,7 +8,6 @@ class ProductTemplate(models.Model):
string="Order Planner Policy",
help="The Order Planner Policy to use when making a sale order planner.")
@api.multi
def get_planning_policy(self):
self.ensure_one()
return self.property_planning_policy_id or self.categ_id.property_planning_policy_categ_id