Amit Bhavsar (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-962659-amb into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #962659 in OpenERP Addons: "[6.1][trunk] Error when using 
claim_from_delivery "
  https://bugs.launchpad.net/openobject-addons/+bug/962659

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-962659-amb/+merge/98991

Hello,

Fixes the context problem, Web client gives because we didn't have partner_id 
field in form view but we already passed default_partner_id in context of 
act_window.

That's I have put a partner_id field in form and make it as a invisible.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-962659-amb/+merge/98991
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-962659-amb.
=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml	2012-03-22 17:23:05 +0000
+++ stock/stock_view.xml	2012-03-23 09:45:24 +0000
@@ -890,6 +890,7 @@
                             <field name="name" readonly="1"/>
                             <field name="origin" readonly="1"/>
                             <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" colspan="4"/>
+                            <field name = "partner_id" invisible="1"/>
                             <field name="invoice_state"/>
                             <field name="backorder_id" readonly="1" groups="base.group_extended"/>
                         </group>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to