!10938 添加功能

Merge pull request !10938 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-04-17 12:04:16 +00:00
committed by Gitee
@@ -122,7 +122,7 @@ class YuthonMedicalManage(models.Model):
'|', ('end_date', '>=', current_date), ('end_date', '=', False)
], order='start_date desc', limit=1)
rule = valid_rules
target_companies = rule.party_ids.mapped('name')
target_companies = rule.party_ids.mapped('party')
party_setting_records = self.env['yuthon.party.setting'].search([
('party', 'in', target_companies)
]).ids