콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3981 화면

Hello,


I've got module (car workshop) downloaded from internet, planned to use it on one odoo instance prepared for 3 companies. Unfortunately it turns out that module is (seems?) not supporting multicompany setup in odoo. Currently I see separate, for example, accounting (different invoices / numbers for each company), while as for mentioned module, all data entered in one company are visible for users from other companies.

Does it mean that this module was written wrongly? Or maybe there are some steps I'm not aware of to prepare such a module to work properly in multicompany setup?


regards

Tomasz

아바타
취소

Hello @Tomasz,

we can't say that Module is actually written wrongly based on their requirement they developed

what you can do to make it compatible for multi company setup, kindly create record rule for new object which created in that module.

you can also check base ref. of odoo , odoo created record rule for no. of objects in base module (like sales,purchase,accounting etc.)

Also you can check the below ref. link.

https://www.odoo.com/forum/help-1/question/how-to-setup-multi-company-access-right-6679

Thanks,

Dipak

작성자

Hello Dipak,

Thank you for explanation; from the other hand - I've found in .py file in models line as below:

company_id = fields.Many2many('res.company', string='Company Name', default=lambda self: self.env['res.company']._company_default_get('car.workshop'))

Am I right/wrong guessing that proper change in this line would cause to use as company_id NOT default company, but user's one?

regards

Tomasz

관련 게시물 답글 화면 활동
2
7월 25
2188
3
7월 25
2620
1
7월 25
1868
3
11월 24
361
4
9월 24
3342