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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
2
Replies
5719
Tampilan
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()
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to solved this SQL error ??
Diselesaikan
|
|
1
Sep 21
|
2735 | |
|
0
Okt 21
|
1691 | ||
|
2
Mar 18
|
9523 | ||
ERROR SQL Connection (bad user)
Diselesaikan
|
|
3
Des 23
|
18510 | |
|
0
Mei 24
|
814 |