Search 1.9 billion lines of Odoo code on GitHub

sale_product_country_restriction

Author: ACSONE SA/NV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0-add-sale_product_country_restrictions-dro
Repository: acsone/sale-workflow
Dependencies: product_country_restriction, sale, and sales_team
Languages: HTML (379, 46.8%), Python (266, 32.8%), XML (86, 10.6%), and reStructuredText (79, 9.8%)
Other branches: 10.0-ftd_master

<h1 class="title">Sale Product Country Restriction</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/10.0/sale_product_country_restriction"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/sale-workflow-10-0/sale-workflow-10-0-sale_product_country_restriction"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/167/10.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module uses product restriction configuration to restrict product usages in sale orders.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id3">Usage</a></li> <li><a class="reference internal" href="#changelog" id="id4">Changelog</a><ul> <li><a class="reference internal" href="#id1" id="id5">10.0.1.0.0 (2018-11-29)</a></li> <li><a class="reference internal" href="#id2" id="id6">10.0.1.1.0 (2019-01-14)</a></li> </ul> </li> <li><a class="reference internal" href="#bug-tracker" id="id7">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id8">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id9">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id10">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id11">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id3">Usage</a></h2> <ul class="simple"> <li>Go to Sales &gt; Configuration &gt; Product Restrictions</li> </ul> <p>There, you can configure restrictions for countries and/or country groups (see product_country_restriction module for usage).</p> <ul class="simple"> <li>Go to Sales &gt; Configuration &gt; Settings and check 'Enable Sale Country Restriction'</li> <li>You can also define a default restriction for new partners</li> </ul> <p>Create a sale order. If you set a partner for shipping that corresponds to one restriction rule, a warning will be launched when you choose a product that fullfills one rule.</p> <p>Moreover, you won't be allowed to confirm that sale order.</p> <p>Installing this module will set the country and country restriction on partner mandatory before sale order confirmation.</p> <a name="changelog"></a> <h2><a class="toc-backref" href="#id4">Changelog</a></h2> <a name="id1"></a> <h3><a class="toc-backref" href="#id5">10.0.1.0.0 (2018-11-29)</a></h3> <ul class="simple"> <li>First version</li> </ul> <a name="id2"></a> <h3><a class="toc-backref" href="#id6">10.0.1.1.0 (2019-01-14)</a></h3> <ul class="simple"> <li>Allows to use different strategies by company:</li> <li><ul class="first"> <li>Authorize (default): Authorize selling all products except those with a rule</li> </ul> </li> <li><ul class="first"> <li>Restrict: Restrict selling all products except those with a rule</li> </ul> </li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id7">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>. 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 <a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_product_country_restriction%0Aversion:%2010.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id8">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id9">Authors</a></h3> <ul class="simple"> <li>ACSONE SA/NV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id10">Contributors</a></h3> <ul class="simple"> <li>Denis Roussel &lt;<a class="reference external" href="mailto:denis.roussel&#64;acsone.eu">denis.roussel&#64;acsone.eu</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id11">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/10.0/sale_product_country_restriction">OCA/sale-workflow</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>