Skip to content

Conversation

@RomainLvr
Copy link
Contributor

@RomainLvr RomainLvr commented Oct 28, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • [] I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes !39919
  • Here is a brief description of what this PR does

Problem

Inline editing of quantities, prices, and discounts in the "Order Items" tab was lost during the Twig migration in PR #417. Users could no longer click on values to edit them directly.

Solution

  • Added editable formatters (editable_price, editable_discount, editable_quantity) to the Twig template
  • Implemented JavaScript functions for inline editing with proper Ajax integration
  • Fixed function naming conflicts between summary and detail tables
  • Resolved massive action compatibility issues

Screenshots (if appropriate):

Capture vidéo du 2025-10-28 10-38-50

@RomainLvr RomainLvr requested review from Lainow and Rom1-B October 28, 2025 09:40
@RomainLvr RomainLvr self-assigned this Oct 28, 2025
@RomainLvr RomainLvr requested a review from Rom1-B October 28, 2025 10:43
@RomainLvr RomainLvr requested a review from Rom1-B October 28, 2025 13:54
@Rom1-B Rom1-B merged commit e5e92d1 into 10.0/bugfixes Oct 29, 2025
3 checks passed
@Rom1-B Rom1-B deleted the fix/inline-editing-regression branch October 29, 2025 07:37
Rom1-B pushed a commit that referenced this pull request Oct 29, 2025
* Fix - Restore inline editing functionality in items tab

* Apply suggestions

* Apply suggestions

* Update CHANGELOG & optimize style

(cherry picked from commit e5e92d1)
RomainLvr added a commit that referenced this pull request Oct 29, 2025
* Fix - Restore inline editing functionality in items tab

* Apply suggestions

* Apply suggestions

* Update CHANGELOG & optimize style

(cherry picked from commit e5e92d1)
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.

4 participants