Odoo Help

0

0
2 Answers
4
Avatar

Avinash Nk

--Avinash Nk--

3251
| 5 3 9
Calicut, India
--Avinash Nk--

 

Avinash Nk
8/16/17, 1:35 AM

Hi 

The syntax of search method is wrong.

change this line

self.search([('date', '=', current_date)]).write({'state': 'confirm'})
Ask a Question
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