Commit Graph

970 Commits

Author SHA1 Message Date
Denis Ledoux 5a4884f017 [FIX] stock: update inventory wizard, default location_id
In a multi-company environment, you might not
have the access to the stock location
`stock.stock_location_stock`,
in such a case, you should not set it as default value.

This is a regression of revision 9bf6f0310e

opw-652387
2015-10-19 17:04:26 +02:00
Christophe Simonis 970f9466aa [MERGE] forward port of branch saas-3 up to 55d6c19 2015-05-28 14:45:30 +02:00
Christophe Simonis 55d6c190da [MERGE] forward port of branch 7.0 up to e33bcde 2015-05-28 14:41:30 +02:00
Nicolas Martinelli e33bcdec19 [FIX] stock: return picking wizard handles one picking at a time
We force the user to select only one picking at a time. The reason is that we
can choose the number of products to return for every picking, so it does not
make sense to group the returns in one picking.

opw-640030
2015-05-28 10:19:38 +02:00
Wolfgang Taferner e5a8d21a60 [FIX] Return picking moves do not match the return picking type and also
do not have a warehouse set (which can be retrieved based on the
picking_type in use)
2015-05-26 19:59:16 +02:00
Thomas Groutars 7b306fc17a [IMP] stock: improve detailed transfer performance
Transfers were slowed because of the continuous
computation of pickings remaining quantities.

This revision delay the computation at the end of the transfer,
so the computation is performed only once, and it
therefore leads to a huge performance improvment.

opw-634416
2015-05-20 13:07:24 +02:00
Nicolas Martinelli 6b7e6f6b90 [ADD] stock: onchange on wizard stock_change_product_qty
The proposed value for the new quantity on hand is calculated for the chosen
warehouse.

opw-639641
2015-05-18 12:54:20 +02:00
Nicolas Martinelli b8779f0c53 [FIX] stock: keep inventory options consistent
Make sure that appropriate fields are emptied when switching to in between inventory filters.
This prevents incoherent results due to hidden fields which were filled in a previous selection.

opw-634388
Fixes #6512
2015-05-11 08:30:10 +02:00
Martin Trigaux 6e25d6e589 [FIX] stock: better recomputation of pack operations
Revert c06a96 "[FIX] stock: force recomputing transfer information on picking"
and unlink packoperations only when move lines are changed (fix opw 620636).

c06a96 introduced a regression as it prevents to plan moves (e.g. assigning lots
through the barcode interface) before the reception.
2015-04-29 17:36:20 +02:00
fka-odoo c06a969612 [FIX] stock: force recomputing transfer information on picking
When clicking on the Transfer button on a picking the packoperations should
always be recomputed.
If the pack operations are only computed the first time, the picking could be
modified (e.g. notice wrong quantity) and still display previous operations when
reloard the transfer button. opw 620636
2015-04-02 18:09:53 +02:00
Goffin Simon 1f76ed0159 [FIX] stock: "Request procurement" wizard does not fill warehouse
The function "make_procurement" must take into account the warehouse_id
to create procurement.

opw:631318
2015-03-30 09:06:05 +02:00
Nicolas Piganeau accd3b472a Fix unwanted opening of stock.picking when scrapping from production 2015-03-20 12:12:12 +01:00
Josse Colpaert 1ac4d31db7 [FIX] stock: Make sure we can do a return of a stock move with UoS 2015-03-11 16:23:23 +01:00
Josse Colpaert 37f9459610 [IMP] Return of return should be linked with original destination move should fix #5253
[FIX] Split of return move should keep the returned move

[IMP] Better comment and check for state not cancelled
2015-02-25 12:03:49 +01:00
Denis Ledoux 36bf774d20 [MERGE] forward port of branch 7.0 up to 43cf6d5 2014-12-17 14:05:44 +01:00
Gaurav Panchal 998db2c61f [FIX]stock: return of 'To Be Invoiced' picking should also be invoiced
When creating a return picking, the default invoice state is 'To Be Invoiced' if
returned picking was invoiced. However if the invoice of the picking has not
been generated yet (state '2binvoiced'), the return should also be invoiced.
Fixes #4002
2014-12-17 11:52:37 +01:00
Josse Colpaert 723f532e57 [IMP] Changing product qty on product form should work with serial numbers like in 7.0, but we should explain it
Closes #3984
2014-12-12 10:48:00 +01:00
Denis Ledoux bdd5ec8216 [FIX] stock: reload after stock picking scrap
If a wizard is launched from an embedded view list, only the record of the line from which the wizard was launched is reloaded after closing the wizard.

In this specific case, as new lines are added to the picking, we need to fully reload the stock picking
2014-12-11 15:59:13 +01:00
Josse Colpaert 7bee5918eb [IMP] No lot in qty update as it is only confusing #3984 2014-12-09 09:56:31 +01:00
Josse Colpaert 536d00d2ba [FIX] Avoid endless loop when doing a return picking 2014-12-02 18:54:25 +01:00
Denis Ledoux e347011f24 [MERGE] forward port of branch 7.0 up to 2080ea0 2014-11-27 13:27:37 +01:00
Denis Ledoux 2080ea0f0a [FIX] stock: on stock picking invoicing, allow to pick a journal if no move line 2014-11-27 13:26:57 +01:00
Josse Colpaert 86f785ae1b [FIX] #3153 Digits in wizard should be those of moves,... / Recreate delivery order from sale / Delivery method on delivery order
[IMP] Provide better purchase order picking type

