Odoo Hilfe

0

0
4 Antworten
0
Avatar

Mital Vaghani Indien

--Mital Vaghani--

8360
| 5 2 5
Vadodara, Indien
--Mital Vaghani--
Mital Vaghani Indien
01.07.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 Kommentar
Chaanto Indonesien
01.07.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 Kommentar
Chaanto Indonesien
30.06.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

Fragen Sie
Writer
Stichwörter
Keep Informed
1 Verfolger
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