openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #03698
[Merge] lp:~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde into lp:openerp-humanitarian-ngo
Romain Deheele - Camptocamp has proposed merging lp:~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde into lp:openerp-humanitarian-ngo.
Requested reviews:
OpenERP for Humanitarian Core Editors (humanitarian-core-editors)
For more details, see:
https://code.launchpad.net/~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde/+merge/205711
Hello,
This branch adds default value to user_id value on logistic requisition lines.
This default value is picked from user field in header.
Regards,
Romain
--
https://code.launchpad.net/~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde/+merge/205711
Your team OpenERP for Humanitarian Core Editors is requested to review the proposed merge of lp:~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde into lp:openerp-humanitarian-ngo.
=== modified file 'logistic_requisition/view/logistic_requisition.xml'
--- logistic_requisition/view/logistic_requisition.xml 2013-10-31 09:03:35 +0000
+++ logistic_requisition/view/logistic_requisition.xml 2014-02-11 07:52:03 +0000
@@ -83,7 +83,7 @@
</group>
<field name="line_ids" colspan="4" nolabel="1"
attrs="{'readonly': [('state', '!=' ,'draft')]}"
- context="{'default_date_delivery':date_delivery}">
+ context="{'default_date_delivery':date_delivery, 'default_logistic_user_id':user_id}">
<tree string="Requisition Lines" editable="bottom">
<field name="name"/>
<field name="product_id" on_change="onchange_product_id(product_id,requested_uom_id)"/>
Follow ups