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
Această întrebare a fost marcată
1
Răspunde
771
Vizualizări
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
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
2
aug. 24
|
4657 | ||
|
|
0
mai 23
|
2248 | ||
|
|
2
iun. 26
|
379 | ||
|
|
1
dec. 24
|
3266 | ||
|
|
0
mar. 24
|
2936 |
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