** Branch linked: lp:~openerp-dev/openerp-web/6.1-opw-572829-msh
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/980529
Title:
[6.1]auto create 2 address record when i save the partner
Status in OpenERP Server:
Fix Committed
Bug description:
res.partner module, Partner Views, when I create a new partner, only input
partner name and save, then on the address tab, I find the address number
change to 2, if change to tree view, can find two empty record in the tree
view. This problem will appear little.
But when I modify the res.partner, code as follow, then this bug will appear
very frequent. pls help confirm if this is a bug or my mistake.thanks
class res_partner(osv.osv):
_name = "res.partner"
_inherit = 'res.partner'
_columns = {
'partner_level': fields.many2one('res.partner.level','Partner Level'),
}
res_partner()
<record id="view_partner_form_extend" model="ir.ui.view">
<field name="name">res.partner.form.extend</field>
<field name="model">res.partner</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='General']"
position="before">
<page string="Info">
<field colspan="2" name="partner_level"
widget="selection"/>
</page>
</xpath>
</field>
</record>
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/980529/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp