mirror of
https://gitlab.com/flectra-community/account-closing.git
synced 2024-11-26 07:32:03 +00:00
50 lines
2.4 KiB
XML
50 lines
2.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<flectra>
|
||
|
<record id="view_account_currency_revaluation_wizard" model="ir.ui.view">
|
||
|
<field name="name">Currency revaluation</field>
|
||
|
<field name="model">wizard.currency.revaluation</field>
|
||
|
<field name="type">form</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form string="Currency Revaluation" version="7.0">
|
||
|
<label string="Flectra will generate exchange rate difference entries for each account set as 'Allow Currency revaluation'.
|
||
|
If the account type is payable or receivable : 1 entry will be generated per account/currency/partner.
|
||
|
For other account types : 1 entry will be generated per account/currency.
|
||
|
You can check details of calculation thanks to the Print Currency unrealized report in the generic reports."/>
|
||
|
<group>
|
||
|
<group>
|
||
|
<field name="revaluation_date" />
|
||
|
<field name="journal_id"/>
|
||
|
</group>
|
||
|
<group colspan="4">
|
||
|
<field name="label"/>
|
||
|
</group>
|
||
|
</group>
|
||
|
<group>
|
||
|
<label string="%%(currency)s : Currency to be revaluated"/>
|
||
|
<label string="%%(account)s : Account for which the revaluation is applied"/>
|
||
|
<label string="%%(rate)s : Value of rate applied during revaluation"/>
|
||
|
</group>
|
||
|
<footer>
|
||
|
<button name="revaluate_currency" type="object" string="_Validate" class="oe_highlight"/>
|
||
|
<button string="Cancel" class="oe_link" special="cancel" />
|
||
|
</footer>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="action_view_account_currency_revaluation_wizard" model="ir.actions.act_window">
|
||
|
<field name="name">Currency revaluation</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">wizard.currency.revaluation</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">form</field>
|
||
|
<field name="target">new</field>
|
||
|
</record>
|
||
|
|
||
|
<menuitem
|
||
|
action="action_view_account_currency_revaluation_wizard"
|
||
|
id="menu_view_account_currency_revaluation_wizard"
|
||
|
parent="account.menu_finance_entries"/>
|
||
|
|
||
|
</flectra>
|