|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
2 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
4 | 3 | <head> |
@@ -369,54 +368,71 @@ <h1 class="title">Product Category Code Unique</h1> |
369 | 368 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
370 | 369 | !! source digest: sha256:b7c0200956cf578607572df0b8b215a886d91de7f488a5b1da447cfea042a947 |
371 | 370 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
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-attribute/tree/15.0/product_category_code_unique"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_category_code_unique"><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-attribute&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> |
| 371 | +<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-attribute/tree/16.0/product_category_code_unique"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_category_code_unique"><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-attribute&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> |
373 | 372 | <p>This module allows to restrict unique codes on product categories. |
374 | 373 | If no code is provided, a code is generated by a sequence.</p> |
375 | 374 | <p><strong>Table of contents</strong></p> |
376 | 375 | <div class="contents local topic" id="contents"> |
377 | 376 | <ul class="simple"> |
378 | | -<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li> |
379 | | -<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul> |
380 | | -<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li> |
381 | | -<li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li> |
382 | | -<li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li> |
| 377 | +<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li> |
| 378 | +<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li> |
| 379 | +<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li> |
| 380 | +<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul> |
| 381 | +<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li> |
| 382 | +<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li> |
| 383 | +<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li> |
383 | 384 | </ul> |
384 | 385 | </li> |
385 | 386 | </ul> |
386 | 387 | </div> |
| 388 | +<div class="section" id="configuration"> |
| 389 | +<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1> |
| 390 | +<p>There are 3 restriction options, which can be set from Settings > General Settings > Category Code Unique, under the “Product Category Code” section.</p> |
| 391 | +<ol class="arabic simple"> |
| 392 | +<li><strong>Whole system</strong>. Product category codes must be unique within the whole system.</li> |
| 393 | +<li><strong>Parent-Children</strong>. Product category code for a given product category must be unique considering its parent category and its child categories.</li> |
| 394 | +<li><strong>Category Hierarchy</strong>. Product category codes must be unique within the same categories hierarchy.</li> |
| 395 | +</ol> |
| 396 | +</div> |
| 397 | +<div class="section" id="usage"> |
| 398 | +<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1> |
| 399 | +<p>All product category codes are checked every time the category restriction is changed. An error message is shown when it is not possible to change the restriction because some codes are duplicated depending on the restriction selected.</p> |
| 400 | +<p>If no code is manually set in a product category, one is automatically assigned following a sequence.</p> |
| 401 | +</div> |
387 | 402 | <div class="section" id="bug-tracker"> |
388 | | -<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1> |
| 403 | +<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1> |
389 | 404 | <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/issues">GitHub Issues</a>. |
390 | 405 | In case of trouble, please check there if your issue has already been reported. |
391 | 406 | If you spotted it first, help us to smash it by providing a detailed and welcomed |
392 | | -<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_category_code_unique%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
| 407 | +<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_category_code_unique%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> |
393 | 408 | <p>Do not contact contributors directly about support or help with technical issues.</p> |
394 | 409 | </div> |
395 | 410 | <div class="section" id="credits"> |
396 | | -<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1> |
| 411 | +<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1> |
397 | 412 | <div class="section" id="authors"> |
398 | | -<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2> |
| 413 | +<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2> |
399 | 414 | <ul class="simple"> |
400 | 415 | <li>ACSONE SA/NV</li> |
401 | 416 | </ul> |
402 | 417 | </div> |
403 | 418 | <div class="section" id="contributors"> |
404 | | -<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2> |
| 419 | +<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2> |
405 | 420 | <ul class="simple"> |
406 | 421 | <li>Denis Roussel <<a class="reference external" href="mailto:denis.roussel@acsone.eu">denis.roussel@acsone.eu</a>></li> |
407 | 422 | <li>Rolando Duarte <<a class="reference external" href="mailto:rolando@vauxoo.com">rolando@vauxoo.com</a>></li> |
| 423 | +<li>Manuel Regidor <<a class="reference external" href="mailto:manuel.regidor@sygel.es">manuel.regidor@sygel.es</a>></li> |
408 | 424 | </ul> |
409 | 425 | </div> |
410 | 426 | <div class="section" id="maintainers"> |
411 | | -<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2> |
| 427 | +<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2> |
412 | 428 | <p>This module is maintained by the OCA.</p> |
413 | 429 | <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> |
414 | 430 | <p>OCA, or the Odoo Community Association, is a nonprofit organization whose |
415 | 431 | mission is to support the collaborative development of Odoo features and |
416 | 432 | promote its widespread use.</p> |
417 | 433 | <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p> |
418 | 434 | <p><a class="reference external image-reference" href="https://github.com/rousseldenis"><img alt="rousseldenis" src="https://github.com/rousseldenis.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/luisg123v"><img alt="luisg123v" src="https://github.com/luisg123v.png?size=40px" /></a></p> |
419 | | -<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/15.0/product_category_code_unique">OCA/product-attribute</a> project on GitHub.</p> |
| 435 | +<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/16.0/product_category_code_unique">OCA/product-attribute</a> project on GitHub.</p> |
420 | 436 | <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> |
421 | 437 | </div> |
422 | 438 | </div> |
|
0 commit comments