Hello, I am developed a new module in Odoo 8, in which I have a Python class that not inherits from any other class. The code of the class is:
class products_prices(models.Model):
_name = 'product.pricelist.products_prices'product_tmpl_id = fields.Many2one('product.template')
precio = fields.Float(digits=(8,2), String="Precio")
product_pricelist_item_id = fields.Many2one('product.pricelist.item')
I need to add a view of the class in the form view "product.pricelist.item.form". I want to put it in a new tab on the popup, but the new view is of model "product.pricelist.products_prices" and this model does not have the fields of product.pricelist.item so I get an error when I am installing the module... How can I do?