Compare commits
2 Commits
de95b5c996
...
ee13006322
| Author | SHA1 | Date | |
|---|---|---|---|
| ee13006322 | |||
| c9e50bb844 |
1
sale.py
1
sale.py
@@ -173,6 +173,7 @@ class Sale(metaclass=PoolMeta):
|
||||
data["untaxed_amount"] = str(record.untaxed_amount)
|
||||
data["tax_amount"] = str(record.tax_amount)
|
||||
data["total"] = str(record.total_amount)
|
||||
data["state"] = "SUBTOTAL" if record.state == "draft" else "CUENTA FINAL"
|
||||
|
||||
if record.payments:
|
||||
data['payments'] = [{
|
||||
|
||||
Reference in New Issue
Block a user