Merge pull request !7421 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-12-29 11:06:10 +00:00
committed by Gitee
2 changed files with 2 additions and 0 deletions
@@ -9,6 +9,7 @@ class InheritPurchaseOrder(models.Model):
_name = 'purchase.order'
_inherit = ['purchase.order', 'soong.workflow.mixin']
active = fields.Boolean('Active', default=True, tracking=True)
json_display = fields.Char(
string="物品详情",
compute='_compute_json_display',
@@ -38,6 +38,7 @@
</xpath>
<xpath expr="//field[@name='name']" position="after">
<field name="code"/>
<field name="active"/>
</xpath>
<xpath expr="//field[@name='activity_ids']" position="attributes">
<attribute name="column_invisible">1</attribute>