From 00d4f385a6d341c3bfd25b29ec3b4abd80ce1928 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Thu, 7 May 2020 07:47:40 +0000
Subject: [PATCH] [UPD] README.rst
---
pos_price_to_weight/README.rst | 15 ++++++++++++++-
pos_price_to_weight/static/description/index.html | 9 ++++++++-
2 files changed, 22 insertions(+), 2 deletions(-)
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.
-- 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.
+
+
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']);