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
This question has been flagged
1
Reply
720
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
Aug 24
|
4572 | ||
|
|
0
May 23
|
2225 | ||
|
|
2
Jun 26
|
253 | ||
|
|
1
Dec 24
|
3226 | ||
|
|
0
Mar 24
|
2847 |
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