Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3535 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
4792
2
ส.ค. 24
1446
0
ม.ค. 25
1327
bulk assign tags in contacts แก้ไขแล้ว
1
ต.ค. 23
3631
2
มิ.ย. 23
1742