Search 1.9 billion lines of Odoo code on GitHub

product_country_restriction

Author: ACSONE SA/NV,Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: acsone/product-attribute
Dependencies: base, and product
Languages: HTML (389, 27.5%), Python (646, 45.8%), XML (296, 21.0%), and reStructuredText (81, 5.7%)
Other branches: 10.0-abi_master, 10.0-add-product-description-dro, 10.0-add-product_country_origin-dro, 10.0-add-product_country_restrictions-dro, 10.0-add-stock-production-lot-expiry-lmi, 10.0-add_flag_to_use_computed_value, 10.0-backport-product-_packaging_dimension-lmi, 10.0-backport-product-_packaging_type_pallet-lmi, 10.0-backport-product_packaging_type-lmi, 10.0-backport-product_total_weight_from_packaging, 10.0-fix-travis-dro, 10.0-ftd_master, 10.0-imp-product_state-dro, 10.0-product-abc-classification, 10.0-product_life_period-cpi, 14.0-abi_master, and 14.0-abi_master-xbo
Other repositories: AladroLiderit/product-attribute, Alfa-90/product-attribute, BitStab/product-attribute, CB-Gran-Canaria/product-attribute, Darknroses/product-attribute, DjaitaiKoffi/product-attribute, DucTruongKomit/product-attribute, ERPLibre/product-attribute, ForgeFlow/product-attribute, Gabinete-Digital/product-attribute, Ingeos/product-attribute, Jeisonpernia/product-attribute, JoanMarin/product-attribute, LevelPrime/product-attribute, MathBenTech/product-attribute, NeatNerdPrime/product-attribute, OCA-MUK/product-attribute, OCA/product-attribute, PlanetaTIC/product-attribute, PortalFl0w/product-attribute, Rad0van/product-attribute, RosleStores/product-attribute, SanteLibre/product-attribute, SequarSrl/product-attribute, Studio73/product-attribute, TDu/product-attribute, Tonow-c2c/product-attribute, agrista/odoo-product-attribute, akretion/product-attribute, anhvu-sg/product-attribute, ansinaesmejor/product-attribute, aurestic/product-attribute, binovo/product-attribute, brain-tec/product-attribute, cubells/product-attribute, cybernexus/product-attribute, damdam-s/product-attribute, danieldeyris/product-attribute, digitalsatori/product-attribute, drashtigotecha/product-attribute, ecosoft-odoo/product-attribute, ehsu0407/product-attribute, emagdalenaC2i/product-attribute, eversatis/product-attribute, feketemihai/product-attribute, filoquin/product-attribute, foah/product-attribute, fshah-initos/product-attribute, gustitammam/product-attribute, i-vyshnevska/product-attribute, joergfederspiel/product-attribute, kevinkhao/product-attribute, kmee/product-attribute, kos94ok-3D/product-attribute, lideritjnma/product-attribute, niulinlnc/product-attribute, noorealam96/product-attribute, ntsirintanis/product-attribute, omalbastin/product-attribute, phuctranerp/product-attribute, pythoner-3k/product-attribute, raizs/product-attribute, rdeheele/product-attribute, royalline1/product-attribute, rven/product-attribute, samsagaz/product-attribute, sanube/product-attribute, sendalpegat/product-attribute, smurf-U/product-attribute, solvosci/product-attribute, sunshineLhj/product-attribute, takobi-online/product-attribute, tegin/product-attribute, tonygalmiche/product-attribute, unwasted/product-attribute, usmcgwg/product-attribute, valmarnet/product-attribute, vialaurea/OCA-product-attribute, visztani/product-attribute, wahello/product-attribute, x0rzkov/odoo-product-attribute, xtendoo-corporation/product-attribute, y2gsmith/product-attribute, yasmanycastillo/product-attribute, ypapouin/product-attribute, yuriqp/product-attribute, zeroheure/product-attribute, and zeroincombenze/product-attribute

<h1 class="title">Product Country Restriction</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.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/product-attribute/tree/10.0/product_country_restriction"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/product-attribute-10-0/product-attribute-10-0-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/135/10.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module allows to define several rules to restrict product flows based on countries or country groups (Embargoes).</p> <p>It provides rules that apply:</p> <ul class="simple"> <li>Globally (for all products)</li> <li>Per Category</li> <li>Per Product</li> <li>Per Variant</li> </ul> <p>Moreover, these rules can be set with date windows.</p> <div class="admonition important"> <p class="first admonition-title">Important</p> <p class="last">This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. <a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p> </div> <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="id4">Usage</a></li> <li><a class="reference internal" href="#changelog" id="id5">Changelog</a><ul> <li><a class="reference internal" href="#id1" id="id6">10.0.1.0.0 (2018-11-29)</a></li> <li><a class="reference internal" href="#id2" id="id7">10.0.1.1.0 (2019-01-14)</a></li> <li><a class="reference internal" href="#id3" id="id8">10.0.1.1.1 (2019-01-30)</a></li> </ul> </li> <li><a class="reference internal" href="#bug-tracker" id="id9">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id10">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id11">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id12">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id13">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id4">Usage</a></h2> <p>This module cannot be used alone.</p> <p>It defines method that helps to define if product can be used in a particular country or not for a given date (today by default).</p> <a name="changelog"></a> <h2><a class="toc-backref" href="#id5">Changelog</a></h2> <a name="id1"></a> <h3><a class="toc-backref" href="#id6">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="#id7">10.0.1.1.0 (2019-01-14)</a></h3> <ul class="simple"> <li>Allows to define different strategies by company:</li> <li><ul class="first"> <li>Authorize (default): Authorize all products except those with a rule</li> </ul> </li> <li><ul class="first"> <li>Restrict: Restrict all products except those with a rule</li> </ul> </li> </ul> <a name="id3"></a> <h3><a class="toc-backref" href="#id8">10.0.1.1.1 (2019-01-30)</a></h3> <ul class="simple"> <li>The rule on product template must apply to its variants</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id9">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/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/product-attribute/issues/new?body=module:%20product_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="#id10">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id11">Authors</a></h3> <ul class="simple"> <li>ACSONE SA/NV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id12">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="#id13">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>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/rousseldenis"><img alt="rousseldenis" src="https://github.com/rousseldenis.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/10.0/product_country_restriction">OCA/product-attribute</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>