← Back to team overview

openerp-community-reviewer team mailing list archive

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

 

Romain Deheele - Camptocamp has proposed merging lp:~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde into lp:openerp-humanitarian-ngo/purchase-wkfl.

Requested reviews:
  OpenERP for Humanitarian Core Editors (humanitarian-core-editors)

For more details, see:
https://code.launchpad.net/~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde/+merge/205712

Hello,

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

Regards,

Romain
-- 
https://code.launchpad.net/~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde/+merge/205712
Your team OpenERP for Humanitarian Core Editors is requested to review the proposed merge of lp:~camptocamp/openerp-humanitarian-ngo/7.0-purchase-wkfl-adds-rde into lp:openerp-humanitarian-ngo/purchase-wkfl.
=== modified file 'purchase_extended/view/purchase_order.xml'
--- purchase_extended/view/purchase_order.xml	2013-11-13 08:49:37 +0000
+++ purchase_extended/view/purchase_order.xml	2014-02-11 08:00:38 +0000
@@ -25,6 +25,9 @@
                     <attribute name="states">cancel,draftpo</attribute>
                     <attribute name="string">Reset to Draft RFQ</attribute>
                 </xpath>
+                <xpath expr="//button[@string='Send PO by Email']" position="attributes">
+                    <attribute name="states">draftpo,approved</attribute>
+                </xpath>
                 <xpath expr="//button[@name='bid_received']" position="attributes">
                     <attribute name="string">Bid Encoded</attribute>
                     <attribute name="type">object</attribute>


Follow ups