Browse Source

Fix readme.

pull/491/head
Francois Kawala 5 years ago
committed by Sylvain LE GAL
parent
commit
c895763579
  1. 27
      pos_barcode_tare/README.rst
  2. 2
      pos_barcode_tare/readme/CONTRIBUTORS.rst
  3. 2
      pos_barcode_tare/readme/USAGE.rst
  4. 39
      pos_barcode_tare/static/description/index.html

27
pos_barcode_tare/README.rst

@ -25,29 +25,35 @@ Point of Sale - Tare barecode labels for loose goods
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
This add-on enables POS to read and print tare barcodes. We print a barcode tare label to sell loose goods in a Bring Your Own Container (BYOC) scheme.
This add-on enables POS to read and print tare barcodes. We print a barcode tare label to sell loose goods in a Bring Your Own pot (BYOC) scheme.
The BYOC scheme has four steps:
1. The cashier weighs the container and sticks the tare bar code onto the customer's pot.
2. The customer takes the desired quantity of the goods s-he wants to buy.
3. The cashier weighs the filled container and goods, and POS gives the corresponding price.
4. The cashier scans the tare bar code, and POS removes the container's weight from the latest product of the order.
The BYOC scheme has five steps:
1. The cashier weighs the pot and sticks the tare barcode onto the customer's pot.
2. The customer go and put loose goods into the labeled pot.
3. The cashier weighs the pot with loose goods inside. POS computes the price including the pot.
4. The cashier scans the tare barcode. POS get the pot weight from the barcode. POS subtracts the pot weight from the weight of the latest product. POS sets the billable price for the loose goods.
5. The customer pays.
This add-on adds a news screen to POS to print (web) the tare barcode labels. This add-on enables POS to read a tare barcode. Reading a barcode makes POS adjust the weight of the latest article in the order list. The new weight is equal to the total weight minus the tare weight. The price is updated accordingly to the weight change. This add-on adds a news screen to POS to print (web) the tare barcode labels. This add-on enables POS to read a tare barcode. Reading a barcode makes POS adjust the weight of the latest article in the order list. The new weight is equal to the total weight minus the tare weight. The price is updated accordingly to the weight change.
POS home screen is now: POS home screen is now:
.. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/POS_with_button.png .. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/POS_with_button.png
The label screen is: The label screen is:
.. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/null_weight.png .. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/null_weight.png
When we read a weight the impression button is enabled When we read a weight the impression button is enabled
.. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/ready_to_print.png .. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/ready_to_print.png
A barcode label looks like: A barcode label looks like:
.. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/label.png .. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/label.png
Zoom on the action widget: Zoom on the action widget:
.. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/zoom_action_widget.png .. image:: https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/zoom_action_widget.png
**Table of contents** **Table of contents**
@ -58,12 +64,15 @@ Zoom on the action widget:
Usage Usage
===== =====
Install this add-on and configure the point of sale where you want to be able to use the tare barecode. The label printing is done using web print. To streamline the label printing it is advised to use the silent printing mode (firefox) or the kiosk printing (chrome).
Install this add-on and configure the point of sale where you want to be able to use the tare barecode. Setup the default barcode sequence ID according to your barcode nomenclature. The barcode pattern should be ``XX.....NNDDD`` where XX is the barcode prefix. In the default barcode nomenclature, the weight barcode pattern sequence id is 36 and its prefix is 21. The label printing is done using web print. To streamline the label printing it is advised to use the silent printing mode (firefox) or the kiosk printing (chrome).
The command line to start a chrome base browser in kiosk mode with silent printing looks like:
``chromium-browser --use-system-default-printer --kiosk --kiosk-printing http://localhost:8069/``
Known issues / Roadmap Known issues / Roadmap
====================== ======================
- Use barcode nomenclature instead of hardcoded barcode prefix 21.
- Add french translation. - Add french translation.
Bug Tracker Bug Tracker
@ -88,8 +97,10 @@ Contributors
~~~~~~~~~~~~ ~~~~~~~~~~~~
- Le Nid - Le Nid
- Sylvain LE GAL
- CoopITEasy - CoopITEasy
Maintainers Maintainers
~~~~~~~~~~~ ~~~~~~~~~~~

2
pos_barcode_tare/readme/CONTRIBUTORS.rst

@ -1,2 +1,4 @@
- Le Nid - Le Nid
- Sylvain LE GAL
- CoopITEasy - CoopITEasy

2
pos_barcode_tare/readme/USAGE.rst

@ -1,4 +1,4 @@
Install this add-on and configure the point of sale where you want to be able to use the tare barecode. Setup the default barcode sequence ID according to your barcode nomenclature. The label printing is done using web print. To streamline the label printing it is advised to use the silent printing mode (firefox) or the kiosk printing (chrome).
Install this add-on and configure the point of sale where you want to be able to use the tare barecode. Setup the default barcode sequence ID according to your barcode nomenclature. The barcode pattern should be ``XX.....NNDDD`` where XX is the barcode prefix. In the default barcode nomenclature, the weight barcode pattern sequence id is 36 and its prefix is 21. The label printing is done using web print. To streamline the label printing it is advised to use the silent printing mode (firefox) or the kiosk printing (chrome).
The command line to start a chrome base browser in kiosk mode with silent printing looks like: The command line to start a chrome base browser in kiosk mode with silent printing looks like:

39
pos_barcode_tare/static/description/index.html

