How to remove/hide currency from journal field in invoice?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
2179
Vistas
Hi,
By default in Odoo, the currency field is only visible to those users who have access to multiple currencies. If the requirement is to hide the currency from all users “invisible” attribute can be used.
<record id="view_move_form_inherit" model="ir.ui.view">
<field name="name">view.move.form.inherit</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='currency_id']" position="replace">
<field name="currency_id" groups="base.group_multi_currency"
attrs="{'readonly': [('posted_before', '=', True)]}"
invisible="1"/>
</xpath>
</field>
</record>
Regards
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
abr 21
|
1782 | ||
Table name is too long
Resuelto
|
|
1
jun 20
|
6172 | |
|
4
may 24
|
12622 | ||
|
1
abr 24
|
3265 | ||
|
0
nov 23
|
2010 |