Commit Graph
86 Commits
Author SHA1 Message Date
Igor Támara b0c3d83d72 stock_supply module spanish translation issue427 2008-10-15 23:57:06 -05:00
Cédric Krier f38cd1786b Fix coding guidelines 2008-10-14 20:42:36 +02:00
Bertrand Chenal 98ad9f3c2a merge 2008-10-14 19:29:30 +02:00
Bertrand Chenal bed06b6fe5 Fix access:
* Allow admin user to create requests and rely on the overloading of create .
* Use same acces for cron user.
* Disallow other user to write on purchase request.
2008-10-14 19:28:41 +02:00
Bertrand Chenal d29836cfa0 Open purchase from request in list view 2008-10-14 19:25:54 +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
Mathias Behrle baf53db30c updated translation for de_DE 2008-10-12 20:17:08 +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
Cédric Krier 5849446b7f Fix id for stock.purchase_request.create_purchase.ask_party for issue424 2008-10-08 23:22:27 +02:00
Bertrand Chenal ac19c73122 merge 2008-10-08 18:44:20 +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
Cédric Krier 2d25e8e98b merge 2008-10-08 18:19:14 +02:00
Cédric Krier 261618d1af Add model on wizard 2008-10-08 18:18:17 +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 1a9cc8e9c5 Fix model access on purchase request 2008-10-08 16:40:15 +02:00
Bertrand Chenal a934c7bd06 Added keyword for opening purchase from the purchase request 2008-10-08 16:39:07 +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
Mathias Behrle 4202572f14 updated translation for de_DE 2008-10-07 20:00:09 +02:00
Cédric Krier 9243ec5abc Add German to setup.py 2008-10-08 15:20:01 +02:00
Mathias Behrle b3fe1291e0 added translation for de_DE 2008-10-07 12:19:59 +02:00
Cédric Krier cabb4bc73e Use ir.date 2008-10-08 12:20:24 +02:00
Cédric Krier 7ff117b1eb Fix id for stock.purchase_request.create_purchase.ask view record 2008-10-07 11:54:44 +02:00
Bertrand Chenal 8fb8d6498c Add purchase name when returning request purchase ids 2008-10-06 17:25:33 +02:00
Bertrand Chenal 5ca13937cb Added purchase request group to disallow purchase request creation for
normal users:
* purchase request groupis the only that is allowed to create purchase request.
* use it for the cron user.
2008-10-06 15:49:46 +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