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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
            
                1
                
                    回复
                
            
        
        
            
                5837
                
                    查看
                
            
        
    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.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|  | 0 4月 23  | 5591 | ||
|  | 1 10月 25  | 5317 | ||
|  | 0 12月 24  | 10309 | ||
|  | 3 9月 24  | 22722 | ||
|  | 5 12月 24  | 54687 | 
