I tried this following code to add new fileds in the res partner form view that I have already inherited in a new module but nothing showed up after updating with no errors and no effects menchening that i want to add those fileds when cheking the company type button radio not tye person one because in the main code there are some fileds that are invsible depending on this radio button company type.so what could be wrong in this code not showing any changes in my new model
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_partner_form_inherit" model="ir.ui.view">
<field name="name">res.partner.form.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='website']" position="after">
<field name="rs_ctr"/>
<field name="nb_ligne"/>
</xpath>
</record>
</data>
</openerp>
which version of odoo you use ?
had you put this view file in __openerp__.py ?
yes I have put it in __openerp__.py I'm using odoo9