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
Esta pregunta ha sido marcada
1
Responder
729
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
2
ago 24
|
4572 | ||
|
|
0
may 23
|
2225 | ||
|
|
2
jun 26
|
257 | ||
|
|
1
dic 24
|
3227 | ||
|
|
0
mar 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