[IMP] update pre-commit

This commit is contained in:
JordiMForgeFlow
2023-07-06 16:50:56 +02:00
parent ddd0ff6f37
commit 6c496c114a
16 changed files with 92 additions and 78 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 {