mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-23 17:22:00 +02:00
Initial commit: Accounting packages
This commit is contained in:
commit
4ef34c2317
2661 changed files with 1709616 additions and 0 deletions
21
odoo-bringout-oca-ocb-account/account/views/res_currency.xml
Normal file
21
odoo-bringout-oca-ocb-account/account/views/res_currency.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record id="res_currency_form_inherit" model="ir.ui.view">
|
||||
<field name="name">res.currency.form.inherit</field>
|
||||
<field name="model">res.currency</field>
|
||||
<field name="inherit_id" ref="base.view_currency_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//sheet" position="before">
|
||||
<field name="display_rounding_warning" invisible="1"/>
|
||||
<div class="alert alert-warning" role="alert" attrs="{'invisible': [('display_rounding_warning', '=', False)]}">
|
||||
<strong>This currency has already been used to generate accounting entries.</strong> <br/>
|
||||
Changing its rounding factor now will not change the rounding made on previous entries; possibly causing an inconsistency with the new ones.
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue