【发布时间】:2018-09-06 08:56:35
【问题描述】:
请帮助我准确理解这部分代码(带有 Odoo 的 XML)<attribute> 标签
<xpath expr="//tree/field[@name='account_id']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='number']" position="attributes">
<attribute name="string">PO Number</attribute>
<attribute name="readonly">0</attribute>
</xpath>
【问题讨论】:
-
不是python问题。