Merge lp:~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde into lp:~humanitarian-core-editors/openerp-humanitarian-ngo/ngo-addons

Proposed by Romain Deheele - Camptocamp
Status: Merged
Merged at revision: 108
Proposed branch: lp:~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde
Merge into: lp:~humanitarian-core-editors/openerp-humanitarian-ngo/ngo-addons
Diff against target: 12 lines (+1/-1)
1 file modified
logistic_requisition/view/logistic_requisition.xml (+1/-1)
To merge this branch: bzr merge lp:~camptocamp/openerp-humanitarian-ngo/ngo-addons-small-xml-improvement-rde
Reviewer Review Type Date Requested Status
Nicolas Bessi - Camptocamp (community) code review, no test Approve
Leonardo Pistone code review Approve
Review via email: mp+205711@code.launchpad.net

Description of the change

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

To post a comment you must log in.
Revision history for this message
Leonardo Pistone (lepistone) wrote :

thanks!

review: Approve (code review)
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

LGTM

review: Approve (code review, no test)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'logistic_requisition/view/logistic_requisition.xml'
2--- logistic_requisition/view/logistic_requisition.xml 2013-10-31 09:03:35 +0000
3+++ logistic_requisition/view/logistic_requisition.xml 2014-02-11 07:52:03 +0000
4@@ -83,7 +83,7 @@
5 </group>
6 <field name="line_ids" colspan="4" nolabel="1"
7 attrs="{'readonly': [('state', '!=' ,'draft')]}"
8- context="{'default_date_delivery':date_delivery}">
9+ context="{'default_date_delivery':date_delivery, 'default_logistic_user_id':user_id}">
10 <tree string="Requisition Lines" editable="bottom">
11 <field name="name"/>
12 <field name="product_id" on_change="onchange_product_id(product_id,requested_uom_id)"/>

Subscribers

People subscribed via source and target branches