can i use sql query in my automated (user interface) action with odoo?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
2
답글
5903
화면
Yes, if you select "execute python code", you can execute SQL in automated action as shown in an example:
query = """
select * from your_table where id = """+str(self.id)+"""
"""
self.env.cr.execute(query)
data = self.env.cr.fetchone()
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
9월 21
|
2923 | ||
|
0
10월 21
|
1691 | ||
|
2
3월 18
|
9663 | ||
|
3
12월 23
|
18642 | ||
|
0
5월 24
|
909 |