Skip to content

[18.0][FIX] purchase_order_secondary_unit: revert report features requiring unmerged dependency#2953

Merged
OCA-git-bot merged 1 commit intoOCA:18.0from
qrtl:18.0-fix-purchase_order_secondary_unit
Feb 16, 2026
Merged

[18.0][FIX] purchase_order_secondary_unit: revert report features requiring unmerged dependency#2953
OCA-git-bot merged 1 commit intoOCA:18.0from
qrtl:18.0-fix-purchase_order_secondary_unit

Conversation

@yostashiro
Copy link
Copy Markdown
Member

Since many implementations are getting hit by report crashes while OCA/product-attribute#2211 has yet to be merged... 😓

Partially revert a1eea87 for purchase order and quotation report templates. The reverted portions rely on methods
(hide_secondary_uom_column, get_secondary_uom_display_mode) introduced by OCA/product-attribute#2211, which is not yet merged. Without that dependency, the reports would crash when printing.

The secondary quantity column is kept but the conditional visibility and display mode logic are removed until the dependency is available.

@qrtl

… unmerged dependency

Partially revert a1eea87 for purchase order and quotation report
templates. The reverted portions rely on methods
(hide_secondary_uom_column, get_secondary_uom_display_mode) introduced
by OCA/product-attribute#2211, which is not yet merged. Without that
dependency, the reports would crash when printing.

The secondary quantity column is kept but the conditional visibility
and display mode logic are removed until the dependency is available.
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Let's fast track it for fixing the situation

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-2953-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 9ef591f into OCA:18.0 Feb 16, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 30fbba4. Thanks a lot for contributing to OCA. ❤️

@JochenDeBie
Copy link
Copy Markdown

@yostashiro Is it possible the changes made to the portal template here a1eea87#diff-88648ec43d7bc467356eb6a30b89ae0be9e11574ed6d50316772d2a7dae8d50c should also still be reverted? The reverted methods (report_show_price_uom, hide_secondary_uom_column, get_secondary_uom_display_mode, ) are also used in here.

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor

@JochenDeBie I create a PR to revert the portal views changes.
#2967

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