我在销售报告中遇到了一些自定义销售问题。 我面临的问题。
?xml version =“ 1.0” encoding =“ UTF-8”?>
<data>
<report
id = "sale_template_action"
string = "Quotation/Order without PID"
model = "sale.order"
report_type = "qweb-pdf"
file="customization.custom_sale_report_product_without_id"
name="customization.custom_sale_report_product_without_id"
print_report_name="(object.state in ('draft', 'sent') and 'Quotation - %s' % (object.name)) or 'Order - %s' % (object.name)"
/>
<report
id="sale.action_report_saleorder"
string="Quotation/Order with PID"
model="sale.order"
report_type="qweb-pdf"
file = "customization.custom_sale_report"
name = "customization.custom_sale_report"
print_report_name="(object.state in ('draft', 'sent') and 'Quotation - %s' % (object.name)) or 'Order - %s' % (object.name)"
/>
</data>
系统升级后, sale.action_report_saleorder 字符串在打印下拉按钮中显示为子菜单(附近操作)。当我卸载模块时,sale.action_report_saleorder的字符串(名称)仍然显示在打印下拉菜单和抛出问题中。卸载模块后,为什么未显示原始销售报告的字符串?