← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~alhashash/ocb-addons/7.0-bug-1317455-check-show-amount-in-words into lp:ocb-addons

 

Mohammad Alhashash has proposed merging lp:~alhashash/ocb-addons/7.0-bug-1317455-check-show-amount-in-words into lp:ocb-addons.

Requested reviews:
  OpenERP Community Backports (ocb)
Related bugs:
  Bug #1317455 in OpenERP Community Backports (Addons): "[7.0] [account_check_writing] Amount in words and print check button are not shown in "Write Checks" form"
  https://bugs.launchpad.net/ocb-addons/+bug/1317455

For more details, see:
https://code.launchpad.net/~alhashash/ocb-addons/7.0-bug-1317455-check-show-amount-in-words/+merge/218930
-- 
https://code.launchpad.net/~alhashash/ocb-addons/7.0-bug-1317455-check-show-amount-in-words/+merge/218930
Your team OpenERP Community Backports is requested to review the proposed merge of lp:~alhashash/ocb-addons/7.0-bug-1317455-check-show-amount-in-words into lp:ocb-addons.
=== modified file 'account_check_writing/account_voucher_view.xml'
--- account_check_writing/account_voucher_view.xml	2014-03-10 08:54:20 +0000
+++ account_check_writing/account_voucher_view.xml	2014-05-09 07:52:19 +0000
@@ -12,14 +12,14 @@
                 <field name="amount" position="after">
                     <newline/>
                     <field name="allow_check" invisible="1"/>
-                    <field name="amount_in_word" attrs="{'invisible':[('allow_check','!=',1)]}" nolabel="1" colspan="6"/>
+                    <field name="amount_in_word" attrs="{'invisible':[('allow_check','!=',True)]}" nolabel="1" colspan="6"/>
                     <newline/>
                 </field>
                 <field name="number" position="replace">
                     <field name="number" attrs="{'readonly':[('allow_check','!=',1)]}" />
                 </field>
                 <button name="proforma_voucher" position="after">
-                    <button name="print_check" icon="gtk-print" string="Print Check" type="object" attrs="{'invisible':['|',('allow_check','!=',1),('state','!=','posted') ]}" class="oe_highlight"/>
+                    <button name="print_check" icon="gtk-print" string="Print Check" type="object" attrs="{'invisible':['|',('allow_check','!=',True),('state','!=','posted') ]}" class="oe_highlight"/>
                 </button>
             </field>
         </record>


Follow ups