Skip to content

Latest commit

 

History

History
 
 

barcodes_generator_partner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
License: AGPL-3

Generate Barcodes for Partners

This module expends Odoo functionality, allowing user to generate barcode depending on a given barcode rule for Partners.

For exemple, 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:

  • Affect 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

Configuration

To configure this module, see the 'Configuration' Section of the description of the module 'barcodes_generator_abstract'

Usage

To use this module, you need to:

  • Go to a Product form (or a template form):
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)'

/barcodes_generator/static/description/res_partner_sequence_generation.png

Try this module on Runbot

Try me on Runbot

Known issues / Roadmap

Dependency to point_of_sale is required because barcode field, defined in 'base' module (in the res.partner model), is defined in a 'point_of_sale' view.

It's a relative problem, because barcodes generation for partners will occures mostly in a Point of Sale context, to give barcodes to customers.

You could comment 'point_of_sale' dependencies if you want to use this module without point of sale installed.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.