添加功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user