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'
|
__name__ = 'sale.sale'
|
||||||
|
|
||||||
pizza_number = fields.Integer("Number pizza")
|
pizza_number = fields.Integer("Number pizza")
|
||||||
|
credito = fields.Boolean("Credito")
|
||||||
total_discount = fields.Function(
|
total_discount = fields.Function(
|
||||||
Monetary(
|
Monetary(
|
||||||
"Total Discount", digits='currency', currency='currency'),
|
"Total Discount", digits='currency', currency='currency'),
|
||||||
|
@ -16,5 +16,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
position="after">
|
position="after">
|
||||||
<label name="total_discount"/>
|
<label name="total_discount"/>
|
||||||
<field name="total_discount"/>
|
<field name="total_discount"/>
|
||||||
|
<label name="credito"/>
|
||||||
|
<field name="credito"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user