← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/purchase-wkfl/7.0-fix-button-visibility into lp:purchase-wkfl

 

Nicolas Bessi - Camptocamp has proposed merging lp:~camptocamp/purchase-wkfl/7.0-fix-button-visibility into lp:purchase-wkfl.

Commit message:
[FIX] visibility of open agreement button in embeded form

Requested reviews:
  Purchase Core Editors (purchase-core-editors)

For more details, see:
https://code.launchpad.net/~camptocamp/purchase-wkfl/7.0-fix-button-visibility/+merge/205304

[FIX] visibility of open agreement button in embeded form
-- 
https://code.launchpad.net/~camptocamp/purchase-wkfl/7.0-fix-button-visibility/+merge/205304
Your team Purchase Core Editors is requested to review the proposed merge of lp:~camptocamp/purchase-wkfl/7.0-fix-button-visibility into lp:purchase-wkfl.
=== modified file 'framework_agreement/view/product_view.xml'
--- framework_agreement/view/product_view.xml	2014-02-05 17:32:02 +0000
+++ framework_agreement/view/product_view.xml	2014-02-07 09:17:05 +0000
@@ -15,7 +15,7 @@
                           context="{}"
                           string="Open Agreement"
                           type="object"
-                          attrs="{'invisible': ['|', ('draft', '=', False), ('start_date', '=', False), ('end_date', '=', False), ('framework_agreement_pricelist_ids', '=', False)]}"/>
+                          attrs="{'invisible': ['|', ('draft', '=', False), '|', ('start_date', '=', False), '|', ('end_date', '=', False), '|', ('framework_agreement_pricelist_ids', '=', False)]}"/>
                   <field name="state"
                          widget="statusbar"
                          nolabel="1"


Follow ups