修改固定列tree的传参方式

This commit is contained in:
hyyy
2025-06-25 14:01:34 +08:00
parent 99ac89f995
commit 4b026535f8

View File

@@ -4,8 +4,7 @@
<field name="model">sf.production.demand.plan</field> <field name="model">sf.production.demand.plan</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree string="需求计划" default_order="sequence desc,id desc" editable="bottom" <tree string="需求计划" default_order="sequence desc,id desc" editable="bottom"
class="demand_plan_tree" class="demand_plan_tree freeze-columns-before-part_number">
options='{"freeze_columns_before": "part_number"}'>
<header> <header>
<button string="打印" name="button_action_print" type="object" <button string="打印" name="button_action_print" type="object"
class="btn-primary"/> class="btn-primary"/>