Community mailing list archives

community@mail.odoo.com

Re: how to add a field to product ?

by
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 <woepwoep@gmail.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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe