콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3458 화면

Hi I want to do an automated action to check a condition every time I add a product in the sales order.


I have tried to do it based on this post but have not succeeded.

https://www.odoo.com/es_ES/forum/ayuda-1/question/i-have-a-script-i-want-to-run-against-a-sales-order-in-a-python-code-chunk-within-automated-actions-163965

The idea I have is that it validates when the order quantity is modified.

https://ibb.co/8dFt8fn


Odoo version: 14


Thanks in advance for your help!

아바타
취소
작성자

Thanks for your help Chris! 

베스트 답변

The other answer relates to running an Automated Action on a sales order and then checking sales order lines.

If you want to do something whenever you add a product in the sales order it should be like this:


Or if the quantity is changed:



아바타
취소