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