@ -368,28 +368,29 @@ ul.auto-toc {
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/pos/tree/9.0/pos_barcode_tare"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/pos-9-0/pos-9-0-pos_barcode_tare"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/184/9.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/pos/tree/9.0/pos_barcode_tare"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/pos-9-0/pos-9-0-pos_barcode_tare"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/184/9.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This add-on enables POS to read and print tare barcodes. We print a barcode tare label to sell loose goods in a Bring Your Own Container (BYOC) scheme.</p>
<p>This add-on enables POS to read and print tare barcodes. We print a barcode tare label to sell loose goods in a Bring Your Own pot (BYOC) scheme.</p>
<dl class="docutils"> <dl class="docutils">
<dt>The BYOC scheme has four steps:</dt>
<dt>The BYOC scheme has five steps:</dt>
<dd><ol class="first last arabic simple"> <dd><ol class="first last arabic simple">
<li>The cashier weighs the container and sticks the tare bar code onto the customer’s pot.</li>
<li>The customer takes the desired quantity of the goods s-he wants to buy.</li>
<li>The cashier weighs the filled container and goods, and POS gives the corresponding price.</li>
<li>The cashier scans the tare bar code, and POS removes the container’s weight from the latest product of the order.</li>
<li>The cashier weighs the pot and sticks the tare barcode onto the customer’s pot.</li>
<li>The customer go and put loose goods into the labeled pot.</li>
<li>The cashier weighs the pot with loose goods inside. POS computes the price including the pot.</li>
<li>The cashier scans the tare barcode. POS get the pot weight from the barcode. POS subtracts the pot weight from the weight of the latest product. POS sets the billable price for the loose goods.</li>
<li>The customer pays.</li>
</ol> </ol>
</dd> </dd>
</dl> </dl>
<p>This add-on adds a news screen to POS to print (web) the tare barcode labels. This add-on enables POS to read a tare barcode. Reading a barcode makes POS adjust the weight of the latest article in the order list. The new weight is equal to the total weight minus the tare weight. The price is updated accordingly to the weight change.</p> <p>This add-on adds a news screen to POS to print (web) the tare barcode labels. This add-on enables POS to read a tare barcode. Reading a barcode makes POS adjust the weight of the latest article in the order list. The new weight is equal to the total weight minus the tare weight. The price is updated accordingly to the weight change.</p>
<p>POS home screen is now:
.. image:: <a class="reference external" href="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/POS_with_button.png">https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/POS_with_button.png</a></p>
<p>The label screen is:
.. image:: <a class="reference external" href="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/null_weight.png">https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/null_weight.png</a></p>
<p>When we read a weight the impression button is enabled
.. image:: <a class="reference external" href="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/ready_to_print.png">https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/ready_to_print.png</a></p>
<p>A barcode label looks like:
.. image:: <a class="reference external" href="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/label.png">https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/label.png</a></p>
<p>Zoom on the action widget:
.. image:: <a class="reference external" href="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/zoom_action_widget.png">https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/zoom_action_widget.png</a></p>
<p>POS home screen is now:</p>
<img alt="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/POS_with_button.png" src="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/POS_with_button.png" />
<p>The label screen is:</p>
<img alt="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/null_weight.png" src="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/null_weight.png" />
<p>When we read a weight the impression button is enabled</p>
<img alt="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/ready_to_print.png" src="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/ready_to_print.png" />
<p>A barcode label looks like:</p>
<img alt="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/label.png" src="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/label.png" />
<p>Zoom on the action widget:</p>
<img alt="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/zoom_action_widget.png" src="https://raw.githubusercontent.com/OCA/pos/9.0/pos_barcode_tare/static/description/zoom_action_widget.png" />
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents"> <div class="contents local topic" id="contents">
<ul class="simple"> <ul class="simple">
@ -406,12 +407,13 @@ ul.auto-toc {
</div> </div>
<div class="section" id="usage"> <div class="section" id="usage">
<h1><a class="toc-backref" href="#id1">Usage</a></h1> <h1><a class="toc-backref" href="#id1">Usage</a></h1>
<p>Install this add-on and configure the point of sale where you want to be able to use the tare barecode. The label printing is done using web print. To streamline the label printing it is advised to use the silent printing mode (firefox) or the kiosk printing (chrome).</p>
<p>Install this add-on and configure the point of sale where you want to be able to use the tare barecode. Setup the default barcode sequence ID according to your barcode nomenclature. The barcode pattern should be <tt class="docutils literal"><span class="pre">XX.....NNDDD</span></tt> where XX is the barcode prefix. In the default barcode nomenclature, the weight barcode pattern sequence id is 36 and its prefix is 21. The label printing is done using web print. To streamline the label printing it is advised to use the silent printing mode (firefox) or the kiosk printing (chrome).</p>
<p>The command line to start a chrome base browser in kiosk mode with silent printing looks like:</p>
<p><tt class="docutils literal"><span class="pre">chromium-browser</span> <span class="pre">--use-system-default-printer</span> <span class="pre">--kiosk</span> <span class="pre">--kiosk-printing</span> <span class="pre">http://localhost:8069/</span></tt></p>
</div> </div>
<div class="section" id="known-issues-roadmap"> <div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1> <h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1>
<ul class="simple"> <ul class="simple">
<li>Use barcode nomenclature instead of hardcoded barcode prefix 21.</li>
<li>Add french translation.</li> <li>Add french translation.</li>
</ul> </ul>
</div> </div>
@ -435,6 +437,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<h2><a class="toc-backref" href="#id6">Contributors</a></h2> <h2><a class="toc-backref" href="#id6">Contributors</a></h2>
<ul class="simple"> <ul class="simple">
<li>Le Nid</li> <li>Le Nid</li>
<li>Sylvain LE GAL</li>
<li>CoopITEasy</li> <li>CoopITEasy</li>
</ul> </ul>
</div> </div>

Loading…
Cancel
Save