Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[8.0] Purchase_order_line_sequence - Sequence not generated correctly with "Save and New" or on dropship routes #1203

Closed Nkburdick closed 4 years ago

Nkburdick commented 7 years ago

Hi,

When using the Purchase order line sequence module, I'm running into two problems. This is similar to issue Issue 1072 however not just with Calls for Bids. I updated my code thinking that this fix would solve it, but no such luck.

"Save and New" Steps to reproduce: 1) Create a new Purchase Order/RFQ. 2) Add a new product line item and then click "Save & New"

Results:

Dropship Steps to reproduce: 1) Create a new Sales Order with 2 or more products and dropship set in the routes for all products. Ensure that all products have the same supplier in their procurements tab on the product template (you must have stock_dropshipping installed, turn on via Settings-> Warehouse) 2) Go and look at the RFQ that was created when the Sales order is confirmed. All line items are set to sequence of 1 and the RFQ cannot be confirmed.

Any help is appreciated. Are other people seeing this problem or is it possibly something else in my system?

Thanks, Nick