Skip to content

[19.0][FW] multiple ports and oca-port blacklists from 16.0/17.0/18.0 - #1541

Open
bosd wants to merge 2 commits into
OCA:19.0from
bosd:19.0-fw-contract_line_successor
Open

bosd wants to merge 2 commits into
OCA:19.0from
bosd:19.0-fw-contract_line_successor

Conversation

@bosd

@bosd bosd commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Results of an oca-port sweep of every 19.0 addon against 16.0, 17.0 and 18.0.
except contract, which is large enough to need its own themed PRs.

Port

From 18.0 to 19.0:

Blacklist

The sweep turned up 16 candidates outside contract; exactly one was a genuine gap. The other 15 are false positives that every future run would re-propose, and every maintainer would re-investigate from scratch.

oca-port reads .oca/oca-port/blacklist/<addon>.json from the target branch's tree, so recording them there means later runs skip them automatically, with the reason attached. Six files added.

Three kinds of entry, each checked against the 19.0 code rather than taken from the PR title:

kind entries
migration commits of an older series #1133, #1197, #1240, #1074, and the orphaned [MIG] subscription: Migration to 18.0
repo-wide changes attributed to every module they touched #1201 (four addons on its own), #1422
already on 19.0, identically or by another route #1242, #1243, #1058, #1167, #1301

The last group is the interesting one. #1301 adds a manual invoice.write({"is_move_sent": True}); 19.0 sends through account.move.send._generate_and_send_invoices, which already sets is_move_sent at account_move_send.py:482, so porting it would add a redundant write. #1243's remaining conflict is pure file drift abstract_contract_line.xml no longer exists while the bug it fixes (quoted boolean attributes) is already gone from every view in the module.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @sbejaoui,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:19.0 mod:contract_line_successor Module contract_line_successor labels Sep 26, 2026
`oca-port` lists commits present in an older branch and missing from the
target. It cannot tell a genuine gap from a change that reached 19.0 by
another route, so every run re-proposes the same false positives and every
maintainer re-investigates them from scratch.

Record the verdicts where the tool reads them: it loads
`.oca/oca-port/blacklist/<addon>.json` from the target branch's tree, so a
committed file makes later runs skip these automatically, with the reason
attached.

Three kinds of entry, all verified against the 19.0 code rather than taken
from the PR title:

- migration commits ([MIG]/[ADD] of an older series), which can never port
- repo-wide changes that oca-port attributes to every module they touched
  (OCA#1201 alone accounted for four spurious candidates across four addons)
- changes already on 19.0, either identically or through a different
  implementation. OCA#1301 is the clearest: 19.0 sends through
  `account.move.send._generate_and_send_invoices`, which already sets
  `is_move_sent`, so the manual write it adds is redundant.
@bosd bosd changed the title [19.0][FW] contract_line_successor: multiple ports from 18.0 [19.0][FW] multiple ports and oca-port blacklists from 16.0/17.0/18.0 Sep 26, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review. Verified the recurring_next_date removal in contract_line.py and all 6 blacklist entries — each has a clear reason, matches the description. LGTM.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants