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
- 会計
- 在庫
- PoS
- プロジェクト
- MRP
この質問にフラグが付けられました
1
返信
2607
ビュー
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
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
|
0
4月 21
|
2211 | ||
|
|
1
6月 20
|
6806 | ||
|
|
4
5月 24
|
14130 | ||
|
|
1
4月 24
|
4357 | ||
|
|
0
11月 23
|
3039 |