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

Purchase Candidates: show a proper error message when the partner aren't vendors #790

Closed
cristinamghita opened this issue Jan 18, 2018 · 1 comment

Comments

@cristinamghita
Copy link
Member

Is this a bug or feature request?

fr
follow-up of #664

What is the current behavior?

If you create a purchase order from sales order, all the partners from C_BPartner_Product are shown.
But of course, is isn't a proper vendor, the purchase order is not created because aren't purchase candidaitea.
The Only an error in async (not visible enough) and it says: "No purchase candidates to enqueue"

Which are the steps to reproduce?

  1. Go to sales order, add a new line and make sure the product has bpartner product
  2. Make sure that the partner is not vendor
  3. Go back to sales order - actions - create purchase orders
  4. Add a qty to that bpartner and press done
  5. Complete the sales order
    => note you will not get any purchase order
    => you don't get any message about the order not being created NOK
    go to async window and search for something like ""de.metas.purchasecandidate.async.C_PurchaseCandidates_GeneratePurchaseOrders"
    => error

What is the expected or desired behavior?

  • Show a notification that says why that failed.
@cristinamghita
Copy link
Member Author

Wrong place!

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

No branches or pull requests

1 participant