Skip to Content
मेन्यू
This question has been flagged
2 Replies
2568 Views

by default when we create stages, it will visible in all companies. How to make company specific stages? Is there any possibility to make this without record rules?If yes please provide.
Thanks in adwance.

Avatar
Discard
Best Answer

Is there anyway to do this through the GUI?  Settings, Technical, Models, Add a line.....? 

Avatar
Discard
Best Answer

Hi,

By default, we don't have this option, but this can be achieved by adding a new field in the project.project.stage model and in the view.

company_id = fields.Many2one('res.company', string='Company', default=lambda self: self.env.company))

After adding this field, you can now override the stage_id field defined in project.project model and add the field parameter company_dependent=True for making the stages company-specific.


Thanks

Avatar
Discard
Related Posts Replies Views Activity
2
जुल॰ 18
5765
1
जुल॰ 25
564
2
सित॰ 25
780
2
सित॰ 25
1571
1
जुल॰ 25
1209