Browse Source

[ADD]Add tare to mayam

12.0
Juliana 3 years ago
parent
commit
43d99dc00f
  1. 2
      __manifest__.py
  2. 3
      models/pos_transaction.py

2
__manifest__.py

@ -1,7 +1,7 @@
{ {
"name": "VRACOOP - POS API V2", "name": "VRACOOP - POS API V2",
"summary": "VRACOOP - POS API V2", "summary": "VRACOOP - POS API V2",
"version": "12.1.0.0",
"version": "12.1.1.0",
"development_status": "Beta", "development_status": "Beta",
"author": "Le Filament", "author": "Le Filament",
"maintainers": ["remi-filament"], "maintainers": ["remi-filament"],

3
models/pos_transaction.py

@ -55,7 +55,8 @@ class PosTransaction(models.Model):
"seller_name": seller_id.name.name, "seller_name": seller_id.name.name,
"seller_code": seller_id.product_code, "seller_code": seller_id.product_code,
"ean13_product": transaction.product_id.barcode, "ean13_product": transaction.product_id.barcode,
"ean13_weight_product": transaction.ean13
"ean13_weight_product": transaction.ean13,
"tare": transaction.weight_tare
} }
list_transaction.append(data_transaction) list_transaction.append(data_transaction)

Loading…
Cancel
Save