添加功能
This commit is contained in:
@@ -1069,6 +1069,7 @@ class VacationMealLine(models.Model):
|
||||
}
|
||||
|
||||
def create(self, vals):
|
||||
vals = vals[0]
|
||||
if vals.get('vacation_id'):
|
||||
vacation_main = self.env['yuthon.vacation.reports'].browse(vals['vacation_id'])
|
||||
if vacation_main.vacation_state == 'confirmed':
|
||||
|
||||
Reference in New Issue
Block a user