12345678910111213141516171819 |
- from openerp import models, fields
- class Template(models.Model):
- _inherit = 'product.template'
- farrowing_price = fields.Float(string='Farrowing Price', digits=(16, 4),
- help=('Unitary cost for farrowing events.'
- 'It\'s only used when the product is'
- 'a group product of a farm specie.'))
- wearing_price = fields.Float(string='Weaning Price', digits=(16, 4),
- help=('Unitary cost for weaning events.'
- 'It\'s only used when the product is a'
- 'group product of a farm specie.'))
|