Skip to Content
मेन्यू
This question has been flagged

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
Discard
Related Posts Replies Views Activity
1
मार्च 15
4794
2
अग॰ 24
1447
0
जन॰ 25
1334
1
अक्तू॰ 23
3633
2
जून 23
1742