Merge pull request !6915 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-12-07 11:14:31 +00:00
committed by Gitee
2 changed files with 3 additions and 3 deletions
@@ -26,9 +26,9 @@
</xpath>
</t>
<!-- 继承 ControlPanel 模板 -->
<t t-inherit="web.ControlPanel" t-inherit-mode="extension">
<!-- <t t-inherit="web.ControlPanel" t-inherit-mode="extension">
<xpath expr="//div[@class='o_control_panel d-flex flex-column gap-3 gap-lg-1 px-3 pt-2 pb-3']" position="attributes">
<attribute name="t-attf-class">o_control_panel d-flex flex-column gap-3 gap-lg-1 px-3 pt-2 pb-3 #{env.isSmall ? ' d-none' : ''}</attribute>
</xpath>
</t>
</t> -->
</templates>
@@ -530,7 +530,7 @@ class PropertyReconciliationWizard(models.Model):
extract_start_date = date_match.group(1) if date_match else line.due_date
extract_end_date = date_match.group(2) if date_match else None
check_domain = [
('due_date', '=', extract_start_date),
('due_date', '=', extract_end_date),
('contract_id', '=', line.contract_id.id),
('is_invalid', '=', False),
('management_type_id', '=', management_type_id.id),