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

I have module `A` that has in One2many with this two Many2one


 

    partner_user = fields.Many2one('res.partner', string='Hesaby Customer')
    subscription_manager_id = fields.Many2one('n_hesaby_subscription_manager.subscription_manager', string='Subscription Manager ID')
 


in module `B` i what to know if module A has recored that has partner_user equate to created_by then reduced the recored `A` id


    created_by = fields.Many2one('res.users', string='Created By', default=lambda self: self.env.uid, readonly=True)
 

an not sure how to start solving this problem it can you please help I have been trying to find a way for two days now


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 21
6165
1
ส.ค. 21
2337
1
เม.ย. 21
3779
0
เม.ย. 21
2272
1
ธ.ค. 21
3501