Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][FIX] sale_product_pack: Define the correct sequence of sale order lines #180

Closed

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Sep 5, 2024

FWP from 16.0: #179

Define the correct sequence of sale order lines

Previously, the product pack line sequence was defined for the “extra” lines

Please @pedrobaeza and @chienandalu can you review it?

@Tecnativa TT50677

@OCA-git-bot
Copy link
Contributor

Hi @ernestotejeda,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 17.0 milestone Sep 5, 2024
Copy link
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.

Uhm, wait, I'm thinking that this has a potential problem:

2 SO lines:

  • Line 1 with pack. Sequence: 10
  • Line 2. Sequence: 10

When unfolding line 1, the pack components will be behind line 2.

Previously, the product pack line sequence was defined for the “extra” lines

TT50677
@victoralmau victoralmau force-pushed the 17.0-fix-sale_product_pack-TT50677 branch from c085ce4 to 6f5b952 Compare September 5, 2024 09:11
@victoralmau
Copy link
Member Author

victoralmau commented Sep 5, 2024

The use case you indicate is already solved (actually for UI you cannot set several lines with the same sequence, it would be 10 and 11).

@pedrobaeza
Copy link
Member

On contrary, it's worst. The use case:

2 SO lines:

  • Line 1 with pack with 2 sublines. Sequence: 10
  • Line 2. Sequence: 11

When unfolding line 1, it will be:

  • Line 1. Sequence: 10
  • Subline 1. Sequence: 11
  • Line 2. Sequence: 11
  • Subline 2. Sequence: 12

@victoralmau
Copy link
Member Author

Sorry, I cannot reproduce the error you indicate.

ejemplo

@victoralmau
Copy link
Member Author

Best approach with #187

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.

3 participants