[IMP]: account: Revised field name and string for unrealized gain/loss, before it was "Gains and Losses", but as per usability and functionality "Gain or Loss" suits well
bzr revid: rpa@tinyerp.com-20111024123954-8cwlh7kwu1ffvs25
This commit is contained in:
parent
0e54cc6c00
commit
96f306b461
|
@ -428,7 +428,7 @@ class account_account(osv.osv):
|
|||
'debit': fields.function(__compute, fnct_inv=_set_credit_debit, digits_compute=dp.get_precision('Account'), string='Debit', multi='balance'),
|
||||
'foreign_balance': fields.function(__compute, digits_compute=dp.get_precision('Account'), string='Foreign Balance', multi='balance'),
|
||||
'adjusted_balance': fields.function(__compute, digits_compute=dp.get_precision('Account'), string='Adjusted Balance', multi='balance'),
|
||||
'gain_loss_unrealized': fields.function(__compute, digits_compute=dp.get_precision('Account'), string='Unrealized Gains & Losses', multi='balance'),
|
||||
'unrealized_gain_loss': fields.function(__compute, digits_compute=dp.get_precision('Account'), string='Unrealized Gains & Losses', multi='balance'),
|
||||
'reconcile': fields.boolean('Allow Reconciliation', help="Check this box if this account allows reconciliation of journal items."),
|
||||
'exchange_rate': fields.related('currency_id', 'rate', type='float', string='Exchange Rate'),
|
||||
'shortcut': fields.char('Shortcut', size=12),
|
||||
|
|
|
@ -296,7 +296,7 @@
|
|||
</record>
|
||||
|
||||
<record id="view_account_gain_loss_tree" model="ir.ui.view">
|
||||
<field name="name">Unrealized Gains and losses</field>
|
||||
<field name="name">Unrealized Gain or Loss</field>
|
||||
<field name="model">account.account</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
|
@ -308,13 +308,13 @@
|
|||
<field name="foreign_balance"/>
|
||||
<field name="adjusted_balance"/>
|
||||
<field name="balance"/>
|
||||
<field name="gain_loss_unrealized"/>
|
||||
<field name="unrealized_gain_loss"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_gain_loss" model="ir.actions.act_window">
|
||||
<field name="name">Unrealized Gains & Losses </field>
|
||||
<field name="name">Unrealized Gain or Loss</field>
|
||||
<field name="res_model">account.account</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree</field>
|
||||
|
@ -323,7 +323,7 @@
|
|||
</record>
|
||||
|
||||
<menuitem
|
||||
name="Unrealized Gains & Losses"
|
||||
name="Unrealized Gain or Loss"
|
||||
action="action_account_gain_loss"
|
||||
id="menu_unrealized_gains_losses"
|
||||
parent="account.menu_multi_currency"/>
|
||||
|
|
Loading…
Reference in New Issue