33< head >
44< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
55< meta name ="generator " content ="Docutils: https://docutils.sourceforge.io/ " />
6- < title > README.rst </ title >
6+ < title > Product Variant Default Code </ title >
77< style type ="text/css ">
88
99/*
360360</ style >
361361</ head >
362362< body >
363- < div class ="document ">
363+ < div class ="document " id ="product-variant-default-code ">
364+ < h1 class ="title "> Product Variant Default Code</ h1 >
364365
365-
366- < a class ="reference external image-reference " href ="https://odoo-community.org/get-involved?utm_source=readme ">
367- < img alt ="Odoo Community Association " src ="https://odoo-community.org/readme-banner-image " />
368- </ a >
369- < div class ="section " id ="product-variant-default-code ">
370- < h1 > Product Variant Default Code</ h1 >
371366<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372367!! This file is generated by oca-gen-addon-readme !!
373368!! changes will be overwritten. !!
374369!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375370!! source digest: sha256:23782e83708e18c5e26008b1e49622f50b2f53d317111279dd3fe33def16dacd
376371!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377- < p > < a class ="reference external image-reference " 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 image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/license-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/product-variant/tree/16.0/product_variant_default_code "> < img alt ="OCA/product-variant " src ="https://img.shields.io/badge/github-OCA%2Fproduct--variant-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/product-variant-16-0/product-variant-16-0-product_variant_default_code "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/product-variant&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
372+ < p > < a class ="reference external image-reference " 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 image-reference " 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 image-reference " href ="https://github.com/OCA/product-variant/tree/16.0/product_variant_default_code "> < img alt ="OCA/product-variant " src ="https://img.shields.io/badge/github-OCA%2Fproduct--variant-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/product-variant-16-0/product-variant-16-0-product_variant_default_code "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/product-variant&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
378373< p > This module automatically generate Product Reference (default_code)
379374according to attributes data with a configurable behavior.</ p >
380375< p > It defines a reference mask on the product templates so the
@@ -411,7 +406,7 @@ <h1>Product Variant Default Code</h1>
411406</ ul >
412407</ div >
413408< div class ="section " id ="usage ">
414- < h2 > < a class ="toc-backref " href ="#toc-entry-1 "> Usage</ a > </ h2 >
409+ < h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Usage</ a > </ h1 >
415410< p > To set the reference mask up on any product template ‘Variant reference mask’
416411new field.</ p >
417412< p > When creating a new product template without specifying the < em > Variant reference
@@ -444,7 +439,7 @@ <h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
444439would give < cite > default_code</ cite > like this: < cite > COBl-L</ cite > , < cite > COWh-L</ cite > , < cite > COBl-XL</ cite > and
445440< cite > COWh-XL</ cite > .</ p >
446441< div class ="section " id ="avoiding-mask-in-variants ">
447- < h3 > < a class ="toc-backref " href ="#toc-entry-2 "> Avoiding mask in variants</ a > </ h3 >
442+ < h2 > < a class ="toc-backref " href ="#toc-entry-2 "> Avoiding mask in variants</ a > </ h2 >
448443< p > You can avoid this behavior or force a manual default_code on variant. To do
449444so, go to < em > Product Variants > [any variant you want to set up]</ em > and set
450445manually its reference code. The field < cite > manual code</ cite > will be set to on and the
@@ -453,23 +448,23 @@ <h3><a class="toc-backref" href="#toc-entry-2">Avoiding mask in variants</a></h3
453448</ div >
454449</ div >
455450< div class ="section " id ="known-issues-roadmap ">
456- < h2 > < a class ="toc-backref " href ="#toc-entry-3 "> Known issues / Roadmap</ a > </ h2 >
451+ < h1 > < a class ="toc-backref " href ="#toc-entry-3 "> Known issues / Roadmap</ a > </ h1 >
457452< ul class ="simple ">
458453< li > In case of attribute name update, related mask are not updated.</ li >
459454</ ul >
460455</ div >
461456< div class ="section " id ="bug-tracker ">
462- < h2 > < a class ="toc-backref " href ="#toc-entry-4 "> Bug Tracker</ a > </ h2 >
457+ < h1 > < a class ="toc-backref " href ="#toc-entry-4 "> Bug Tracker</ a > </ h1 >
463458< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/product-variant/issues "> GitHub Issues</ a > .
464459In case of trouble, please check there if your issue has already been reported.
465460If you spotted it first, help us to smash it by providing a detailed and welcomed
466461< a class ="reference external " href ="https://github.com/OCA/product-variant/issues/new?body=module:%20product_variant_default_code%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
467462< p > Do not contact contributors directly about support or help with technical issues.</ p >
468463</ div >
469464< div class ="section " id ="credits ">
470- < h2 > < a class ="toc-backref " href ="#toc-entry-5 "> Credits</ a > </ h2 >
465+ < h1 > < a class ="toc-backref " href ="#toc-entry-5 "> Credits</ a > </ h1 >
471466< div class ="section " id ="authors ">
472- < h3 > < a class ="toc-backref " href ="#toc-entry-6 "> Authors</ a > </ h3 >
467+ < h2 > < a class ="toc-backref " href ="#toc-entry-6 "> Authors</ a > </ h2 >
473468< ul class ="simple ">
474469< li > AvancOSC</ li >
475470< li > Shine IT</ li >
@@ -478,7 +473,7 @@ <h3><a class="toc-backref" href="#toc-entry-6">Authors</a></h3>
478473</ ul >
479474</ div >
480475< div class ="section " id ="contributors ">
481- < h3 > < a class ="toc-backref " href ="#toc-entry-7 "> Contributors</ a > </ h3 >
476+ < h2 > < a class ="toc-backref " href ="#toc-entry-7 "> Contributors</ a > </ h2 >
482477< ul class ="simple ">
483478< li > Alfredo de la Fuente << a class ="reference external " href ="mailto:alfredodelafuente@avanzosc.es "> alfredodelafuente@avanzosc.es</ a > ></ li >
484479< li > Tony Gu << a class ="reference external " href ="mailto:tony@openerp.cn "> tony@openerp.cn</ a > ></ li >
@@ -492,7 +487,7 @@ <h3><a class="toc-backref" href="#toc-entry-7">Contributors</a></h3>
492487</ ul >
493488</ div >
494489< div class ="section " id ="maintainers ">
495- < h3 > < a class ="toc-backref " href ="#toc-entry-8 "> Maintainers</ a > </ h3 >
490+ < h2 > < a class ="toc-backref " href ="#toc-entry-8 "> Maintainers</ a > </ h2 >
496491< p > This module is maintained by the OCA.</ p >
497492< a class ="reference external image-reference " href ="https://odoo-community.org ">
498493< img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
@@ -507,6 +502,5 @@ <h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
507502</ div >
508503</ div >
509504</ div >
510- </ div >
511505</ body >
512506</ html >
0 commit comments