{ "info": { "author": "AvancOSC,Shine IT,Tecnativa,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\n :alt: License: AGPL-3\n\n============================\nProduct Variant Default Code\n============================\n\nThis module automatically generate Product Reference (default_code)\naccording to attributes data with a configurable behavior.\n\nIt defines a reference mask on the product templates so the\nvariants references are automatically set. For example:\n\n- Product template: Jacket\n- Attributes:\n - Color: White, Black\n - Size: M, L\n- Reference mask: `JKT01-[Color]-[Size]`\n\n- Reference on variants:\n\n - `JKT01-Wh-M` Jacket White M\n - `JKT01-Bl-M` Jacket Black M\n - `JKT01-Wh-L` Jacket White L\n - `JKT01-Bl-L` Jacket Black L\n\nConfiguration\n=============\n\nTo set the reference mask up on any product template 'Variant reference mask'\nnew field.\n\nWhen creating a new product template without specifying the *Variant reference\nmask*, a default value for *Variant reference mask* will be automatically\ngenerated according to the attribute line settings on the product template (if\nany). The mask will then be used as an instruction to generate default code of\neach product variant of the product template with the corresponding *Attribute\nCode* (of the attribute value) inserted. Besides the default value, *Variant\nreference mask* can be configured to your liking, make sure putting the\n*Attribute Name* inside `[]` marks (it is case sensitive).\n\nExample:\n\nCreating a product named *Jacket* with two attributes, *Size* and *Color*::\n\n Product: Jacket\n Color: Black(Bl), White(Wh) # Black and White are the attribute values;\n 'Bl' and 'Wh' are the corresponding codes\n Size: L (L), XL(XL)\n\nThe automatically generated default value for the Variant reference mask will\nbe `[Color]-[Size]` and so the 'default code' on the variants will be `Bl-L`,\n`Wh-L`, `Bl-XL` and `Wh-XL`.\n\nThe mask value can be fully customized whatever you like. You can even have\nthe attribute name appear more than once in the mask such as,\n`Jacket/[Size]~[Color]~[Size]`, and the generated code on variants will be\nsomething like `Jacket/L~Bl~L` (for variant with Color \"Black\" and Size \"L\").\n\nWhen the code attribute is changed, it automatically regenerates the 'default\ncode' on all variants affected.\n\nAditionally, a product attribute can be set and so it will be appended to the\nproduct `default_code`. In the first example, setting a `Color` code to `CO`\nwould give `default_code` like this: `COBl-L`, `COWh-L`, `COBl-XL` and\n`COWh-XL`.\n\nAvoiding mask in variants\n-------------------------\n\nYou can avoid this behavior or force a manual default_code on variant. To do\nso, go to *Product Variants > [any variant you want to set up]* and set\nmanually its reference code. The field `manual code` will be set to on and the\nvariant internal reference will no longer be changed by this module.\n\nUnset `manual code` and the reference code will be unlocked again.\n\nChange the reference separator\n------------------------------\n\nYou can change the separator using the system parameter named \"default_reference_separator\".\nIf you do not want to have a separator (an empty one), you can set the parameter to \"None\".\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/137/10.0\n\nKnown issues / Roadmap\n======================\n\nIn case of attribute name update, related mask are not updated.\n\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Alfredo de la Fuente \n* Pedro M. Baeza \n* Tony Gu \n* David Vidal \n* David Beal \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", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://odoo-community.org/", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-product-variant-default-code", "package_url": "https://pypi.org/project/odoo10-addon-product-variant-default-code/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-product-variant-default-code/", "project_urls": { "Homepage": "https://odoo-community.org/" }, "release_url": "https://pypi.org/project/odoo10-addon-product-variant-default-code/10.0.1.0.2/", "requires_dist": [ "odoo (<10.1dev,>=10.0)" ], "requires_python": "~=2.7", "summary": "Product Variant Default Code", "version": "10.0.1.0.2" }, "last_serial": 5355613, "releases": { "10.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "3dee98ca2531f3e48f34fb243d792aef", "sha256": "5de7e3e02b8249fba22d3029b4e5d678d54f82179966ffe8c90c859f3ed2797c" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "3dee98ca2531f3e48f34fb243d792aef", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 28360, "upload_time": "2017-12-23T05:30:52", "url": "https://files.pythonhosted.org/packages/0e/34/1f36ccbb1e305793c695e23c762460710d7f849634346a92b34df749f673/odoo10_addon_product_variant_default_code-10.0.1.0.0.99.dev3-py2-none-any.whl" } ], "10.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "27ac304a0fe2494120597cd9182e1326", "sha256": "3f51c1843fe59b1ea027b3c3f4b8fd5162eef20164cce1638beb40d6584a390f" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "27ac304a0fe2494120597cd9182e1326", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49210, "upload_time": "2017-12-31T05:33:14", "url": "https://files.pythonhosted.org/packages/4c/9a/7bc5cf7444c92308dbcdc81e00fd109185f99ec48f233d630fb35671394d/odoo10_addon_product_variant_default_code-10.0.1.0.0.99.dev4-py2-none-any.whl" } ], "10.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "2d92a960e81f5ae3192ccbfebf1c30ef", "sha256": "23e0c5dc1f081bcc6c39d1a7896998d8b8a4c9acbc935d558dcc8c2991e79c53" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.0.99.dev5-py2-none-any.whl", "has_sig": false, "md5_digest": "2d92a960e81f5ae3192ccbfebf1c30ef", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49274, "upload_time": "2018-01-17T05:33:42", "url": "https://files.pythonhosted.org/packages/04/ca/242b417fd8284c78329b14d1934f0938fe0ccd1caeacd8b97d54e41055b1/odoo10_addon_product_variant_default_code-10.0.1.0.0.99.dev5-py2-none-any.whl" } ], "10.0.1.0.1": [ { "comment_text": "", "digests": { "md5": "71fc953af2c757643d2a9c6526119336", "sha256": "1641ac7d56564f1489c5bf3e732e39bd6cc17e99993274c3724060dfdb4171f6" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "71fc953af2c757643d2a9c6526119336", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49121, "upload_time": "2018-02-23T05:30:34", "url": "https://files.pythonhosted.org/packages/42/29/d6bb07d5ee02267e6348b210cf053fd3ac5bd65da048a79a6ce3c6adde34/odoo10_addon_product_variant_default_code-10.0.1.0.1-py2-none-any.whl" } ], "10.0.1.0.1.99.dev1": [ { "comment_text": "", "digests": { "md5": "fdb0c9ff91c6393b2cbe933443a2f0aa", "sha256": "07970e92c4a92ef638bbe849cdf86664ecc6e1b1e98d2d9a47727fc43c19bfcc" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.1.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "fdb0c9ff91c6393b2cbe933443a2f0aa", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49350, "upload_time": "2018-03-04T05:39:24", "url": "https://files.pythonhosted.org/packages/de/25/97ffc6d0caa25c2bcd84562431ba50c51b43e20587c15a98ce9c81dbe7e9/odoo10_addon_product_variant_default_code-10.0.1.0.1.99.dev1-py2-none-any.whl" } ], "10.0.1.0.2": [ { "comment_text": "", "digests": { "md5": "5e27b1748b2c6d82626e8edc5a8cfc40", "sha256": "4a4d0b65b9ad5fe41925d702a8c725e317b5d31e009af1c5b2eb7e198d2f28d2" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "5e27b1748b2c6d82626e8edc5a8cfc40", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49912, "upload_time": "2018-03-28T04:30:07", "url": "https://files.pythonhosted.org/packages/83/2b/fc13c9f8edf2df4a3bc6bb1ad9c7e9a76711691c6e8e811c9df14d8426c2/odoo10_addon_product_variant_default_code-10.0.1.0.2-py2-none-any.whl" } ], "10.0.1.0.2.99.dev1": [ { "comment_text": "", "digests": { "md5": "2309c0854d7f42783092dc02d62824a0", "sha256": "9fd77a1990ecb80d85a24c8d4548315d91a9ce5b7c8ae3dcdb22520fb1d27f13" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "2309c0854d7f42783092dc02d62824a0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 51643, "upload_time": "2018-06-24T04:48:38", "url": "https://files.pythonhosted.org/packages/cf/44/c2b3d673f92139085dd148c8441174dcb6cd76cb8f130c64b47e1a0439cd/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev1-py2-none-any.whl" } ], "10.0.1.0.2.99.dev3": [ { "comment_text": "", "digests": { "md5": "45fc545a753ad6e90f8dbb8fd748cf85", "sha256": "26a24ce7d12becf2ca2503f0b8df8f24f053bef6e169fce76d20e7aef39a4383" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "45fc545a753ad6e90f8dbb8fd748cf85", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49183, "upload_time": "2018-10-28T05:40:03", "url": "https://files.pythonhosted.org/packages/d4/8c/187951206a5a6602d5f39bb010d872d46bb9c0c39e8a5c5ef7963e2db497/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev3-py2-none-any.whl" } ], "10.0.1.0.2.99.dev4": [ { "comment_text": "", "digests": { "md5": "7000483e6ab54d71f3b16c4d6adb7a31", "sha256": "5a487dd0b9d754cafcacaef1ff5e6e14e0b63a765756ffac27ace00095a8b4c4" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "7000483e6ab54d71f3b16c4d6adb7a31", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49186, "upload_time": "2018-11-10T05:39:25", "url": "https://files.pythonhosted.org/packages/27/ff/1616f30d5cc7e7bfadd4251918bc082a5bf07c3b66cdac475650105909e0/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev4-py2-none-any.whl" } ], "10.0.1.0.2.99.dev5": [ { "comment_text": "", "digests": { "md5": "0aa3e78249634e1d8739deafa781d169", "sha256": "990f9d8959b28029a5af7a23c8f495edef587325dd58bfe4719d61d710df310f" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev5-py2-none-any.whl", "has_sig": false, "md5_digest": "0aa3e78249634e1d8739deafa781d169", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49265, "upload_time": "2018-12-08T05:40:06", "url": "https://files.pythonhosted.org/packages/0a/59/4c580b025e09cc80e6525ad00dae4418479555e3410784f867b7b768e873/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev5-py2-none-any.whl" } ], "10.0.1.0.2.99.dev6": [ { "comment_text": "", "digests": { "md5": "3857b8e0d94b737f60c52ecc53a63eb8", "sha256": "8852ccdc2955e6d950a1e699cbcfc816801b02b7c0d8d60c835b45290d7fd337" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev6-py2-none-any.whl", "has_sig": false, "md5_digest": "3857b8e0d94b737f60c52ecc53a63eb8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 50745, "upload_time": "2019-02-17T05:42:02", "url": "https://files.pythonhosted.org/packages/74/a2/fc018fa770104692c44336d9aec93e98392b3849748b4c59a38c29579186/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev6-py2-none-any.whl" } ], "10.0.1.0.2.99.dev7": [ { "comment_text": "", "digests": { "md5": "438e2475d91abf1beea383e9806175b9", "sha256": "07bd3c7d4951814151b1984ec2b157674526d9fb73a7e92bc0e87ed85d473446" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev7-py2-none-any.whl", "has_sig": false, "md5_digest": "438e2475d91abf1beea383e9806175b9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 51429, "upload_time": "2019-02-27T05:41:05", "url": "https://files.pythonhosted.org/packages/a5/64/2f2dded204f14e7e7374866eb1e3a627bb50eea2eeaf33d8e8b1792619ac/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev7-py2-none-any.whl" } ], "10.0.1.0.2.99.dev8": [ { "comment_text": "", "digests": { "md5": "8418cb3aa8cebe9fb5cc04bdd2357678", "sha256": "2339f1ecbd690dc27eb233969cecb77cf27519b38d82a40cec7bd476533b5dd3" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev8-py2-none-any.whl", "has_sig": false, "md5_digest": "8418cb3aa8cebe9fb5cc04bdd2357678", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61046, "upload_time": "2019-04-03T05:01:50", "url": "https://files.pythonhosted.org/packages/e5/c3/ac0c21e6e70248d4636b40bc8897f87fe3d004a2d82aff80fab133639e09/odoo10_addon_product_variant_default_code-10.0.1.0.2.99.dev8-py2-none-any.whl" } ], "10.0.1.0.3.99.dev2": [ { "comment_text": "", "digests": { "md5": "13d4d29034e571ec78ab05f0cc600b72", "sha256": "a434e746f92e80b3bc4fecb0c44e61325f3aeb45374ea142a472d23ff62cd274" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.3.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "13d4d29034e571ec78ab05f0cc600b72", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 61107, "upload_time": "2019-06-04T04:44:07", "url": "https://files.pythonhosted.org/packages/bb/6d/230eccc0e61af64a594bd9cd75de0d1d43b2d7cfcea45b14354c07bfa64a/odoo10_addon_product_variant_default_code-10.0.1.0.3.99.dev2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e27b1748b2c6d82626e8edc5a8cfc40", "sha256": "4a4d0b65b9ad5fe41925d702a8c725e317b5d31e009af1c5b2eb7e198d2f28d2" }, "downloads": -1, "filename": "odoo10_addon_product_variant_default_code-10.0.1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "5e27b1748b2c6d82626e8edc5a8cfc40", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 49912, "upload_time": "2018-03-28T04:30:07", "url": "https://files.pythonhosted.org/packages/83/2b/fc13c9f8edf2df4a3bc6bb1ad9c7e9a76711691c6e8e811c9df14d8426c2/odoo10_addon_product_variant_default_code-10.0.1.0.2-py2-none-any.whl" } ] }