Skip to content

Commit 877ea28

Browse files
[MIG] update doc
1 parent 654a98b commit 877ea28

File tree

8 files changed

+17
-6
lines changed

8 files changed

+17
-6
lines changed

pos_tare/README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ Usage
5454

5555
Install this add-on and configure your point of sale. To enable this addon, go to your point of sale configuration page. There, enable the electronic scale and barcode reader in the "IoT Box" section. In the same page, look up for the "Tare input method" field, and choose a tare method. There are three tare methods:
5656

57-
- "manual": you'll set the tare value when you weight the product;
58-
- "barcode": you'll scan the tare value from a barcode;
59-
- "both": you can both of the above.
57+
- "manual": you'll set the tare value when you weight the product;
58+
- "barcode": you'll scan the tare value from a barcode;
59+
- "both": you can both of the above.
60+
61+
.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_tare/static/description/pos_config.png
62+
6063

6164
To generate a tare barcode you need to use the default barcode nomenclature. The default barcode pattern is `0700000{NNDDD}`. Using that pattern, the barcode for a tare of 0.1kg is `0700000001006`. The `pos_tare_barcode_generator` allows you to create tare labels right from the POS.
6265

pos_tare/readme/USAGE.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
Install this add-on and configure your point of sale. To enable this addon, go to your point of sale configuration page. There, enable the electronic scale and barcode reader in the "IoT Box" section. In the same page, look up for the "Tare input method" field, and choose a tare method. There are three tare methods:
22

3-
- "manual": you'll set the tare value when you weight the product;
4-
- "barcode": you'll scan the tare value from a barcode;
5-
- "both": you can both of the above.
3+
- "manual": you'll set the tare value when you weight the product;
4+
- "barcode": you'll scan the tare value from a barcode;
5+
- "both": you can both of the above.
6+
7+
.. figure:: ../static/description/pos_config.png
8+
69

710
To generate a tare barcode you need to use the default barcode nomenclature. The default barcode pattern is `0700000{NNDDD}`. Using that pattern, the barcode for a tare of 0.1kg is `0700000001006`. The `pos_tare_barcode_generator` allows you to create tare labels right from the POS.
811

pos_tare/static/description/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,16 @@ <h1 class="title">Point Of Sale - Tare</h1>
400400
<div class="section" id="usage">
401401
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
402402
<p>Install this add-on and configure your point of sale. To enable this addon, go to your point of sale configuration page. There, enable the electronic scale and barcode reader in the “IoT Box” section. In the same page, look up for the “Tare input method” field, and choose a tare method. There are three tare methods:</p>
403+
<blockquote>
403404
<ul class="simple">
404405
<li>“manual”: you’ll set the tare value when you weight the product;</li>
405406
<li>“barcode”: you’ll scan the tare value from a barcode;</li>
406407
<li>“both”: you can both of the above.</li>
407408
</ul>
409+
</blockquote>
410+
<div class="figure">
411+
<img alt="https://raw.githubusercontent.com/OCA/pos/16.0/pos_tare/static/description/pos_config.png" src="https://raw.githubusercontent.com/OCA/pos/16.0/pos_tare/static/description/pos_config.png" />
412+
</div>
408413
<p>To generate a tare barcode you need to use the default barcode nomenclature. The default barcode pattern is <cite>0700000{NNDDD}</cite>. Using that pattern, the barcode for a tare of 0.1kg is <cite>0700000001006</cite>. The <cite>pos_tare_barcode_generator</cite> allows you to create tare labels right from the POS.</p>
409414
<p>you can define a default tare on the product form view, if you always use the same type of packaging (or container) for a given product.</p>
410415
<div class="figure">
178 KB
Loading
82.5 KB
Loading
32.3 KB
Loading
37.8 KB
Loading
63.1 KB
Loading

0 commit comments

Comments
 (0)