Add credito sale

This commit is contained in:
2024-01-12 22:27:02 +00:00
parent 4756c4468b
commit 04ada1d22c
2 changed files with 3 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ class Sale(metaclass=PoolMeta):
__name__ = 'sale.sale'
pizza_number = fields.Integer("Number pizza")
credito = fields.Boolean("Credito")
total_discount = fields.Function(
Monetary(
"Total Discount", digits='currency', currency='currency'),