add barcode_generator_partner from OCA/stock-logistics-barcode/pull/536

This commit is contained in:
Luis 2025-03-03 10:16:19 +01:00
parent 8d39b937a8
commit 7c8d1e4342
27 changed files with 1581 additions and 16 deletions

View file

@ -0,0 +1 @@
* To configure this module, see the 'Configuration' Section of the description of the module 'barcodes_generator_abstract'

View file

@ -0,0 +1,4 @@
* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Dave Lasley <dave@laslabs.com>
* Druidoo (https://druidoo.io)
* Armand POLMARD (https://github.com/ArPol-developpement)

View file

@ -0,0 +1,21 @@
This module expands Odoo functionality, allowing user to generate barcode
depending on a given barcode rule for Partners.
For example, a typical pattern for partners is "042........." that means
that:
* the EAN13 code will begin by '042'
* followed by 0 digits (named Barcode Base in this module)
* a 13 digit control
With this module, it is possible to:
* Assign a pattern (barcode.rule) to a res.partner
* Define a Barcode base:
* manually, if the base of the barcode must be set by a user. (typically an
internal code defined in your company)
* automaticaly by a sequence, if you want to let Odoo to increment a
sequence. (typical case of a customer number incrementation)
* Generate a barcode, based on the defined pattern and the barcode base

View file

@ -0,0 +1,16 @@
To use this module, you need to:
* Go to a Customer/Contact form, Sales & Purchases Tab:
1 for manual generation
* Set a Barcode Rule
* Set a Barcode Base
* click on the button 'Generate Barcode (Using Barcode Rule)'
2 for automatic generation
* Set a Barcode Rule
* click on the button 'Generate Base (Using Sequence)'
* click on the button 'Generate Barcode (Using Barcode Rule)'
.. image:: /barcodes_generator_partner/static/description/res_partner_sequence_generation.png
:width: 1100px