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

Warehouse Distribution #14

Open
wlin-kencove opened this issue Aug 5, 2024 · 4 comments
Open

Warehouse Distribution #14

wlin-kencove opened this issue Aug 5, 2024 · 4 comments

Comments

@wlin-kencove
Copy link

When importing data from odoo to frepple, I noticed that the item distributions are not imported.

image

We do have stock.routes set for our products:
image

Steps to reproduce:

  1. Install the odoo frepple module and setup following instructions
  2. Run import data from Odoo in frepple
  3. Look at Item distributions, they are not imported.

Is there perhaps a configuration/setting we are missing?

@jdetaeye
Copy link
Member

jdetaeye commented Aug 5, 2024

The standard connector doesn't map these indeed.

We have used customized versions of the connector in multi-warehouse configurations of some customers. This has always some level of tweaking to match the odoo setup and get the right planning results. So, we choose for now not to add this yet to the standard odoo connector.

@wlin-kencove
Copy link
Author

Thank you for the quick response.

I now see from the mapping documentation that item distribution is not included.
https://frepple.com/docs/current/erp-integration/odoo-connector/installation-and-configuration.php#data-mapping-details.

Any suggestions on how to proceed? I plan to PR a change to use stock.routes model for the distributions. Though I suppose it might not be general enough to include in the standard connector.

@jdetaeye
Copy link
Member

jdetaeye commented Aug 6, 2024

Feel free to submit your PR. We can always comment it out by default if it's not generic enough. In this way people at least have a starting point.

Note also that this is piece of data that can easily be managed manually in frepple in many cases. If all items in warehouse "shop 1" are always replenished from location "warehouse", you can define that with a single data record in frepple.
image

@wlin-kencove
Copy link
Author

I would have expected stock.route the be the standard way of representing item distributions in at least odoo v16 onwards.

We have some rather complex replenishment relationships so cannot use a generic distribution record but is a good idea to keep in mind.

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

2 participants