[IMP] Possibly a better product uos handling in the sale order line

[FIX] Recreate of delivery order when sales order in shipping exception

[FIX] Delivery method should be passed to delivery order
2014-11-13 11:50:01 +01:00
Christophe Simonis e74fb09a00 [MERGE] forward port of branch 7.0 up to ab5ecef 2014-11-12 10:56:38 +01:00
Ravi Gohil c6a5be0a19 [IMP] stock: added missing 'context' parameter (opw 616952) 2014-11-06 18:14:11 +01:00
Denis Ledoux a6024a6376 [MERGE] forward port of branch 7.0 up to 00ec786 2014-10-28 13:40:17 +01:00
Ravi Gohil d28cab5257 [FIX] stock: forbid adding new lines when processing picking
Source and destination locations are required and not displayed in the form view.
Adding new items when recieving a picking can not be easily guessed as we can put different locations for each line, using default locations may not be the expected result.
Instead should modify the original picking or create new one.
Fixes #2074, opw 612768
2014-10-27 14:37:36 +01:00
Denis Ledoux b13898c058 [MERGE] forward port of branch 7.0 up to 03df412f 2014-10-07 17:34:42 +02:00
Lionel Sausin (Numérigraphe) 04bc91cb4e [FIX] stock: groups mixup in views
Use group_production_lot for serial options, group_stock_packaging for packaging, use group_tracking_lot for pallet/parcel
Groups are removed completly from the view for stock.tracking as they render the view useless.

Always display weights on the product form
They really have nothing to do with the logistic units and we don't have another group to restrict them to.

Fixes #1443
2014-10-06 14:43:11 +02:00
Martin Trigaux 94eae37ecf Forward port of 7.0 up to rev 4a064b9 2014-09-24 10:35:28 +02:00
Martin Trigaux 4a064b9374 [FIX] stock: error on stock.partial.move creation
The stock_partial_move wizard removes the required attribute for the field picking_id on a stock.partial.move. This means that we could get moves without picking_id and the previous line was failing ('NoneType' object has no attribute 'currency_id'). opw 614531
2014-09-24 10:30:44 +02:00
Denis Ledoux 5bd0249515 [MERGE] forward port of branch 7.0 up to a218a9e 2014-09-18 16:05:34 +02:00
Josse Colpaert 21aaec282d [FIX] Theoretical quantity for created inventory adjustment should take into account location in context of stock 2014-09-17 21:41:41 +02:00
qdp-odoo 8973217ea7 [FIX] stock/purchase: dates and currency rates
Use the currency rate of the purchase date instead of the one of at the reception time (opw 610430)
2014-09-17 18:04:41 +02:00
Christophe Simonis fdc62713a5 [MERGE] forward port of branch 7.0 up to 9b1cdea 2014-09-12 17:28:55 +02:00
Denis Ledoux 8c39241651 [FIX] stock: return picking, pass serial number value when returning 2014-09-11 17:21:12 +02:00
Denis Ledoux a587e1bc17 [MERGE] forward port of branch 7.0 up to 5872c24 2014-09-04 12:31:14 +02:00
Denis Ledoux 5872c2485d [FIX] stock: on partial picking, do no open a new window action if not needed
This is related to rev. dd4d72d

Not opening a new window action allows to keep the current list of stock picking being threated, and to use the next an previous arrow of the forom view of the web client.
2014-09-04 12:28:16 +02:00
Josse Colpaert 138011c69b [IMP] Changing the standard cost price should do the real-time valuation for all variants of the template 2014-09-03 19:19:18 +02:00
Josse Colpaert 5242cfceea [FIX] Make sure packages are not shown when the setting is not checked 2014-08-25 09:23:05 +02:00
Josse Colpaert f4e7105eb6 [IMP] Usability improvements by clarifying texts 2014-08-21 11:37:40 +02:00
Josse Colpaert 3891892d9f Merge from nse back-end partial picking wizard 2014-08-20 18:28:57 +02:00
Christophe Simonis 310d3fe4c4 [MERGE] forward port of branch 7.0 up to 39f3e40 2014-07-30 18:55:31 +02:00
Lionel Sausin (Numérigraphe) dd4d72d710 [FIX] stock: partial deliveries switch on delivered picking
Users don't care for the backorder picking precisely because they can't process it, whereas they may have to do some more things on the picking they processed: invoice it, print delivery orders or transportation stickers..
Refresh the browse record after changing the name to avoid the need to rebrowse.
Fixes #1372
2014-07-29 16:15:20 +02:00
Josse Colpaert 28ad04a4de [IMP] Only show number of variants when more than one + bug cursor Compute Minimum Stock Rules 2014-07-16 13:50:56 +02:00
Josse Colpaert 32dd003d60 [MERGE] Resolve conflicts 8.0 2014-07-13 09:27:20 +02:00
Christophe Matthieu e26623da01 merge from 8.0 2014-07-09 09:43:02 +02:00
Josse Colpaert beb12f71f1 Merge branch 'odoo/8.0' into master-wmsstaging4-jco 2014-07-07 23:34:42 +02:00
Christophe Matthieu e3d9db2bab [FIX] stock: update and request procurment button use active_id to se the product. Fix to use this buttons on product template. 2014-07-07 16:58:47 +02:00
Raphael Collet 33eb3dffb2 [REM] models: remove the magic methods signal_XXX() 2014-07-07 11:50:30 +02:00