New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i got error "The company hierarchy cannot be changed" when i try to set parent company for sub company #162192
Comments
From reading your comment I guess this an issue with Odoo 17. Can you be clear about the steps to reproduce this? I see you commented on dc4dcea already. |
I was able to reproduce this. Maybe related #86237 |
Hi @lathama , please check my video reproduce this |
Hi Andrew Latham
I just updated video for reproduce this here
#162192 (comment)
Please review it
Thanks!
Vào Th 5, 18 thg 4, 2024 vào lúc 01:47 Andrew Latham <
***@***.***> đã viết:
… I was able to reproduce this.
Maybe related #86237 <#86237>
—
Reply to this email directly, view it on GitHub
<#162192 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI4T3BX5Y2XHDUCMZ2GE6LLY527VNAVCNFSM6AAAAABGLCEOC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRHE4DINRWGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
#147912 (comment) found the why |
So maybe that field in the view needs to be read-only after it is set once. |
Hello, I notice this error also on Odoo 17. Regards |
@Rakoun it is working as designed as noted at #147912 (review) |
@lathama it is weird because the notion of branches don't allow to create own chart of account. So if I want to create an holding that have children with their own chart of account I can't with this way. I mean that there is no way to understand that there are children companies. I will need to add a new field with odoo studio for example. |
I got error "The company hierarchy cannot be changed" when I try to set the parent company for a sub company
ref code: base/model/res_company.py
odoo/odoo/addons/base/models/res_company.py
Line 303 in 07f6d71
Anyone can explain the purpose of this code.
Setup parent company still works in other versions, 14,15,16 , but only 17 we can do that
The text was updated successfully, but these errors were encountered: