Community mailing list archives

Re: how to add a field to product ?

Luke Branch
- 07/19/2015 21:51:05
Hi Ron,

I believe there is ready a module for this purpose in the OCA/product-attribute repo:

On 20 Jul, 2015, at 5:43 am, Ronald Wopereis <> wrote:

hi all,

i would like to extend the product model with a new field "brand"

i got as far as to extend the product.template and add the new field,
and create a view_form_product_extended so i could actually see this new field.

but now the question is: is this field automagically added to the product model?

perhaps you can point me at some documentation on how product.template relates to product.* models ?


Post to: