Odoo Help


Custom field in Information-tab of product form (V8)

on 7/29/14, 7:53 AM 1,593 views

A followup question to my previous one, because of the forum rules (Only one answer per question allowed )

Found how to add a custom field to sale.order.from  as per ebook "Working with OpenERP".  That was easy! But now I want to do the same with the product form, but no success.

When I edit product.template.product.form I see this XML:

<view view_id = 352>
<page string='Variants'>
<button name='172'>
<button name='174'>
<field name='product_variant_count'>
<field name='attribute_line_ids'>
<tree string='Variants'>
<field name='attribute_id'>
<field name='value_ids'>

which I assume is the 'Variants' tab of the product form?

Note that this happens in developer mode when navigating to Sales > Products > Products (Select form view) and then from de developer selectbox Manage Views > (Select product.template.product.form) > Edit. Selecting another view eg. product.template.common.form produces the same result.

  I'd like to add a field to the Information-tab,  how can I do this?

@Harmstra - to which model did you added your customer field 1) product.template or 2) product.product. If possible post the "py" code and "xml" code.

Hiren Vora - CEO at Emipro Technologies Pvt. Ltd. India
on 7/29/14, 8:25 AM

I didn't add it, because I cannot find there right view, see my question

on 7/29/14, 10:17 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 7/29/14, 7:53 AM
Seen: 1593 times
Last updated: 3/16/15, 8:10 AM