Skip to content

[19.0][MIG] pos_order_remove_line: Migration to 19.0#1555

Open
robperezit wants to merge 1 commit into
OCA:19.0from
robperezit:19.0-mig-pos_order_remove_line-oca
Open

[19.0][MIG] pos_order_remove_line: Migration to 19.0#1555
robperezit wants to merge 1 commit into
OCA:19.0from
robperezit:19.0-mig-pos_order_remove_line-oca

Conversation

@robperezit

Copy link
Copy Markdown

Migration of the pos_order_remove_line module from version 18.0 to 19.0.

Summary of changes:

  • Module Version: Bumped version to 19.0.1.0.0.
  • UI/DOM Adaptations: Updated the XPath in orderline.xml to match the new line-details Flexbox structure in Odoo 19. Replaced obsolete floats with Bootstrap flex utilities in SCSS.
  • OWL Framework & JS Logic: * Refactored orderline.esm.js to remove the deprecated pos_hook in favor of standard useService("pos").
    • Removed the Backspace key simulation workaround.
    • Adapted POS API calls to Odoo 19's new camelCase syntax (getOrder() and removeOrderline()).

Locally tested and fully functional in Odoo 19 Enterprise/Community.

@OCA-git-bot OCA-git-bot added series:19.0 mod:pos_order_remove_line Module pos_order_remove_line labels May 20, 2026
@robperezit robperezit force-pushed the 19.0-mig-pos_order_remove_line-oca branch from c94b812 to 8865ea2 Compare May 21, 2026 02:36
@legalsylvain legalsylvain marked this pull request as draft May 21, 2026 05:50
@robperezit robperezit force-pushed the 19.0-mig-pos_order_remove_line-oca branch from 8865ea2 to 579539e Compare May 21, 2026 21:47
@robperezit robperezit marked this pull request as ready for review May 21, 2026 21:58
@kwoychesko

Copy link
Copy Markdown

LGTM! Thanks for migrating!

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

Labels

mod:pos_order_remove_line Module pos_order_remove_line series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants