تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2540 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 18
5736
1
يوليو 25
559
2
سبتمبر 25
728
2
سبتمبر 25
1540
1
يوليو 25
1170