Health
71/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 35 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
2 migration notes
2 models
0 views
0 HTTP endpoints
Migration considerations
AccountMove— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `WITH duplicated_sequence AS ( SELECT name, journal_id, state FROM account_move WHERE state = 'posted' AND name != '/' GROUP BY journal_id, name, state HAVING COUNT(*) > 1 ), to_update AS ( SELECT move.id, move.name, move.journal_id, move.state, move.date, row_number() OVER(PARTITION BY move.name, move.journal_id ORDER BY move.name, move.journal_id, move.date) AS row_seq FROM duplicated_sequence JOIN account_move move ON move.name = duplicated_sequence.name AND move.journal_id = duplicated_sequence.journal_id AND move.state = duplicated_sequence.state ), new_vals AS ( SELECT id, name || ' (' || (row_seq-1)::text || ')' AS name FROM to_update WHERE row_seq > 1 ) UPDATE account_move SET name = new_vals.name FROM new_vals WHERE account_move.id = new_vals.id;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Change the way sequence.mixin works to reduce concurrency errors
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…