diff --git a/pos_price_to_weight/README.rst b/pos_price_to_weight/README.rst index 6d0ae010..f81b20f6 100644 --- a/pos_price_to_weight/README.rst +++ b/pos_price_to_weight/README.rst @@ -80,9 +80,22 @@ if {NNNDD} is 00810, the price is so 8,10€ and the according quantity is Configuration ============= -* Go to 'Point of Sale' / 'Configuration' / 'Barcode Nomenclatures' +* Go to Point of Sale > Configuration > Barcode Nomenclatures * Edit your barcode rules, according to your barcodes settings +* Go to Point of Sale > Configuration > Point of Sale +* Select the 'Unit Price' field that will be used to convert the price to weight. + +.. image:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_price_to_weight/static/description/pos_config_form.png + :width: 800 px + +**Note:** + +By default, this is the field ``list_price`` that will be used. +If you want to use a custom field, it should be loaded in the javascript file calling + +``models.load_fields("product.product", ['my_custom_field']);`` + Bug Tracker =========== diff --git a/pos_price_to_weight/static/description/index.html b/pos_price_to_weight/static/description/index.html index acb217dd..8b755273 100644 --- a/pos_price_to_weight/static/description/index.html +++ b/pos_price_to_weight/static/description/index.html @@ -428,9 +428,16 @@ stock quantities.

Configuration

+https://raw.githubusercontent.com/OCA/pos/12.0/pos_price_to_weight/static/description/pos_config_form.png +

Note:

+

By default, this is the field list_price that will be used. +If you want to use a custom field, it should be loaded in the javascript file calling

+

models.load_fields("product.product", ['my_custom_field']);

Bug Tracker