I have a custom module that adds features to the invoices, but I want to take an account models field and remove its invisible attribute. I know how to do this from developer mode, but I would like to enforce it with my invoicing module.
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
6867
Tampilan
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
1
Des 25
|
228 | ||
|
|
1
Sep 25
|
1060 | ||
|
Unselect the Show in Invoices Footer option
Diselesaikan
|
|
3
Nov 25
|
4043 | |
|
invoice number prefix
Diselesaikan
|
|
1
Nov 24
|
4061 | |
|
|
1
Des 23
|
3643 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d