Browse Source

[UPD] README.rst

pull/493/head
OCA-git-bot 4 years ago
parent
commit
00d4f385a6
  1. 15
      pos_price_to_weight/README.rst
  2. 9
      pos_price_to_weight/static/description/index.html

15
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
===========

9
pos_price_to_weight/static/description/index.html

@ -428,9 +428,16 @@ stock quantities.</p>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#id1">Configuration</a></h1>
<ul class="simple">
<li>Go to ‘Point of Sale’ / ‘Configuration’ / ‘Barcode Nomenclatures’</li>
<li>Go to Point of Sale &gt; Configuration &gt; Barcode Nomenclatures</li>
<li>Edit your barcode rules, according to your barcodes settings</li>
<li>Go to Point of Sale &gt; Configuration &gt; Point of Sale</li>
<li>Select the ‘Unit Price’ field that will be used to convert the price to weight.</li>
</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(&quot;product.product&quot;,</span> <span class="pre">['my_custom_field']);</span></tt></p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>

Loading…
Cancel
Save