i found that there is a field on project.project model which is auto_account_id but i dont see it anywhere in code, is there any idea how is it made? cause as far as i know, to create a custom field, it is required an x_ in the beginning of the field
لقد تم الإبلاغ عن هذا السؤال
1
الرد
731
أدوات العرض
Hello,
The field you are seeing comes from Odoo’s analytic framework and is added automatically through an inherited mixin used in the Project model.(See Below)
Let me know if you want help regarding this
Thanks
do you know what is the purpose of the field? i see that in the code, the field is globally added but i dont really understand what it does
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
2
أغسطس 24
|
4572 | ||
|
|
0
مايو 23
|
2225 | ||
|
|
2
يونيو 26
|
257 | ||
|
|
1
ديسمبر 24
|
3227 | ||
|
|
0
مارس 24
|
2849 |
Hello,
It is useful when Journal Entriese when your are looking at the Journal Items. You want to see the analytic account associated with each line, but your company uses three different plans: Project, Department, and Internal. It fetches the value from the specific database column associated with that plan.
https://www.odoo.com/documentation/18.0/applications/finance/accounting/reporting/analytic_accounting.html#analytic-plans