Search 1.9 billion lines of Odoo code on GitHub

product_food

Author: GRAP
License: AGPL-3
Branch: 12.0
Repository: grap/grap-odoo-business
Dependencies: base, product, product_label, and product_origin
Languages: PO File (133, 13.8%), Python (318, 33.0%), XML (414, 42.9%), and reStructuredText (99, 10.3%)

<h1 class="title">Products - Food Informations</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/grap/grap-odoo-business/tree/12.0/product_food"><img alt="grap/grap-odoo-business" src="https://img.shields.io/badge/github-grap%2Fgrap--odoo--business-lightgray.png?logo=github" /></a></p> <p>This module extends the functionality of sale module to support food features.</p> <p>It provides the new models: * <code>certifier.organization</code></p> <ul class="simple"> <li><code>product.allergen</code></li> </ul> <p>It also adds many fiels on product models. (templates and variants)</p> <ul class="simple"> <li><code>is_alimentary</code>, boolean for analysis purpose.</li> <li><code>certifier_organization_id</code></li> <li><code>is_uncertifiable</code> for alimentary products that can not be certifiable. (like products that come from the sea)</li> <li><code>best_before_date_day</code> that mentions for how many days a product can be eaten, after having packed. (for cheese, meats, etc.)</li> <li><code>is_alcohol</code>, boolean to mention if the product contains alcohol.</li> <li><code>origin_type</code> to mention if ingredients come from EU or not.</li> <li><code>allergen_ids</code> to mention the list of allergens.</li> <li><code>ingredients</code> and <code>allergens</code>. (free texts).</li> </ul> <p>Alls the fields are defined on <code>product.product</code> model and can be set also on <code>product.template</code> models, in a mono variant context.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id5">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id6">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <ul class="simple"> <li>Go to 'Sale &gt; Configuration &gt; Allergens' and create new items.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_allergen_form.png" src="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_allergen_form.png" /> </div> <ul class="simple"> <li>Go to 'Sale &gt; Configuration &gt; Certifier Organizations' and create new items.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/certifier_organization_form.png" src="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/certifier_organization_form.png" /> </div> <ul class="simple"> <li>Go to 'Inventory &gt; Configuration &gt; Product Categories' and check new field <code>is_alimentary</code> for categories that contains food products.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_category_form.png" src="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_category_form.png" /> </div> <ul class="simple"> <li>Go to 'Sale &gt; Configuration &gt; Product Labels' and update your labels, setting two new fields <code>organic_type</code> and <code>is_alcohol</code>.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_label_form.png" src="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_label_form.png" /> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>To use this module, you need to to your product variants or templates and set the information in the following two tabs.</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_label_form_alimentary_information.png" src="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_label_form_alimentary_information.png" /> </div> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_label_form_alimentary_composition.png" src="https://raw.githubusercontent.com/grap/grap-odoo-business/12.0/product_food/static/description/product_label_form_alimentary_composition.png" /> </div> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h2> <ul class="simple"> <li>It could be great to have the possibility to manage the certification document that provide certification organization with the following model <code>res.company.certification</code> and the fields <code>company_id</code>, <code>organization_id</code>, <code>date_start</code>, <code>date_end</code></li> <li>In the same way, it could be great to have the possibility to store the certification document of each supplier with the following model <code>res.partner.certification</code> and the fields <code>partner_id</code>, <code>organization_id</code>, <code>date_start</code>, <code>date_end</code></li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/grap/grap-odoo-business/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/grap/grap-odoo-business/issues/new?body=module:%20product_food%0Aversion:%2012.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="#id5">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id6">Authors</a></h3> <ul class="simple"> <li>GRAP</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id7">Contributors</a></h3> <ul class="simple"> <li>Julien WESTE</li> <li>Sylvain LE GAL (<a class="reference external" href="https://www.twitter.com/legalsylvain">https://www.twitter.com/legalsylvain</a>)</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id8">Maintainers</a></h3> <p>This module is part of the <a class="reference external" href="https://github.com/grap/grap-odoo-business/tree/12.0/product_food">grap/grap-odoo-business</a> project on GitHub.</p> <p>You are welcome to contribute.</p>