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

sometimes missing purchase candidates aren't created #4563

Closed
metas-ts opened this issue Sep 10, 2018 · 1 comment
Closed

sometimes missing purchase candidates aren't created #4563

metas-ts opened this issue Sep 10, 2018 · 1 comment

Comments

@metas-ts
Copy link
Member

Is this a bug or feature request?

Bug

What is the current behavior?

Which are the steps to reproduce?

What is the expected or desired behavior?

@metas-ts metas-ts self-assigned this Sep 10, 2018
@metas-ts metas-ts changed the title sometimes missing purchase aren't created sometimes missing purchase candidates aren't created Sep 10, 2018
metas-ts added a commit that referenced this issue Sep 10, 2018
the fix is in PurchaseDemandWithCandidatesService
@metas-dh
Copy link
Member

Results of IT1
tested in mf15

  1. Set 2 products A & B with a current vendor, have a discount schema for this vendor
  2. Create a sales order, and have orderlines for the 2 products
  3. Select all orderlines, and open overlay for creating purchase candidates:
  • set a qty to order in purchase for 1 product A (partial qty!)
  • don't set a qty for the other product B
    => OK
  1. Check purchase candidates: candidate created for product A, none for B: OK
  2. Go back to sales order, and create a purchase candidate for product B (partial qty!)
  3. Check purchase candidates: additional candidate for product B: OK
  4. Go back once to sales order, more and change the qty for the purchase candidate of e.g. product A, in the overlay
  5. Check purchase candidates again: purchase candidates for both products, with qties as set / updated: OK
  6. Complete the sales order, and check purchase candidates / purchase orders:
  • purchase candidates marked as ordered: OK
  • purchase order created with orderlines for both products: OK
  • qties are as set / updated in the overlay: OK

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

No branches or pull requests

2 participants