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

[11.0]: Partner address assigned by mistake to a Warehouse triggers Receipts from a Transit Location in PO #28560

Open
BeatrizArellano opened this issue Nov 12, 2018 · 5 comments
Labels
11.0 Logistics about stock, mrp, delivery, purchase

Comments

@BeatrizArellano
Copy link

Impacted versions: v11 (at least)

Steps to reproduce:

1. Create a Warehouse in the Inventory Module.
2. Assign a partner address to the warehouse (vendor or customer).
3. Then remove that address and leave the address field blank assuming you made a mistake assigning that address to your warehouse.
4a. If the partner was a vendor then create a Purchase order for that vendor, as usual a Receipt order will be created according to the default routes and operations, but in this case the receipt order will have the Physical Locations/My Company: Transit Location as the Source location as if it was an Internal Transfer.
4b. If the partner was a customer then create a Sales Order for that customer, when confirming the order the next error message is displayed: No procurement rule found. Please verify the configuration of your routes

Current behavior: If a partner's address is assigned by mistake to one of the warehouses in the Inventory Module and even if that address is removed or replaced, a purchase order will trigger a receipt order from the Transit location if the partner is a vendor, and if the partner is a customer and a quotation is created in the Sales Module, it won't be possible to confirm that sale.

Expected behavior: Under those circumstances a Purchase Order should trigger a Receipt Order with a Partner Location as the source location if the partner is a vendor, and the Sales Order should have no problem to be confirmed if the partner is a customer.

@Yenthe666 Yenthe666 added Logistics about stock, mrp, delivery, purchase 11.0 labels Nov 12, 2018
@ibtissambout
Copy link

i face the same problem ... plz did you find a solution for this issue!

@katiakweb
Copy link

katiakweb commented Jul 22, 2019

I have this problem also... Someone knows how to fix it? Please, share!
(I am using Odoo 12. )

@vincentius
Copy link
Contributor

+1

@bimajatiwijaya
Copy link
Contributor

I have this problem also, I tested in odoo13

@marcolertora
Copy link

We faced the same problem too.
We set warehouse address to PARTNER_A by mistake and then we changed to PARTNER_B.
After that, purchase and sale order to PARTNER_A resulted in "No procurement rule found." error...

We fix it on odoo12 deleting the property property_stock_customer related to PARTNER_A in ir_property table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11.0 Logistics about stock, mrp, delivery, purchase
Projects
None yet
Development

No branches or pull requests

7 participants