In a multi-company context, when I try to make a new account move, the company_id field is always a default company and is read only, even if the diary is from a different company. Why does this happens and how can I change this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
5274
Views
The field company_id is updated to the company of the journal when the account move is saved, the field company_id did not change in the edit form because on-change methods does not work with read only fields.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Apr 23
|
4970 | ||
|
0
Dec 24
|
9465 | ||
|
3
Sep 24
|
21662 | ||
|
5
Dec 24
|
52948 | ||
|
4
Jul 24
|
10576 |