[FIX]Improve send now button

bzr revid: vja@tinyerp.com-20130515092203-vjiw604jz8ln894i
This commit is contained in:
Vishmita Jadeja (openerp)
2013-05-15 14:52:03 +05:30
parent 26c3cc082d
commit 9c1c90d233
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<field name="arch" type="xml">
<form string="Email message" version="7.0">
<header>
<button name="send" string="Send Now" type="object" states='outgoing'/>
<button name="send" string="Send Now" type="object" states='outgoing' class="oe_highlight"/>
<button name="mark_outgoing" string="Retry" type="object" states='exception,cancel'/>
<button name="cancel" string="Cancel" type="object" states='outgoing'/>
</header>
-2
View File
@@ -67,14 +67,12 @@ Example: Product: this product is deprecated, do not purchase more than 5.
def onchange_purchase_analytic_plans(self, cr, uid, ids, module_purchase_analytic_plans, context=None):
""" change group_analytic_account_for_purchases following module_purchase_analytic_plans """
if not module_purchase_analytic_plans:
return {}
return {'value': {'group_analytic_account_for_purchases': module_purchase_analytic_plans}}
class account_config_settings(osv.osv_memory):
_inherit = 'account.config.settings'
_columns = {