Commit Graph
57 Commits
Author SHA1 Message Date
Bertrand Chenal 54bb56a32f Improve test on origin value 2008-11-13 17:35:28 +01:00
Cédric Krier 3e9154eb8a Use root user to create purchase 2008-11-06 15:00:56 +01:00
Bertrand Chenal 1deb389050 Added addresses when creating purchase from purchase request 2008-11-04 11:32:32 +01:00
Bertrand Chenal 720d676103 Fix wrong error message 2008-11-03 16:05:08 +01:00
Bertrand Chenal fdb2d144ae Added check on product cost price 2008-11-03 15:34:33 +01:00
Cédric Krier 75e9e3867b Rename relationship into party 2008-10-22 20:14:02 +02:00
Bertrand Chenal 0a58390192 Fix name_search when args contains sub-queries 2008-10-21 13:23:40 +02:00
Bertrand Chenal 639339bf1d Added name_search on purchase request 2008-10-21 12:54:32 +02:00
Bertrand Chenal 4da8e3f342 Use integer for select value on fields definitions 2008-10-20 12:33:48 +02:00
Bertrand Chenal 6c791e8c87 Added internal order point 2008-10-18 01:20:35 +02:00
Cédric Krier f38cd1786b Fix coding guidelines 2008-10-14 20:42:36 +02:00
Bertrand Chenal 7ca300c301 Ensure not tu use a purchase date in the past when creating purchase. 2008-10-14 19:24:27 +02:00
Bertrand Chenal 31017f8c25 Handle origin on purchase request 2008-10-14 19:20:45 +02:00
Bertrand Chenal 736a2b7dda Removed old todo 2008-10-14 19:18:55 +02:00
Bertrand Chenal f985fdbea5 Added name_get on purchase request and oder point 2008-10-14 19:18:27 +02:00
Bertrand Chenal 4c2c32fab6 Added check to dissalow creation of purchase request from the interface 2008-10-14 19:16:38 +02:00
Bertrand Chenal 74faef0a12 Better name: use purchase.request instead of stock.purchase_request 2008-10-10 23:08:19 +02:00
Bertrand Chenal 902b63d761 Don't use search to check supplier payment term 2008-10-10 22:12:18 +02:00
Bertrand Chenal 2695588eda Test for missing data earlier in the wizard 2008-10-09 01:00:43 +02:00
Bertrand Chenal ba59cbeb58 don't complete product supplier automaticaly 2008-10-08 18:43:59 +02:00
Bertrand Chenal 5fd7b9caff Purchase creation wizard: return already filled form instead of raising unhandled exception 2008-10-08 18:20:36 +02:00
Bertrand Chenal 60611502ed merge 2008-10-08 16:47:16 +02:00
Bertrand Chenal 1281fbf235 Added step on purchase creation wizard:
Ask for a party if it missing (and if there is no product supplier for
the current product.)
2008-10-08 16:41:42 +02:00
Bertrand Chenal fa5325d8da Remove required on supply_date an consider empty value as datetime.date.max 2008-10-08 16:38:03 +02:00
Bertrand Chenal 29b8920725 Fix: eval shortage on max_date when max_date equal to min_date 2008-10-08 16:36:11 +02:00
Cédric Krier cabb4bc73e Use ir.date 2008-10-08 12:20:24 +02:00
Bertrand Chenal 8fb8d6498c Add purchase name when returning request purchase ids 2008-10-06 17:25:33 +02:00
Bertrand Chenal fdb22cbcee Correct test on purchase line since purchase field is required 2008-10-06 15:47:42 +02:00
Bertrand Chenal 2e704bea38 Show purchase instead of purchase line on request object 2008-10-06 15:00:32 +02:00
Bertrand Chenal 01723a909c Fix state field computation. 2008-10-06 14:42:56 +02:00
Bertrand Chenal d4e5cde176 Added state on purchase request 2008-10-06 14:03:53 +02:00
Bertrand Chenal e985d48428 Fallback on default uom when there is no purchase uom 2008-10-01 20:42:48 +02:00
Bertrand Chenal 835f8428b8 Simplify request creation:
* use suplly date instead of computing it.
* delete correctly old request.
2008-10-01 20:42:17 +02:00
Bertrand Chenal 0a021f9bca Cut copyright line 2008-10-01 20:40:46 +02:00
Cédric Krier 457ba9014b Use new supplier_taxes_used field 2008-10-01 17:54:50 +02:00
Cédric Krier 5292e97f8b Don't compute shortage for max_date 2008-10-01 15:44:17 +02:00
Cédric Krier 3742854338 Remove unused code 2008-10-01 15:43:18 +02:00
Bertrand Chenal e91ea11fae merge 2008-10-01 13:48:43 +02:00
Bertrand Chenal 411ea581ad Refactor CreatePurchase wizard 2008-10-01 13:46:57 +02:00
Cédric Krier 7e5027cb19 Improve the supplier choice to select the one that will be the less later if
all will be too late
2008-10-01 13:12:38 +02:00
Cédric Krier b400d1122f Don't test delivery_time to call compute_purchase_date 2008-10-01 13:11:21 +02:00
Cédric Krier 8c85175806 Fix supply dates to use the first supply date and the first next one as
interval to check for stock quantity
2008-10-01 12:31:21 +02:00
Cédric Krier afa3f55a0f Fix compute_request to select the right party
Use compute_{supply,purchase}_date on purchase.product_supplier
2008-10-01 12:29:54 +02:00
Cédric Krier 89e8548510 Remove print statement 2008-10-01 12:26:50 +02:00
Cédric Krier 134ad1602a Fix typo 2008-10-01 12:26:15 +02:00
Bertrand Chenal 71979b45c0 merge 2008-09-30 17:55:21 +02:00
Bertrand Chenal e97ea83a34 Isolate line request computation 2008-09-30 17:51:55 +02:00
Cédric Krier d1195e486e Use purchase_uom for purchase_request 2008-09-30 17:37:32 +02:00
Bertrand Chenal 17b887e427 purchase request generation: Delete also purchase request for which purchase is cancelled. 2008-09-30 16:25:51 +02:00
Bertrand Chenal ee0c241aba Added taxes on created purchase lines 2008-09-30 15:59:30 +02:00