{ "info": { "author": "GRAP,La Louve,Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n===========================================\nGenerate Barcodes for any Models (Abstract)\n===========================================\n\nThis module expends Odoo functionality, allowing user to generate barcode\ndepending on a given barcode rule for any Model.\n\nFor exemple, a typical pattern for products is \"20.....{NNNDD}\" that means\nthat:\n* the EAN13 code will begin by '20'\n* followed by 5 digits (named Barcode Base in this module)\n* and after 5 others digits to define the variable price\n* a 13 digit control\n\nWith this module, it is possible to:\n\n* Affect a pattern (barcode.rule) to a model\n\n* Define a Barcode base: \n * manually, if the base of the barcode must be set by a user. (typically an\n internal code defined in your company)\n * automaticaly by a sequence, if you want to let Odoo to increment a\n sequence. (typical case of a customer number incrementation)\n\n* Generate a barcode, based on the defined pattern and the barcode base\n\nInstallation\n============\n\nThis module use an extra python library named 'viivakoodi' you should install\nto make barcode generation works properly. 'viivakoodi' is a more active for of\n'pyBarcode'.\n\n``sudo pip install viivakoodi``\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n* Go to Settings / Technical / Sequences & Identifiers / Barcode Nomenclatures\n* Select a Nomenclature\n* Create or select a rule\n\n.. image:: /barcodes_generator_abstract/static/description/barcode_rule_tree.png\n\n* For manual generation, set:\n * 'Base set Manually' in 'Generate Type'\n * Set the model\n\n.. image:: /barcodes_generator_abstract/static/description/barcode_rule_form_manual.png\n\n* For automatic generation, set:\n * 'Base managed by Sequence' in 'Generate Type'\n * Set the model\n * Generate a new sequence by button, or affect a existing one\n\n.. image:: /barcodes_generator_abstract/static/description/barcode_rule_form_sequence.png\n\nIn all cases, padding will be computed automaticaly, based on the number\nof '.' in the Barcode Pattern field.\n\nUsage\n=====\n\nThis module is an abstract module. You can configure Barcode Rule, but to\nenable this feature, you need to install an extra module for a given model.\nThis repository provide 'barcodes_generator_product' and\n'barcodes_generator_partner' module to generate barcode for product or partner\nmodel.\n\nAlternatively, you can develop a custom module for a custom model. See\n'Inheritance' parts.\n\nTry this module on Runbot\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/150/9.0\n\nInheritance\n===========\n\nIf you want to generate barcode for another model, you can create a custom\nmodule that inherits on 'barcodes_generator_abstract' and inherit your model\nlike that:\n\nclass MyModel(models.Model):\n _name = 'my.model'\n _inherit = ['my.model', 'barcode.generate.mixin']\n\nclass barcode_rule(models.Model):\n _inherit = 'barcode.rule'\n\n generate_model = fields.Selection(selection_add=[('my.model', 'My Model')])\n\nFinally, you should inherit your model view adding buttons and fields.\n\nNote\n----\n\nYour model should have a field 'barcode' defined.\n\nKnown issues / Roadmap\n======================\n\n1. On barcode.rule model, constraint and domain system could be set between\n'type' and 'generate_model' fields.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble,\nplease check there if your issue has already been reported. If you spotted it\nfirst, help us smashing it by providing a detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Icon of the module is based on the Oxygen Team work and is under LGPL licence:\n http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org.html\n\nContributors\n------------\n\n* Sylvain LE GAL (https://twitter.com/legalsylvain)\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.odoo-community.org", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo9-addon-barcodes-generator-abstract", "package_url": "https://pypi.org/project/odoo9-addon-barcodes-generator-abstract/", "platform": "", "project_url": "https://pypi.org/project/odoo9-addon-barcodes-generator-abstract/", "project_urls": { "Homepage": "http://www.odoo-community.org" }, "release_url": "https://pypi.org/project/odoo9-addon-barcodes-generator-abstract/9.0.1.0.0.99.dev7/", "requires_dist": [ "barcode", "odoo (<9.1a,>=9.0a)" ], "requires_python": "~=2.7", "summary": "Generate Barcodes for Any Models", "version": "9.0.1.0.0.99.dev7" }, "last_serial": 3994457, "releases": { "9.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "7fce4c2c7eb02a6ee2d92f7695e2873c", "sha256": "3701dba141c89c339270e9f36280d75556526a7bda876a59a241401012cde910" }, "downloads": -1, "filename": "odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "7fce4c2c7eb02a6ee2d92f7695e2873c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 101272, "upload_time": "2017-04-11T18:05:13", "url": "https://files.pythonhosted.org/packages/b8/68/dc72fff150a6d65b8ace6590818b6aebbf38f29fd536c12577f7a651ddaa/odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev4-py2-none-any.whl" } ], "9.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "2689bf678e78617e73b69f3accaf1195", "sha256": "e0bf43b1f19e88ee14d7b37db659d3738170d69abd477ee02a97b6e4b3344c4d" }, "downloads": -1, "filename": "odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev5-py2-none-any.whl", "has_sig": false, "md5_digest": "2689bf678e78617e73b69f3accaf1195", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 121081, "upload_time": "2017-04-11T18:05:18", "url": "https://files.pythonhosted.org/packages/d8/64/a29e8e7682c8278dc8c0a6f72b9922ac79b81692de3d3d7e636ff61af78f/odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev5-py2-none-any.whl" } ], "9.0.1.0.0.99.dev6": [ { "comment_text": "", "digests": { "md5": "136af44bc416cbd01bbe19c14317e353", "sha256": "3f600ed89604d2d26616e219b7f3a3b3533a794257beeb854dcaa69c8d68f6bc" }, "downloads": -1, "filename": "odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev6-py2-none-any.whl", "has_sig": false, "md5_digest": "136af44bc416cbd01bbe19c14317e353", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 121156, "upload_time": "2017-04-11T18:05:21", "url": "https://files.pythonhosted.org/packages/e3/50/fb15b9b5485629d05f66363484d9bd7a658b598b5bb7c93c765007ad4e82/odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev6-py2-none-any.whl" } ], "9.0.1.0.0.99.dev7": [ { "comment_text": "", "digests": { "md5": "055570adf6343ed6d7699c70c0b8e5a7", "sha256": "a693322e626e7cb693f2ed2b77b5a784395aaa3a2bdb2bf6d8b2faee071c0031" }, "downloads": -1, "filename": "odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev7-py2-none-any.whl", "has_sig": false, "md5_digest": "055570adf6343ed6d7699c70c0b8e5a7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 122539, "upload_time": "2018-06-24T04:38:45", "url": "https://files.pythonhosted.org/packages/e4/57/0f13e64bc4289f8bf1f6826512ee18f2b0e0d29c9d72685fcebb1965fada/odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev7-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "055570adf6343ed6d7699c70c0b8e5a7", "sha256": "a693322e626e7cb693f2ed2b77b5a784395aaa3a2bdb2bf6d8b2faee071c0031" }, "downloads": -1, "filename": "odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev7-py2-none-any.whl", "has_sig": false, "md5_digest": "055570adf6343ed6d7699c70c0b8e5a7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 122539, "upload_time": "2018-06-24T04:38:45", "url": "https://files.pythonhosted.org/packages/e4/57/0f13e64bc4289f8bf1f6826512ee18f2b0e0d29c9d72685fcebb1965fada/odoo9_addon_barcodes_generator_abstract-9.0.1.0.0.99.dev7-py2-none-any.whl" } ] }