François Kawala
5 years ago
6 changed files with 40 additions and 24 deletions
-
3pos_barcode_tare/models/__init__.py
-
14pos_barcode_tare/models/barcode_rule.py
-
9pos_barcode_tare/models/pos_config.py
-
2pos_barcode_tare/readme/USAGE.rst
-
24pos_barcode_tare/static/src/js/pos_barcode_tare.js
-
12pos_barcode_tare/views/pos_config_view.xml
@ -1 +1,2 @@ |
|||
from . import pos_config |
|||
from . import pos_config |
|||
from . import barcode_rule |
@ -0,0 +1,14 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
from openerp import _, models, fields, api |
|||
|
|||
|
|||
class BarcodeRule(models.Model): |
|||
_inherit = 'barcode.rule' |
|||
|
|||
@api.model |
|||
def _get_type_selection(self): |
|||
res = super(BarcodeRule, self)._get_type_selection() |
|||
res.append( |
|||
('tare', _('Tare'))) |
|||
return res |
@ -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 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). |
|||
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). |
|||
|
|||
The command line to start a chrome base browser in kiosk mode with silent printing looks like: |
|||
|
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue