Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

The code below is a server action working to remove supplier info from a list of products

if context and context['active_ids']:

    pid = self.pool('product.supplierinfo').search(cr, uid, [('product_tmpl_id','in',context['active_ids'])])

    self.pool('product.supplierinfo').unlink(cr, uid, pid)


I would like to do the same for removing partner categories; How would you change the code? (I am not a developper and I am using a Saas V11 

Thanks for your help

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 15
4796
2
Aug. 24
1452
0
Jan. 25
1338
1
Okt. 23
3645
2
Juni 23
1749