Skip to content

[19.0] Sync with OCA/purchase-workflow 19.0 - #34

Closed
alan196 wants to merge 5 commits into
Jarsa:19.0from
Jarsa-dev:19.0-jarsa-on-oca
Closed

alan196 wants to merge 5 commits into
Jarsa:19.0from
Jarsa-dev:19.0-jarsa-on-oca

Conversation

@alan196

@alan196 alan196 commented Oct 14, 2026

Copy link
Copy Markdown

Rebase of the Jarsa commits (purchase_line_sale_history, 5 commits) on top of current OCA/purchase-workflow 19.0 (225 new upstream commits).

Verified: git diff --stat <old jarsa/19.0> HEAD -- <files touched by Jarsa> is empty, so every Jarsa change is preserved with the same content.

Assisted-by: Claude Fable 5.1

alan196 and others added 5 commits October 14, 2026 10:57
Add a Sales History toggle on purchase order lines that displays, below
the order lines, a year x month pivot table with the quantities of the
line's product sold in posted customer invoices (credit notes subtracted).
Only one line per order can be active at a time (enforced live in the
form via onchange and at API level via create/write), the history is
computed on the exact product variant, and the number of past years shown
is configurable in the purchase settings (default: 2).
…ry panel

Requested by MAFENSA (task #31940): with many purchase order lines the
history table scrolled out of view. The table is now rendered as a
collapsible floating panel in the bottom-right corner.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…eld type

"jsonb" is not part of the field types the web client accepts, so the
registry validation performed in debug mode rejected the whole entry and
the asset bundle failed to load. Odoo exposes fields.Json as "json".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FsSJPY85JV7KD6Q6qddG83
…oduct

The pivot shape is the contract of the field widget, so any model that wants
the panel can now reuse it instead of assembling the same table again.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FsSJPY85JV7KD6Q6qddG83
…he panel

The fixed 480px cut the last months off and forced an inner horizontal
scroll, so the twelve columns plus the totals never fit. The panel now takes
the width of its own table.

The zebra rows relied on darken(), which turns muddy on the dark theme, and
the heat map hardcoded a colour that barely showed there. Structure is now
carried by the frozen row and column, and the cell only states its intensity
so the stylesheet mixes the accent for whichever theme is on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FsSJPY85JV7KD6Q6qddG83
@jarsabot

Copy link
Copy Markdown
    **WARNING**: Could not link to Odoo task. Record ID not found in the title of the MR, supported formats:
{ record type }#{ number }

Available types: 'task#', 't#' (case insensitive)

Examples:

  • task#123

  • i#123

@alan196 alan196 closed this Oct 14, 2026
@alan196
alan196 deleted the 19.0-jarsa-on-oca branch October 14, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants