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

I want to do something like this with external api

self.env['stock.picking'].sudo().button_validate()


is this possible?

아바타
취소
베스트 답변

Hello Tony,


Yes, it is possible using xmlrpc script.


Here I am sharing a example. 

Please find code example in comment. 

Feel free to contact me if needed

Hope this will help you.

Thanks & Regards,

Email: odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari

아바타
취소

Please find code example here :-

#Code of connection with host after that below code will apply.
picking_ids = model.execute_kw(db, uid, password, 'stock.picking', 'search', [[('state', '=', 'assigned')]])
picking_validate = model.execute_kw(db, uid, password, 'stock.picking', 'button_validate', [picking_ids])

관련 게시물 답글 화면 활동
3
7월 25
2851
1
10월 24
2066
0
9월 23
1648
1
6월 23
2147
xmlrpc search_read 해결 완료
1
6월 23
2313