c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09976
[Bug 695103] Re: [6.0RC1][account_fiscal_position_rule_sale] Problems with 'onchange_partner_id'
Hello Alberto,
'account_fiscal_position_rule_sale' module is in Extra-addons . So we
can not fix it.Our R&D Teams are focused on the latest OpenERP version,
and this issue does not affect it. So i am closing this bug.
Thanks.
** Changed in: openobject-addons
Status: New => Won't Fix
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/695103
Title:
[6.0RC1][account_fiscal_position_rule_sale] Problems with 'onchange_partner_id'
Status in OpenObject Addons Modules:
Won't Fix
Bug description:
Hi all,
Using following revisions from trunk (just downloaded today):
Server: 3163
Addons: 4033
Extra-addons:5126
and having installed 'account_fiscal_position_rule_sale' module: when creating a new Sale Order, the 'onchange_partner_id' method overriden in this module crashes because it receives an incorrect number of parameters from view:
(extract from sale_view.xml, lines 30-40)
<record id="view_order_form3" model="ir.ui.view">
<field name="name">account_fiscal_postion_rule_form_view_order_form3</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="priority">32</field>
<field name="arch" type="xml">
<field name="partner_id" position="replace">
<field name="partner_id" on_change="onchange_partner_id(partner_invoice_id, partner_id, shop_id)" required="1"/>
</field>
</field>
</record>
when it should be:
(...)
<field name="partner_id" on_change="onchange_partner_id(partner_id, shop_id)" required="1"/>
(...)
Regards,
References