12345678910111213141516 |
- # -*- coding: utf-8 -*-
- from openerp import models, fields, api
- import logging
- class Product(models.Model):
- _inherit = 'product.template'
- country_id = fields.Many2one('res.country', string='Procedencia')
- height = fields.Float(string="Altura")
- length = fields.Float(string="Largo")
- width = fields.Float(string="Ancho")
- last_purchase_date = fields.Date(string="Última compra")
- price_change = fields.Selection([
- ('purchase', 'Compra'),
- ('import', 'Importación')],
- string='Actualizar costo con')
|