Odoo Help

4

0
5 Answers
1
Avatar

Zbik Poland

--Zbik--
12725
| 7 6 9
Łódź, Poland
--Zbik--


Zbik Poland
12/20/14, 6:09 AM

You probably need to add, in your module, in __openerp__.py

'depends': [ 'product' ],

1 Comment
Miftahussalam Indonesia
12/23/14, 9:56 PM

I was added it before

0
Avatar

Atchuthan - Technical Consultant, Sodexis Inc India

--Atchuthan - Technical Consultant, Sodexis Inc--
4347
| 6 6 10
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc India
12/22/14, 12:41 AM

Since the Accounting page is added in ACCOUNT module, but you tried to inherit PRODUCT module to add your form

<record model="ir.ui.view" id="product_form_view">
    <field name="name">product</field>
    <field name="model">product.product</field>
    <field name="type">form</field>
    <field name="inherit_id" ref="account.product_normal_form_view"/>
    <field name="arch" type="xml">
    
        <xpath expr="//page[@string='Accounting']" position="after">
            <page string="KPB" col="1">
                <group col="4">
                    <field name="color"/>
                </group>
            </page>
        </xpath>

    </field>
</record>

1 Comment
Miftahussalam Indonesia
12/23/14, 9:59 PM

ok thanks, I will try

Ask a Question
Writer
Keep Informed
2 follower(s)
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.

Register
Odoo Training Center

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

Test it now