Odoo Ayuda


1 Answer
Sandro Regis
15/6/19 2:00

O objeto 'value' nao esta recebendo nenhum valor ao ser processado.


value = self.env['sale.order'].browse([id]) //isto eh uma consulta no banco de dados

Se o id nao for encontrado para a consulta na tabela sale_order ira retornar NADA (vazio), logo:
value.id  nao tem como possuir id para satisfazer a chamada na programacao;

1 Comentario
twanda AG, Ermin Trevisan
15/6/19 2:15

Please respect the forum rules, this is an english only forum.

Realizar una pregunta
Keep Informed
1 seguidor(es)
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.

Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now