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
Cette question a été signalée
1
Répondre
738
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
août 24
|
4572 | ||
|
|
0
mai 23
|
2225 | ||
|
|
2
juin 26
|
259 | ||
|
|
1
déc. 24
|
3230 | ||
|
|
0
mars 24
|
2850 |
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