问题标签 [odoo-wizard]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - 如何在销售报价中通过电子邮件发送抄送电子邮件,我应该为电子邮件抄送使用不同的关键字吗?
我正在重载mail.compose.message 的get_mail_values 方法。我只添加了 email_cc 字段,我希望邮件应该发送给两个收件人。
根据我的结论,mail.compose.message 将控制权传递给 mail.mail 对象,而 mail.mail 对象的 send 方法负责将邮件发送给普通收件人和抄送收件人。
请建议我在哪里做错了?
odoo - 带有向导的 Odoo11 自定义报告
我想使用自定义配置打印一些产品条形码。
现在,问题是,我已经创建了向导,但是当我单击打印按钮时,没有数据传输到报告中。
在上面的代码中,我也有ids
模型product.product
。
在上面的代码中,我只是想打印我拥有的数据,但我在文档中什么都没有。
这行打印product.product
模型也是如此。但ids
不是在这里,这就是我遇到的问题。
谁能帮我解释为什么会这样?或者有没有其他方法可以实现这一目标?
odoo - How to override wizard's method on odoo 12
I am trying to override a single method on wizard's class that gets executed when the user click submit.
account_consolidation_custom/wizard/CustomClass.py
account_consolidation_custom/__manifest_.py
The method's name is exactly the same as the original, but when I click on the submit button, nothing seems to happen, is still calling the method from the base module instead of the custom.
Do you know how to get only one method overwritten instead of the whole wizard class?
python - Odoo13:ir.actions.act_window.target 的值错误:'New'"
我正在尝试创建一个向导并总是收到此错误。我遵循了现有的 odoo 向导模板,所以我不确定它可能是什么,因为我仔细检查了所有括号。
底部代码是 Pythoncode,在 XML 之上。