diff --git a/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py b/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py index 93357c1a05..a525b789ea 100644 --- a/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py +++ b/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py @@ -91,7 +91,7 @@ "type": "str", "length": 5, "dp": False, - "dict_key": "product_uom_wamas_code", + "dict_key": "code", "df_val": False, "df_func": False, }, @@ -139,7 +139,7 @@ "type": "str", "length": 5, "dp": False, - "dict_key": "product_uom_wamas_code", + "dict_key": "code", "df_val": False, "df_func": False, }, diff --git a/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict b/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict index 1660c3a06a..f2ec6c82c1 100644 --- a/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict +++ b/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict @@ -4,6 +4,6 @@ "height": 50, "weight": 1, "length": 10, - "product_uom_wamas_code": "HAR", + "code": "CART", "game_identifier": "N", } diff --git a/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas b/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas index 6bc3c009a4..a6f2c46af6 100644 --- a/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas +++ b/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas @@ -1 +1 @@ -ODOO WAMAS 00000120231221051251ARTE00051000223 224 225 00000000010000055000050HAR 000000000001000000 HAR 000000000000000000000000 000000000000000000000000N1000000000001000NNN \ No newline at end of file +ODOO WAMAS 00000120231221051251ARTE00051000223 224 225 00000000010000055000050CART 000000000001000000 CART 000000000000000000000000 000000000000000000000000N1000000000001000NNN \ No newline at end of file