添加功能

This commit is contained in:
李鹏宇
2026-03-23 11:03:00 +08:00
parent 4476c65b4b
commit 0e71cc4560
+3 -1
View File
@@ -112,7 +112,9 @@ class YuthonCatering(models.Model):
if not future_menu_records:
return
tomorrow_menu = self.env['yuthon.menu.setting'].search([
('menu_date', '=', tomorrow)
('menu_date', '=', tomorrow),
('breakfast_ids', '!=', False),
('lunch_ids', '!=', False)
], limit=1)
if not tomorrow_menu:
return