añadido product_secuence y product_code_unique para crear secuencias de productos por categoría
related 6
This commit is contained in:
parent
46d66821ec
commit
4fe2e3d368
73 changed files with 5643 additions and 0 deletions
17
product_sequence/models/res_company.py
Normal file
17
product_sequence/models/res_company.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Copyright 2004 Tiny SPRL
|
||||
# Copyright 2016 Sodexis
|
||||
# Copyright 2018 Eficent Business and IT Consulting Services S.L.
|
||||
# (http://www.eficent.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Company(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
use_parent_categories_to_determine_prefix = fields.Boolean(
|
||||
string="Use parent categories to determine the prefix",
|
||||
help="Use parent categories to determine the prefix "
|
||||
"if the category has no settings for the prefix.",
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue