Atul Patel(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1050446-atp into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1050446-atp/+merge/124400
Hello,
default value for destination location field not set.
set it using update context value.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1050446-atp/+merge/124400
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1050446-atp.
=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml 2012-09-12 10:00:53 +0000
+++ stock/stock_view.xml 2012-09-14 12:07:23 +0000
@@ -1010,6 +1010,9 @@
<xpath expr="//field[@name='partner_id']" position="replace">
<field name="partner_id" on_change="onchange_partner_in(partner_id)" colspan="4" string="Customer"/>
</xpath>
+ <xpath expr="//field[@name='move_lines']" position="attributes">
+ <attribute name="context">{'address_out_id': partner_id, 'picking_type': type}</attribute>
+ </xpath>
<xpath expr="/form/sheet" position="after">
<div class="oe_chatter">
<field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/>
_______________________________________________
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