[MIG] base_global_discount: Migration to 14.0

This commit is contained in:
Omar (Comunitea)
2021-08-23 12:15:58 +02:00
committed by Kiril Vangelovski
parent 4081b81fe5
commit d0f1b22def
7 changed files with 8 additions and 55 deletions

View File

@@ -30,11 +30,11 @@ class GlobalDiscount(models.Model):
return result
def _get_global_discount_vals(self, base, **kwargs):
""" Prepare the dict of values to create to obtain the discounted
amount
"""Prepare the dict of values to create to obtain the discounted
amount
:param float base: the amount to discount
:return: dict with the discounted amount
:param float base: the amount to discount
:return: dict with the discounted amount
"""
self.ensure_one()
return {