openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #03497
[Merge] lp:~openerp-community/openobject-addons/elico-7.0-1240899 into lp:~openerp-community/openobject-addons/elico-7.0
Peter Langenberg has proposed merging lp:~openerp-community/openobject-addons/elico-7.0-1240899 into lp:~openerp-community/openobject-addons/elico-7.0.
Requested reviews:
Elico Corp (www.elico-corp.com) (elico-corp)
Related bugs:
Bug #1240899 in OpenERP Addons: "[7.0] purchase_control_supplier context not working when entering lines in form mode"
https://bugs.launchpad.net/openobject-addons/+bug/1240899
For more details, see:
https://code.launchpad.net/~openerp-community/openobject-addons/elico-7.0-1240899/+merge/191599
--
https://code.launchpad.net/~openerp-community/openobject-addons/elico-7.0-1240899/+merge/191599
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/elico-7.0.
=== modified file 'purchase_control_supplier/purchase_view.xml'
--- purchase_control_supplier/purchase_view.xml 2013-08-23 02:08:43 +0000
+++ purchase_control_supplier/purchase_view.xml 2013-10-17 10:50:58 +0000
@@ -30,5 +30,15 @@
</xpath>
</field>
</record>
+ <record id="purchase_order_line_form_fc" model="ir.ui.view">
+ <field name="name">purchase.order.line.form_FC</field>W
+ <field name="model">purchase.order.line</field>
+ <field name="inherit_id" ref="purchase.purchase_order_line_form"/>
+ <field name="arch" type="xml">
+ <xpath expr="//field['product_id']" position="attributes">
+ <attribute name="context">{'supplier_id': parent.partner_id}</attribute>
+ </xpath>
+ </field>
+ </record>
</data>
</openerp>
Follow ups