{ "info": { "author": "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": "===============================\nPurchase Order General Discount\n===============================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github\n :target: https://github.com/OCA/purchase-workflow/tree/11.0/purchase_order_general_discount\n :alt: OCA/purchase-workflow\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/purchase-workflow-11-0/purchase-workflow-11-0-purchase_order_general_discount\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n :target: https://runbot.odoo-community.org/runbot/142/11.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis module allows to set a general discount in a purchase order. This general\ndiscount is applied to each line order.\n\nYou can also set a default general discount on suppliers and configure to wich\nline field the discount will be applied.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nConfiguration\n=============\n\nYou can set in settings another discount field to be applied.\nFor example, if we had `purchase_triple_discount`, we could set the general\ndiscount in discount3 to be applied after all other discounts.\n\nTo do so:\n\n#. Go to *Purchases > Configuration > Settings* and *Purchase Discount Field*\n#. Select the discount you'd wish to use. `purchase_triple_discount` fields\n will appear when the module is installed.\n\nThere's a method at `res.company` called `_get_purchase_discount_fields` that\ncan be used to extend more line discount fields. For example, if we had the\nfield `discount4`, we could extend it like this:\n\n.. code-block:: python\n\n @api.model\n def _get_purchase_discount_fields(self):\n discount_fields = super()._get_purchase_discount_fields()\n discount_fields += [('discount4', _('Discount 4'))]\n return discount_fields\n\nUsage\n=====\n\nTo set a partner default general discount you need to:\n\n#. Go to a partner and set the general discount in *Sales & Purchases* tab.\n\nTo set a general discount in a purchase order you need to:\n\n#. Create a purchase order.\n#. Either select a partner with a purchase general discount defined or set one\n in the summary section of the order.\n#. This discount will be applied to every line.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues `_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us smashing it by providing a detailed and welcomed\n`feedback `_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Tecnativa\n\nContributors\n~~~~~~~~~~~~\n\n* `Tecnativa `_:\n\n * David Vidal\n * Pedro M. Baeza\n * Rafael Blasco\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\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\nThis module is part of the `OCA/purchase-workflow `_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OCA/purchase-workflow", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-purchase-order-general-discount", "package_url": "https://pypi.org/project/odoo11-addon-purchase-order-general-discount/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-purchase-order-general-discount/", "project_urls": { "Homepage": "https://github.com/OCA/purchase-workflow" }, "release_url": "https://pypi.org/project/odoo11-addon-purchase-order-general-discount/11.0.1.1.0/", "requires_dist": [ "odoo11-addon-purchase-discount", "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "General discount per purchase order", "version": "11.0.1.1.0" }, "last_serial": 5790054, "releases": { "11.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "b6050713b4c8faed64dccb1e7f0d8bf5", "sha256": "d82e2ad18be81ec6f51b61c289c2085bf9a97edf54af49316d9b143bfff73cd2" }, "downloads": -1, "filename": "odoo11_addon_purchase_order_general_discount-11.0.1.0.0.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b6050713b4c8faed64dccb1e7f0d8bf5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 31710, "upload_time": "2019-09-01T04:42:50", "url": "https://files.pythonhosted.org/packages/b8/cc/7b92c6d3be62b993a09397b3323eee11b42e25695f854e323dc5c616eac1/odoo11_addon_purchase_order_general_discount-11.0.1.0.0.99.dev1-py2.py3-none-any.whl" } ], "11.0.1.1.0": [ { "comment_text": "", "digests": { "md5": "15538688d0d77b8d6b5f441de7d2a77c", "sha256": "b44b01c7663cb7ae8414f012e8276e2f1abfd3957da6c9d44dd0caa5f06ca892" }, "downloads": -1, "filename": "odoo11_addon_purchase_order_general_discount-11.0.1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "15538688d0d77b8d6b5f441de7d2a77c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 31643, "upload_time": "2019-09-05T04:43:09", "url": "https://files.pythonhosted.org/packages/51/1e/188fac2cdb7ee3e49978f7a16bfe106c5824784c50d791dc2f0a78ab36fb/odoo11_addon_purchase_order_general_discount-11.0.1.1.0-py2.py3-none-any.whl" } ], "11.0.1.1.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "2ff61559f21f52106052ec3aae5696e8", "sha256": "d5e3d4d646e8d3a6b1d5798c59751ef2afbbeb88aac69acde390abc794580e14" }, "downloads": -1, "filename": "odoo11_addon_purchase_order_general_discount-11.0.1.1.0.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ff61559f21f52106052ec3aae5696e8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 31748, "upload_time": "2019-09-06T04:42:00", "url": "https://files.pythonhosted.org/packages/fa/79/a011848efd73a62babc6a55a9c3967cfadf94721a9ef129890e3f6e799b9/odoo11_addon_purchase_order_general_discount-11.0.1.1.0.99.dev1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "15538688d0d77b8d6b5f441de7d2a77c", "sha256": "b44b01c7663cb7ae8414f012e8276e2f1abfd3957da6c9d44dd0caa5f06ca892" }, "downloads": -1, "filename": "odoo11_addon_purchase_order_general_discount-11.0.1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "15538688d0d77b8d6b5f441de7d2a77c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 31643, "upload_time": "2019-09-05T04:43:09", "url": "https://files.pythonhosted.org/packages/51/1e/188fac2cdb7ee3e49978f7a16bfe106c5824784c50d791dc2f0a78ab36fb/odoo11_addon_purchase_order_general_discount-11.0.1.1.0-py2.py3-none-any.whl" } ] }