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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
2190
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Apr 21
|
1792 | ||
Table name is too long
Diselesaikan
|
|
1
Jun 20
|
6185 | |
Odoo 13. Don't close a wizard when Click a button
Diselesaikan
|
|
4
Mei 24
|
12706 | |
|
1
Apr 24
|
3319 | ||
|
0
Nov 23
|
2040 |