odoo 中%()d的使用
例如:
源代码中是这样写的
<button
name="%(hospital_management.action_medical_appointments_invoice_wizard)d"
string="Create Invoice" type="action" class="oe_highlight" />
经过odoo 编译之后:
<button
name="318"
string="Create Invoice" type="action" class="oe_highlight" />
也就是说会将动作的外部id名称转换为外部id的id
本文来自博客园,作者:那时一个人,转载请注明原文链接:https://www.cnblogs.com/qianxunman/p/12293623.html