Search 1.9 billion lines of Odoo code on GitHub

qoqa_product

Author: Camptocamp
License: AGPL-3
Branch: merge-branch-1151-9.46.1
Repository: camptocamp/account-reconcile
Dependencies: product, product_brand, and product_variant_supplierinfo
Languages: PO File (181, 13.1%), Python (462, 33.5%), XML (705, 51.2%), and reStructuredText (30, 2.2%)
Other branches: merge-branch-1151-9.40.4, and merge-branch-1151-9.46.2

<h1 class="title">QoQa Products</h1> <p>Customizations of the products:</p> <ul class="simple"> <li>Add fields related to wine and liquors, used by <code>wine_ch_report</code></li> <li>Depends on <code>product_brand</code> so we have a brand on products</li> <li>Allow to generate automatically the internal reference of variants using the attributes' values</li> <li>Add a wizard to generate a given subset of variants</li> </ul> <a name="generation-of-internal-reference"></a> <h2>Generation of internal reference</h2> <p>A new <code>base_default_code</code> on the product template allows to define a prefix for the default code of the variants.</p> <p>The internal reference of the generated variants is:</p> <p><code>{base_default_code} - {value1} - {value2} - {value3} ...</code></p> <p>Where value1, value2 (etc.) are the variant values selected. Example: <code>REF - Red - M</code>.</p> <p>A code can be set on attribute values to have shorter references.</p> <a name="workflow-to-generate-products-with-variants"></a> <h2>Workflow to generate products with variants</h2> <ol class="arabic simple"> <li>Creation of a product template</li> <li>Fill-in of the base default code</li> <li>Selection of the variant values</li> <li>On creation, all the variants are generated or later use the variant generator</li> <li>If attribute values must be modified, this is still possible but Odoo might delete or deactivate variants in the process</li> <li>Once all is good, activate the export of the products on the QoQa shops (<code>connector_qoqa</code> feature)</li> <li>Changing the attribute values on the template is no longer possible, because it might remove products already exported! It is still possible to edit or create variants manually.</li> </ol>