I am trying to add new field to product.product model.
What I've done so far is:
Add new field on the following model (From Settings > Database Structure > Models):
- product.product
with the following details:
- Name: x_product_cost
- Field Label: Product Cost
- Field Type: Float
and leave the rest to default.
The problem is i am unable to show it on the form. This is the only code that is generated when I tried to edit Form:
- View Name: product.product.form
- Object: product.product
Inherited View: product.template.common.form
Product Variant lst_price
I can't use product.template model, since that inherits to product.product Am i missing something here?
PS: I am trying to temporarily fixed assign-different-cost-on-product-variant bug as specified here
https://github.com/odoo/odoo/issues/1198
Can anyone help me with this?