Add credito sale
This commit is contained in:
parent
4756c4468b
commit
04ada1d22c
1
sale.py
1
sale.py
@ -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'),
|
||||
|
@ -16,5 +16,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
position="after">
|
||||
<label name="total_discount"/>
|
||||
<field name="total_discount"/>
|
||||
<label name="credito"/>
|
||||
<field name="credito"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
Loading…
Reference in New Issue
Block a user