摘要: https://blog.csdn.net/fqfq123456/article/details/123096252 阅读全文
posted @ 2023-05-21 21:12 CrossPython 阅读(34) 评论(0) 推荐(0) 编辑
摘要: def set_values(self): super(ResConfigSettings, self).set_values() self.env['ir.config_parameter'].sudo().set_param('invoicefilepath', self.invoicefile 阅读全文
posted @ 2023-05-21 21:10 CrossPython 阅读(21) 评论(0) 推荐(0) 编辑
摘要: from odoo.exceptions import UserError import requests from odoo.http import request def action_commit_approval(self,action_type='commit_approval'): "" 阅读全文
posted @ 2023-05-21 18:36 CrossPython 阅读(59) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL获取数据库中所有table名: SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg%' AND tablename NOT LIKE 'sql_%' ORDER BY tablename; PostgreSQL 阅读全文
posted @ 2023-05-21 15:43 CrossPython 阅读(684) 评论(0) 推荐(0) 编辑