Odoo Help

0

0
4 Answers
0
Avatar

Mital Vaghani อินเดีย

--Mital Vaghani--

7885
| 5 2 5
Vadodara, อินเดีย
--Mital Vaghani--
Mital Vaghani อินเดีย
1/7/19 01:56

Hello
There is issue of indentation of your code, if possible can you please show us your code lines (Screenshot).
So community can help you.

1 ความคิดเห็น
Chaanto อินโดนีเซีย
1/7/19 02:43

Hey Dude, thanks for your attention. i already fix the problem.

Best Regards,

Chaanto

0

Hi Chaanto,

I think you would like to loop through reg.member_ids ('res.partner') instead of looping through self.

@api.multi
def action_create_history(self):
    self.ensure_one()
    for member in self.member_ids:
        do_something​​
1 ความคิดเห็น
Chaanto อินโดนีเซีย
30/6/19 22:37

Hey, thanks for try fix my problem. i fix it already, the problem is about my hierarchy of my code.

Best regards,

Chaanto

Ask a Question
Writer
ป้ายกำกับ
Keep Informed
1 ผู้ติดตาม
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now