打印页面增加筛选

This commit is contained in:
guanhuan
2025-06-16 15:43:02 +08:00
parent 9123aeaee8
commit dbe8c95558
2 changed files with 18 additions and 0 deletions

View File

@@ -323,6 +323,7 @@ class SfProductionDemandPlan(models.Model):
'name': _("打印"),
'domain': [('demand_plan_id', 'in', self.ids)],
'views': [[self.env.ref('sf_demand_plan.action_plan_print_tree').id, 'list']],
'search_view_id': self.env.ref('sf_demand_plan.action_plan_print_search').id,
'target': 'new',
}