Merge lp:~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde into lp:openerp-humanitarian-ngo/purchase-wkfl

Proposed by Romain Deheele - Camptocamp
Status: Merged
Merged at revision: 76
Proposed branch: lp:~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde
Merge into: lp:openerp-humanitarian-ngo/purchase-wkfl
Diff against target: 13 lines (+3/-0)
1 file modified
purchase_extended/view/purchase_order.xml (+3/-0)
To merge this branch: bzr merge lp:~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde
Reviewer Review Type Date Requested Status
Nicolas Bessi - Camptocamp (community) no test, code review Approve
Leonardo Pistone code review Approve
Review via email: mp+205712@code.launchpad.net

Description of the change

Hello,

This branch adds possibility to send by mail a purchase order in draftpo state.

Regards,

Romain

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

Thanks Romain.

where is this view defined? maybe we can modify it directly?

review: Needs Information
Revision history for this message
Leonardo Pistone (lepistone) wrote :

Ah, no it is core openerp.

Good then! thanks

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

LGTM

review: Approve (no test, code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase_extended/view/purchase_order.xml'
2--- purchase_extended/view/purchase_order.xml 2013-11-13 08:49:37 +0000
3+++ purchase_extended/view/purchase_order.xml 2014-02-11 08:00:38 +0000
4@@ -25,6 +25,9 @@
5 <attribute name="states">cancel,draftpo</attribute>
6 <attribute name="string">Reset to Draft RFQ</attribute>
7 </xpath>
8+ <xpath expr="//button[@string='Send PO by Email']" position="attributes">
9+ <attribute name="states">draftpo,approved</attribute>
10+ </xpath>
11 <xpath expr="//button[@name='bid_received']" position="attributes">
12 <attribute name="string">Bid Encoded</attribute>
13 <attribute name="type">object</attribute>

Subscribers

People subscribed via source and target branches