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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- المشروع
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
6897
أدوات العرض
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
ديسمبر 25
|
510 | ||
|
|
1
سبتمبر 25
|
1141 | ||
|
|
3
نوفمبر 25
|
4146 | ||
|
invoice number prefix
تم الحل
|
|
1
نوفمبر 24
|
4214 | |
|
|
1
ديسمبر 23
|
3752 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d