Комментарии:
Hello, I have created a column in the table using sql raw query, The column is now present in the table but odoo orm is not recognizing that column, How can I resolve that?
ОтветитьChukran 🎉
ОтветитьHello friend, are we able to make alter table - Add column / remove column operation with self.env.cr.execute ?
Ответитьi want to insert values like that:
self.env.cr.execute("insert into scms_equ_count(equipment_catagory,tcount) values(select equipment_catagory,count(*) from scms_company_equipment group by equipment_catagory)")
please help me how i can assign data to variables.
Ответить@Weblearns my queary is running fine. now i want assign data to variables.
Ответитьwhy will it bypass odoo security ? isnt this an issue ?
ОтветитьHow to do it in windows 10? currently, I can only access database by using postgre shell, but it still hard through pycharm's terminal like yours..:'(
ОтветитьPython console error's "self not defined", "env not define" etc.
Ответитьthanks for the tips, very handy
Ответить