12345678910111213141516171819202122 |
- # -*- coding: utf-8 -*-
- ##############################################################################
- # For copyright and license notices, see __openerp__.py file in module root
- # directory
- ##############################################################################
- from openerp import models, fields
- class ProductTemplate(models.Model):
- _inherit = 'product.template'
- store_id = fields.Many2one(
- 'res.store',
- 'Store'
- )
- class ProductPricelist(models.Model):
- _inherit = 'product.pricelist'
- store_id = fields.Many2one(
- 'res.store',
- 'Store'
- )
|