openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14148
[Bug 980529] Re: [6.1]auto create 2 address record when i save the partner
As this bug has already got some recent duplicates, hope to get this bug
a life!
Thanks.
** Project changed: openobject-server => openerp-web
--
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 Web:
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/openerp-web/+bug/980529/+subscriptions
References