Community mailing list archives
Re: how to add a field to product ?by
Thank you, Luke.
Best regards, Ron
Op 20 jul. 2015 03:58 schreef "Luke Branch" <email@example.com>:
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 <firstname.lastname@example.org> 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 ?thx,Ron