def post_init_hook(cr, registry): hooks.post_init_hook( cr, 'product.product_comp_rule', 'product.template', ) env = api.Environment(cr, SUPERUSER_ID, {}) env['product.template'].sudo().search([])._compute_visible_for_all_companies()
def post_init_hook(cr, registry): hooks.post_init_hook( cr, 'base.res_partner_rule', 'res.partner', ) env = api.Environment(cr, SUPERUSER_ID, {}) env['res.partner'].sudo().search([])._compute_visible_for_all_companies()
def post_init_hook(cr, registry): hooks.post_init_hook( cr, 'mint_client_multi_store.product_catelog_multi_store_rule', 'product.catelog', )
def post_init_hook(cr, registry): hooks.post_init_hook( cr, 'base.res_partner_rule', 'res.partner', )
def post_init_hook(cr, registry): hooks.post_init_hook( cr, "product.product_comp_rule", "product.template", )
def post_init_hook(cr, registry): hooks.post_init_hook( cr, 'product.product_comp_rule', 'product.template', )
def post_init_hook(cr, registry): hooks.post_init_hook( cr, "base.res_partner_rule", "res.partner", )