product.py 723 B

12345678910111213141516171819202122
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. # For copyright and license notices, see __openerp__.py file in module root
  4. # directory
  5. ##############################################################################
  6. from openerp import fields, models, api
  7. class product_template(models.Model):
  8. _inherit = 'product.template'
  9. # can_modify_prices = fields.Boolean(
  10. # help='If checked all users can modify the\
  11. # price of this product in a sale order or invoice.',
  12. # string='Can modify prices')
  13. # class product_pricelist(models.Model):
  14. # _inherit = 'product.pricelist'
  15. # sequence = fields.Integer(
  16. # string='Sequence')