摘要:
https://www.cybrosys.com/blog/how-to-create-a-dynamic-report-in-odoo-16 https://www.cybrosys.com/blog/how-to-customize-existing-dynamic-reports-in-odo 阅读全文
posted @ 2023-10-02 21:09
CrossPython
阅读(48)
评论(0)
推荐(0)
摘要:
模型层面 一:_table_exist 检查该模型对于的数据库表是否存在,是则返回1,否则返回0. @api.model_cr def _table_exist(self): pass 模型记录层面 二:create(self,vals) 记录的创建函数,一般情况下,是根据视图传过来的dict对象, 阅读全文
posted @ 2023-10-02 20:58
CrossPython
阅读(499)
评论(0)
推荐(0)
摘要:
1、图示总概览-动作分类窗口动作(Window Actions) (ir.actions.act_window)网址URL动作(URL Actions) (ir.actions.act_url)服务器动作(Server Actions) (ir.actions.server)报告动作(Report 阅读全文
posted @ 2023-10-02 13:15
CrossPython
阅读(356)
评论(0)
推荐(0)
摘要:
report = self.env['ir.actions.report']._get_report_from_name("lims_report.print_entrust_{}".format(type)) rendered_docx = report.render_doc_doc(self, 阅读全文
posted @ 2023-10-02 13:12
CrossPython
阅读(66)
评论(0)
推荐(0)
浙公网安备 33010602011771号