|
@ -428,9 +428,16 @@ stock quantities.</p> |
|
|
<div class="section" id="configuration"> |
|
|
<div class="section" id="configuration"> |
|
|
<h1><a class="toc-backref" href="#id1">Configuration</a></h1> |
|
|
<h1><a class="toc-backref" href="#id1">Configuration</a></h1> |
|
|
<ul class="simple"> |
|
|
<ul class="simple"> |
|
|
<li>Go to ‘Point of Sale’ / ‘Configuration’ / ‘Barcode Nomenclatures’</li> |
|
|
|
|
|
|
|
|
<li>Go to Point of Sale > Configuration > Barcode Nomenclatures</li> |
|
|
<li>Edit your barcode rules, according to your barcodes settings</li> |
|
|
<li>Edit your barcode rules, according to your barcodes settings</li> |
|
|
|
|
|
<li>Go to Point of Sale > Configuration > Point of Sale</li> |
|
|
|
|
|
<li>Select the ‘Unit Price’ field that will be used to convert the price to weight.</li> |
|
|
</ul> |
|
|
</ul> |
|
|
|
|
|
<img alt="https://raw.githubusercontent.com/OCA/pos/12.0/pos_price_to_weight/static/description/pos_config_form.png" src="https://raw.githubusercontent.com/OCA/pos/12.0/pos_price_to_weight/static/description/pos_config_form.png" style="width: 800px;" /> |
|
|
|
|
|
<p><strong>Note:</strong></p> |
|
|
|
|
|
<p>By default, this is the field <tt class="docutils literal">list_price</tt> that will be used. |
|
|
|
|
|
If you want to use a custom field, it should be loaded in the javascript file calling</p> |
|
|
|
|
|
<p><tt class="docutils literal"><span class="pre">models.load_fields("product.product",</span> <span class="pre">['my_custom_field']);</span></tt></p> |
|
|
</div> |
|
|
</div> |
|
|
<div class="section" id="bug-tracker"> |
|
|
<div class="section" id="bug-tracker"> |
|
|
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1> |
|
|
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1> |
|
|