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

Suppose you have this

    my_prod = self.pool.get ('product.product').browse (cr, uid, [16])

Say we know almost nothing of this object, my question: Is there a way to get all possible methods and members of my_prod?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

self.answer.attempt:

If  we had "prod_pool_object = self.pool.get ('product.product')" instead
then a possible answer would be:  "prod_pool_object.fields_get_keys(cr, uid)"

 

 

อวตาร
ละทิ้ง