Repository navigation
Conversation
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
Available types: 'task#', 't#' (case insensitive) Examples:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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