Merge lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-domain-nbi into lp:openerp-humanitarian-ngo/purchase-wkfl

Proposed by Nicolas Bessi - Camptocamp
Status: Merged
Merged at revision: 77
Proposed branch: lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-domain-nbi
Merge into: lp:openerp-humanitarian-ngo/purchase-wkfl
Diff against target: 11 lines (+1/-0)
1 file modified
purchase_requisition_extended/model/purchase_requisition.py (+1/-0)
To merge this branch: bzr merge lp:~camptocamp/openerp-humanitarian-ngo/purchase-wkfl-fix-domain-nbi
Reviewer Review Type Date Requested Status
Leonardo Pistone code review Approve
Romain Deheele - Camptocamp (community) code review Approve
OpenERP for Humanitarian Core Editors Pending
Review via email: mp+207455@code.launchpad.net

Description of the change

Fix pricelist domain on purchase requisition

To post a comment you must log in.
Revision history for this message
Romain Deheele - Camptocamp (romaindeheele) wrote :

Hi,

LGTM,

Romain

review: Approve (code review)
Revision history for this message
Leonardo Pistone (lepistone) wrote :

ok!

review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase_requisition_extended/model/purchase_requisition.py'
2--- purchase_requisition_extended/model/purchase_requisition.py 2014-02-07 07:58:00 +0000
3+++ purchase_requisition_extended/model/purchase_requisition.py 2014-02-20 14:55:23 +0000
4@@ -80,6 +80,7 @@
5 'pricelist_id': fields.many2one(
6 'product.pricelist',
7 'Pricelist',
8+ domain=[('type', '=', 'purchase')],
9 help="If set that pricelist will be used to generate the RFQ."
10 "Mostely used to ask a requisition in a given currency."
11 ),

Subscribers

People subscribed via source and target branches