NewHighlight of Weekly #005

Deleted analytic accounts cleaned from distributions

Analytic distributions that still referenced deleted accounts are now cleaned before they are merged with new values.

Versions18.019.0
ModulesAnalytic Accounting analytic
AppAccounting

Pull requests and commits

BranchPull requestCommit
18.0odoo/odoo#295941 ↗2417e31127 ↗
19.0odoo/odoo#296090 ↗384a95fb23 ↗

Commit message

[ADD] analytic: Clean deleted accounts from distributions

**Purpose:**

- Handle stale analytic account references in 'analytic_distribution'
  when an analytic account has been deleted.

**Changes:**

- Add a helper to remove deleted analytic account IDs from existing
  analytic distributions.

- Clean the old distributions before merging them with updated values.

**opw-6651640**

My stack

Pick the versions and apps you run. Weekly digests, this week's table and All changes then show only what concerns you. Saved in this browser.

Versions
Apps
Modules