[FIX]Improve send now button
bzr revid: vja@tinyerp.com-20130515092203-vjiw604jz8ln894i
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user