Odoo Help

0

0
1 Risposta
0
Avatar

Gokulakrishnan Murugesan India

--Gokulakrishnan Murugesan--

4338
| 6 3 5
Valasaravakkam, Chennai, India
--Gokulakrishnan Murugesan--


Gokulakrishnan Murugesan India
01/09/19, 05:20

Hi,

You can get this message at the time of the process gone without ending(like looping) like following code

@api.model
def create(self, vals):
     if vals:
         # Here the process will run without end
         while True:
             print("Working Fine")
     return super(ClassName, self).create(vals)

Thanks

1 Commento
Kalesha Shaik India
02/09/19, 23:36

Hi,

I'm user of Odoo and I don't know about coding.

Fai una domanda
Writer
Keep Informed
1 follower(s)
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