!9245 Merge remote-tracking branch 'origin/dev' into dev
Merge pull request !9245 from 李鹏宇/dev
This commit is contained in:
@@ -26,8 +26,8 @@ class YuthonCatering(models.Model):
|
||||
], default='unconfirmed', string='状态')
|
||||
|
||||
def task_catering22(self):
|
||||
catering_ids = self.env['yuthon.catering.conf'].search([('date', '=', fields.date.today())])
|
||||
for cat in catering_ids:
|
||||
cat_ids = self.env["yuthon.confirm.users"].browse(self._context.get('active_ids', self._context.get('active_id')))
|
||||
for cat in cat_ids:
|
||||
cat.write({
|
||||
'breakfast': True,
|
||||
'lunch': True,
|
||||
|
||||
Reference in New Issue
Block a user