Hi,
I need an ID record, but even if it doesn't exist, it still returns an ID.
Even if the bom is not available, it still display a message.
please help me.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I need an ID record, but even if it doesn't exist, it still returns an ID.
Even if the bom is not available, it still display a message.
please help me.
Hi,
You mean this line,
If this is returning any value it means there will be record in corresponding model having the code in search condition. If you feel the code is working wrongly, print and see what you have in the values.get('code') and make a search it from the search view and see.
If this is not the line creating the issue, it will be better if you can specify the line.
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up