You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
848 B

# -*- coding: utf-8 -*-
# Copyright (C) 2014 GRAP (http://www.grap.coop)
# Copyright (C) 2016-Today GRAP (http://www.lalouve.net)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields
class barcode_rule(models.Model):
_inherit = 'barcode.rule'
is_product_available = fields.Boolean(
string='Available for Products', help="If checked, users with"
" specific access right will have the possibility to generate"
" barcodes with this pattern for the products.")
is_partner_available = fields.Boolean(
string='Available for Partners', help="If checked, users with"
" specific access right will have the possibility to generate"
" barcodes with this pattern for the partners.")