diff --git a/yuthon_notice/models/yuthon_notice.py b/yuthon_notice/models/yuthon_notice.py index 811185bb0..f6260125c 100644 --- a/yuthon_notice/models/yuthon_notice.py +++ b/yuthon_notice/models/yuthon_notice.py @@ -56,6 +56,7 @@ class YuthonNotice(models.Model): column2='user_id', string="当前经办人", store=True, + default=lambda self: [(6, 0, [self.env.user.id])] ) @api.model_create_multi