Commit Graph
57 Commits
Author SHA1 Message Date
Cédric Krier a56432bfec Fix assign_try to work on all child locations
Use copy in assign_try to be more generic
2009-01-20 01:13:32 +01:00
Cédric Krier 1397ab9cf0 Fix typo in pick_product consumable for issue736 2009-01-08 14:45:17 +01:00
Bertrand Chenal 715ed9dede Fix null date handling 2008-12-18 20:12:47 +01:00
Bertrand Chenal 5e9638bf70 Fix quantities computation, added missing parentheses 2008-12-18 16:02:27 +01:00
Bertrand Chenal 343ad56388 Fix produt assignation:
* Ignore non-draft moves
* Avoid to create moves with quantity smaller than the product rounding
* Avoid to round quantities for internal computations
* Update correctly product by location when creating moves
2008-11-13 17:07:30 +01:00
Cédric Krier 4a013fba9e Add contest to domain_get call 2008-11-06 15:14:55 +01:00
Cédric Krier 2b74c57c1d Improve docstring of products_by_location 2008-11-05 01:14:47 +01:00
Cédric Krier 1e46a22b50 Simplify products_by_location and add context key for forecast
Quantity on product and location depends of the stock_date_end
2008-11-03 18:48:19 +01:00
Cédric Krier 2b52dda423 Round quantities only once 2008-11-03 15:41:04 +01:00
Cédric Krier ccb7ee7eda Fix typo 2008-10-31 14:14:55 +01:00
Cédric Krier 6ffb9684bc Add quantity and forecast_quantity on product.template 2008-10-31 14:14:36 +01:00
Bertrand Chenal 63dd30f7a9 Product assignation is absolute (future assigned move are also computed) 2008-10-30 00:07:29 +01:00
Bertrand Chenal 346cb7915b Fix for assignation, compute also assing moves 2008-10-29 01:04:05 +01:00
Bertrand Chenal 4b7c6994ee Fix for stock_date_start computation 2008-10-29 01:03:10 +01:00
Bertrand Chenal 2958f87c36 Use a more straightforward way to check stock_date_end quantity field
and fix it on location
2008-10-29 01:00:01 +01:00
Bertrand Chenal 22b886b0d7 Fix: use correct number of arg for string formating 2008-10-28 15:46:43 +01:00
Cédric Krier cec4edef84 Use ir.date 2008-10-08 12:19:58 +02:00
Bertrand Chenal ed83ecf5a5 Removed [] from function signature 2008-10-06 13:58:37 +02:00
Bertrand Chenal c4222369a0 Add assing_try and pick_product on product class and use it in
customer packing
2008-10-06 12:19:50 +02:00
Bertrand Chenal 3e781fbdcb Imporved stock computation wizards:
* better naming
* added missing wizard title
* added default values
2008-10-06 12:11:57 +02:00
Cédric Krier fa2b28b514 Fix search on ir.model.data for new inherit field for issue394 2008-09-23 20:14:13 +02:00
Bertrand Chenal ba193e8cde Use strict test on context 2008-09-18 16:50:43 +02:00
Bertrand Chenal a77fa45f88 Handle empty context 2008-09-18 16:23:17 +02:00
Bertrand Chenal 0f067ec8ce Coding guidelines 2008-09-10 18:11:28 +02:00
Bertrand Chenal 58bb45a094 Fix when stock_date_end is not set when calling products_by_location 2008-09-10 18:10:53 +02:00
Bertrand Chenal 03facd4a31 Fix wrong usage of zip 2008-09-10 18:09:34 +02:00
Bertrand Chenal 82950be77e Improve comments 2008-09-05 10:06:35 +02:00
Bertrand Chenal bd45f8abed Handle correctly max date. 2008-09-04 23:22:45 +02:00
Cédric Krier 955cb51440 Add stock_date_end in context if no one is given for forecast_quantity 2008-08-29 22:38:05 +02:00
Cédric Krier 8947c38e9b Put test of location to remove before adding location 2008-08-26 19:45:56 +02:00
Bertrand Chenal 1bc9a89b5e Use storage location when asked quantities on the warehouse 2008-08-26 19:17:43 +02:00
Bertrand Chenal a3b0a34e36 Fix old comment 2008-08-26 08:36:43 +02:00
Bertrand Chenal 614883fef5 Drop raw_products_by_location usage and definition,
added stock_date_start on keyword of products_by_location,
improved with_child behaviour (clean non-asked locations)
2008-08-25 23:07:00 +02:00
Bertrand Chenal c63bc7d297 Some refectoring: more efficient code and bugfixes 2008-08-20 19:41:32 +02:00
Bertrand Chenal a07023656a Fix: use max date instead of current date for infinite forecast 2008-08-14 16:27:33 +02:00
Cédric Krier 4df73b384b merge 2008-07-12 01:27:59 +02:00
Bertrand Chenal e6c6b15a1d Improved stock computation behaviour 2008-07-11 23:20:17 +02:00
Cédric Krier 4721928621 merge 2008-07-10 00:26:13 +02:00
Bertrand Chenal cdc955aa18 Added rules about stock.move object when computing locations quantities 2008-07-10 00:14:41 +02:00
Cédric Krier 449714594e merge 2008-07-10 00:06:36 +02:00
Cédric Krier ec1d131783 Improve product quantity compute to use the Modified Preorder Tree Traversal
Fix some guidelines
2008-07-09 18:08:37 +02:00
Bertrand Chenal d2ef559ce5 Added context to compute_qty and compte_price call on uom object 2008-07-09 15:53:50 +02:00
Cédric Krier c9cd70b20e Remove "waiting" state in move
Improve menu order
Fix some guidelines
Add readonly on inventory_move on packing with state done
2008-07-07 15:54:10 +02:00
Cédric Krier d81a5a3f2f Use duplicate location_ids to not change it for issue152 2008-06-28 13:55:24 +02:00
Cédric Krier 5249cc7143 Fix COPYRIGHT 2008-06-23 21:01:22 +02:00
Bertrand Chenal a7570c1ec8 Use separate views for wizards 2008-06-10 18:14:51 +02:00
Cédric Krier 13788f78e2 Remove gtk icons 2008-06-06 22:50:40 +02:00
Bertrand Chenal eb9ce5150f Added forecasted quantities for stocks. 2008-06-05 01:00:26 +02:00
Bertrand Chenal 8fb180428f Use value instead of custom string (for translation purpose) in tab title. 2008-05-28 13:45:32 +02:00
Bertrand Chenal 92934b1d2c Added dynamic tab title on product. 2008-05-27 21:50:12 +02:00