{ "info": { "author": "GRAP, La Louve, LasLabs, 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 example, 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 'python-barcode' you should install\nto make barcode generation works properly.\n\n``sudo pip install python-barcode``\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/10.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\n* On barcode.rule model, constraint and domain system could be set between\n 'type' and 'generate_model' fields.\n* Cache is being cleared in a constraint in `barcode.rule`. Mutating in a\n constraint is bad practice & should be moved somewhere.\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* Dave Lasley \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": "https://www.odoo-community.org", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo12-addon-barcodes-generator-abstract", "package_url": "https://pypi.org/project/odoo12-addon-barcodes-generator-abstract/", "platform": "", "project_url": "https://pypi.org/project/odoo12-addon-barcodes-generator-abstract/", "project_urls": { "Homepage": "https://www.odoo-community.org" }, "release_url": "https://pypi.org/project/odoo12-addon-barcodes-generator-abstract/12.0.1.0.1.99.dev8/", "requires_dist": [ "barcode", "odoo (<12.1dev,>=12.0a)" ], "requires_python": ">=3.5", "summary": "Generate Barcodes for Any Models", "version": "12.0.1.0.1.99.dev8" }, "last_serial": 6001901, "releases": { "12.0.1.0.1.99.dev4": [ { "comment_text": "", "digests": { "md5": "dfd59a595036946e8430fe8c79d59db0", "sha256": "6bca19156755383ed177843bfb7341f1651e3b2af3cf999ffe58f4d0eb570f58" }, "downloads": -1, "filename": "odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev4-py3-none-any.whl", "has_sig": false, "md5_digest": "dfd59a595036946e8430fe8c79d59db0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 129342, "upload_time": "2019-08-18T04:37:49", "url": "https://files.pythonhosted.org/packages/46/5f/4a512089eeada16bfc70a206b4d443f3c22ae29a0d01df17b56101e83951/odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev4-py3-none-any.whl" } ], "12.0.1.0.1.99.dev5": [ { "comment_text": "", "digests": { "md5": "aa666a8672a0e0aab547af63230d02e4", "sha256": "0847dd1ad69b8532c7847bb05b6d61aeef5370dc3d83d915cd6771aafb9f9d4b" }, "downloads": -1, "filename": "odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev5-py3-none-any.whl", "has_sig": false, "md5_digest": "aa666a8672a0e0aab547af63230d02e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 126835, "upload_time": "2019-08-24T04:37:41", "url": "https://files.pythonhosted.org/packages/1e/03/288505884cf2cd98e435696b7cf9634348cb1831973da6eb465755da6b8e/odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev5-py3-none-any.whl" } ], "12.0.1.0.1.99.dev7": [ { "comment_text": "", "digests": { "md5": "b7644efad7d5399849df2c6efecdcc42", "sha256": "c613d49237a87d479c2940ceeedd580b11af47165f02f27bb4dd21b5e559882b" }, "downloads": -1, "filename": "odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev7-py3-none-any.whl", "has_sig": false, "md5_digest": "b7644efad7d5399849df2c6efecdcc42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 127121, "upload_time": "2019-09-19T04:39:19", "url": "https://files.pythonhosted.org/packages/14/d9/5ec989c6001fcdc4fc0dfacd369f75c7dd3bcefa3c71bb4f3d4ea66a7809/odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev7-py3-none-any.whl" } ], "12.0.1.0.1.99.dev8": [ { "comment_text": "", "digests": { "md5": "a5e7412380e88cd46374c9e1522a642f", "sha256": "966139bb8e9495e14f21bc8aa550651b312811fc065b8f22133ada1598576a0e" }, "downloads": -1, "filename": "odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev8-py3-none-any.whl", "has_sig": false, "md5_digest": "a5e7412380e88cd46374c9e1522a642f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 128393, "upload_time": "2019-10-20T04:38:51", "url": "https://files.pythonhosted.org/packages/fc/b6/114ddd8729cdb1953855fdd80c0e3c5ce358a97aac93119c2c8c9aebede5/odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev8-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5e7412380e88cd46374c9e1522a642f", "sha256": "966139bb8e9495e14f21bc8aa550651b312811fc065b8f22133ada1598576a0e" }, "downloads": -1, "filename": "odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev8-py3-none-any.whl", "has_sig": false, "md5_digest": "a5e7412380e88cd46374c9e1522a642f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 128393, "upload_time": "2019-10-20T04:38:51", "url": "https://files.pythonhosted.org/packages/fc/b6/114ddd8729cdb1953855fdd80c0e3c5ce358a97aac93119c2c8c9aebede5/odoo12_addon_barcodes_generator_abstract-12.0.1.0.1.99.dev8-py3-none-any.whl" } ] }