Ir al contenido
Menú
Se marcó esta pregunta

Dear Community,


I need a settings of my custome module for company


I have created inherit res.company and  res.config.settings

I have created the field "group_extended_shares" in the two models


The create field in the res.config.settings is :

    group_extended_shares = fields.Boolean(        default=False, string="Gestión participaciones", readonly=False, related='company_id.group_extended_shares')

 
The create field in the res.company is 

    group_extended_shares = fields.Boolean(        default=False, string="Gestión participaciones", check_company=True, company_dependent=True, config_parameter='brillservice.group_extended_shares', implied_group='brillservice.group_extended_shares')


The res.company have the check of  _check_company_auto =True



I checked it but the configuration is not save for especific company.


Could anybody help me? 


 Kind regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 25
1498
1
jun 25
715
2
jun 25
1720
0
ago 24
1770
4
jun 25
2381