From 43d99dc00f8e6bad99de2c0a12506c562416a823 Mon Sep 17 00:00:00 2001 From: Juliana Date: Wed, 23 Mar 2022 14:55:34 +0100 Subject: [PATCH] [ADD]Add tare to mayam --- __manifest__.py | 2 +- models/pos_transaction.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/__manifest__.py b/__manifest__.py index 43ef5a6..d964343 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -1,7 +1,7 @@ { "name": "VRACOOP - POS API V2", "summary": "VRACOOP - POS API V2", - "version": "12.1.0.0", + "version": "12.1.1.0", "development_status": "Beta", "author": "Le Filament", "maintainers": ["remi-filament"], diff --git a/models/pos_transaction.py b/models/pos_transaction.py index 24d36e5..2ee47bb 100644 --- a/models/pos_transaction.py +++ b/models/pos_transaction.py @@ -55,7 +55,8 @@ class PosTransaction(models.Model): "seller_name": seller_id.name.name, "seller_code": seller_id.product_code, "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)