fix(tk_construction_management): chatter migration + chart NaN guard + remove debug logs

- 12 oe_chatter <div> blocks migrated to <chatter/> (Odoo 18 modern pattern)
  Removes Missing widget: mail_followers/mail_activity/mail_thread warnings.
- renderGraph guards against empty/all-zero series. ApexCharts was producing
  M NaN NaN SVG paths when total=0 in donut/pie charts. Now shows No data.
- Removed two leftover console.log(..., dasdsa) debug calls in
  static/src/js/construction_dashboard.js.

User-visible: chatter renders cleanly, no SVG NaN console errors, no
debug noise.
This commit is contained in:
OdooSky v3
2026-05-09 10:16:07 +02:00
parent bd01d44be5
commit 07cf26467a
11 changed files with 22 additions and 63 deletions

View File

@@ -55,11 +55,7 @@
<field name="reject_reason" invisible="status != 'reject'"/>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
<chatter/>
</form>
</field>
</record>