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
8.0 new addons: sale_quotation_sourcing #41
Conversation
wizard view is there, more work needed to customize the procurment handling
+ flake8 clean of sale_order
remove travis_run_flake8 set a separate env for testing sale_quotation_sourcing, and it seems that another addon is changing a return value which makes our tests unhappy
Hello @gurneyalex OCB are red because of
|
@eLBati yes... I'm pretty sure this is because the OCB 8.0 branch is 10 days behind the official branch. |
f7fbc19
to
9e1f5bf
Compare
once sale_exceptions is fixed, not need for 4 environments
I'm pushing manually changes to OCB 8.0 for now and restart Travis build. Let's wait for a green! 😉 |
Hi,
Well, this is all I figure it out when testing it. A part from that, it's exactly what we needed. Thanks, Joël |
I'm taking care of @jgrandguillaume's remarks (WIP) |
620deb2
to
ef2a1cc
Compare
Apparently, MTO rules are have action="move". With this change, we do generate an outgoing picking when the SO is validated.
In a MTO case, two procurements are generated, and it is the second one that is to be attached to the purchase order
A new one is coming, so I am adapting the existing tests.
This check is done when the procurement is processed, which happens when the Sale Order is validated. We cannot easily check before validation because we need to know what destination location has been chosen in the procurement. Just checking the route selected in the Sale Order Line is too restrictive because the Route can be chosen in many other places.
1fbb644
to
f9d5e61
Compare
@yvaucher your remarks are addressed.
|
@lepistone thanks! 👍 |
@jgrandguillaume for the drop shipping case, I thought that the "drop shipping" route is just configuration data that is created by the stock_dropshipping module. Moreover, the logic for choosing routes and rules is complex, since those could be specified on the SO line, product or category and configured in many different ways, with or without stock_dropshipping. For that reason I did a variant of what you suggest: when the SO is confirmed, and the procurement is processed, I check that the destination location of the procurement (whatever way it is computed) is the same as the destination location of the chosen PO. If not, I block the validation with a long message. It would probably be more user-friendly to check immediately (maybe with an onchange or domain) but I think at that point I don't have enough information for that. I added two new test cases: one for the standard dropshipping case, and one for dropshipping + manual sourcing. |
8.0 new addons: sale_quotation_sourcing
Hi guys trying to see if your module can perform the following ( since i assume this was the original intention of the module - please correct me if i am wrong) : _PROCESS START_***
after this the usual deliver/ invoice process continues Currently my experience of the module is that it is still very manual- eg i have to create a bid for all the products, make a list of RFQ's for each product,update product pricing, and then create the sales order lines with manual sourcing and linking to the relevant RFQ. Considering that multiple quotes can be awaiting customer order at a time, i further see a problem with the huge list of RFQ's that will be sitting in the que waiting for their respective sales orders. this could confuse the stock control/warehouse should they need to procure actual products. Am i maybe overlooking some functionality? thank you Erwin |
@erwintwr2 this module serves as a basis for the process you describe. It works together with other addons in OCA/purchase-workflow and OCA/vertical-ngo. Note that there will be a presentation of these addons during the community days. Could we move the discussion to the community mailing list rather than on a PR? |
Hi Alex Thank you for the feedback. I am most definitely interested in receiving updates on this. Can you advise which mailing list i can join? regards |
@erwintwr2 community@lists.odoo.com is the best place for this. |
make so department readonly like other fields
Hey, is this functionality still available in an add-on for Odoo 15? |
@dzenkins wow you are unearthing old things... To my knowledge this is not supported by any addon or standard in v15 so you would need to "migrate" this module to the version. I put quotes because things have changed a lot in the meantime and probably this will result in a significant rewrite. |
sale_quotation_sourcing
allows to invert the purchase sourcing logic in Odoo. In this mode, an RFQ is sent to to suppliers before the SO is confirmed (in order to get the best quote, and to ensure that the price communicated to the customer is computed based on that quote). When the SO is confirmed, a link can be made to the RFQ to use for sourcing the sale, and the procurement order will not create a new PO.