Commit Graph
113 Commits
Author SHA1 Message Date
Cédric Krier ae58df866e Add domains on Action Window
review588002
2012-11-16 00:54:25 +01:00
Cédric Krier 9020abee68 Add missing readonly states on Purchase Request
issue2517
review594004
2012-11-12 18:09:30 +01:00
Cédric Krier bd2b9b72a1 Active Record 2012-09-24 22:18:24 +02:00
Cédric Krier 7dc8a47eec Generate also purchase requests for assets
issue2738
review458001
2012-08-16 16:01:57 +02:00
Cédric Krier ac024eb0cb Use sorted products when generating purchase request
As product ids will be used many time to compute stock reduce_ids will be apply
many times, So having the list already sorted make it faster to sort it again.

review426001
2012-07-25 20:42:55 +02:00
Cédric Krier 4fd8e5913a Tax rule apply method return a list of tax ids 2012-05-29 17:24:13 +02:00
Cédric Krier e8c2a7fea0 Fix test on product_price
product_price may be zero
2012-05-29 17:21:38 +02:00
Cédric Krier ae36e79286 Add missing assignment of order_point before compute_request
issue2528
2012-04-07 20:04:41 +02:00
Cédric Krier d9bf836b03 Fix typo 2012-04-06 12:11:19 +02:00
Cédric Krier 274acb75ad Fix pep8 and pyflakes 2012-04-03 20:07:50 +02:00
Cédric Krier 9682c2b11a Fix order_points usage in get_shortage
review318001
2012-04-03 12:18:46 +02:00
Nicolas Évrard 00e31de71f Warehouse is not always required
review291001
2012-04-02 12:01:29 +02:00
Cédric Krier 806117c49e Improve generate_requests
- Compute get_shortage for a list of products
- Group products by minimal and maximal date

review291002
2012-03-27 14:02:53 +02:00
Cédric Krier 7cb6b421a8 Replace wrong usage of False by None
issue2512
2012-03-27 10:44:10 +02:00
Nicolas Évrard 4f7f4fc7d3 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:55 +01:00
Cédric Krier 16d3832c59 New product types: Goods, Assets and Service
review260001
2012-03-16 12:42:05 +01:00
Mathias Behrle bc2a844a19 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:09 +01:00
Cédric Krier 523e281f79 Round get_purchase_price according to unit_price digits
issue2094
review226007
2012-01-29 16:33:00 +01:00
Cédric Krier e94ad91df8 Fix typo in session.ask_party 2012-01-24 15:16:17 +01:00
Cédric Krier f38ce361e6 New wizard design 2012-01-02 18:09:31 +01:00
Nathanael Perat f4322d81f8 Method compute_supply_date returns 1 date
issue 2300
review 184002
2011-11-29 18:19:23 +01:00
Cédric Krier b34038b0c1 Group purchases using a key
review167006
2011-11-14 17:54:43 +01:00
Nicolas Évrard 9328ee2cae fix pyflake errors
review162011
2011-11-02 16:13:58 +01:00
Nicolas Évrard 56fa34181b remove trailing spaces 2011-10-28 11:09:15 +02:00
Cédric Krier b29cb98460 Factorize find_best_supplier out of compute_request
review127002
2011-09-30 19:11:35 +02:00
Cédric Krier 6af2c22cd6 Update Reference fields from 0 to -1
review119001
2011-09-21 12:26:23 +02:00
Cédric Krier 9cfdb6481e Use the warehouse quantity to compute requests
review88001
2011-08-21 11:16:20 +02:00
Cédric Krier b5c5d345e9 Add wizard to create purchase requests
review77001
2011-08-02 17:27:21 +02:00
Cédric Krier 8850c19af1 Fix wrong sort key method introduce by removing py3warn 2011-07-28 11:57:25 +02:00
Cédric Krier be495f954b Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:18:10 +02:00
Cédric Krier ea7808a7e8 Change Pool into a Singleton 2011-07-03 13:19:17 +02:00
Cédric Krier 610ef569df Fix typo with_context -> set_context for issue1856 2011-02-11 09:56:57 +01:00
Phillip Heller 598a9d62a6 Update for new Transaction 2010-08-10 11:58:54 -04:00
Cédric Krier a27b70833e searcher on Function fields take only one domain clause as argument 2010-03-23 11:22:48 +01:00
Cédric Krier f155a414d7 New interface for Function/Property fields 2010-03-11 16:54:57 +01:00
Cédric Krier bd1fec2014 Use PySON 2010-01-20 11:05:20 +01:00
Cédric Krier 0e1acd03d3 Remove unused company_obj 2009-12-29 18:02:14 +01:00
Cédric Krier 06e2a482bd Fix company context domain when company is not in context 2009-11-02 19:21:45 +01:00
Cédric Krier b23dddb733 Change string domain into list 2009-06-23 18:49:38 +02:00
Cédric Krier 6e6623d094 Add domain on company according rules for issue965 2009-04-10 11:27:53 +02:00
Cédric Krier 0feddda1f9 Use new tax rule 2009-03-28 19:33:36 +01:00
Cédric Krier 903c69e403 Fix typo 2009-03-20 11:48:49 +01:00
Bertrand Chenal 52142772bc Fix get_rec_name on purchase.request 2009-03-19 11:17:44 +01:00
Cédric Krier 57fb32aec9 Remove OSV and WizardOSV 2009-02-28 17:06:35 +01:00
Bertrand Chenal 8274f546cf Avoid to use string for domain when possible 2009-02-23 19:05:49 +01:00
Bertrand Chenal d3f01862fd Product on purchase request must purchasable 2009-02-23 15:59:56 +01:00
Bertrand Chenal 614f578647 Prevent to create supply requests for non-purchasable products 2009-02-23 15:11:16 +01:00
Cédric Krier 94f4d7f1de Replace name_get, name_search with get_rec_name and search_rec_name
Return only id for default value of many2one
2009-02-17 11:52:28 +01:00
Bertrand Chenal 04b7c2eac1 Use new stock_skip_warehouse on products_by_location 2009-01-21 23:30:55 +01:00
Mathias Behrle eede7e233f Add _description and docstring to WizardOSV for issue718 2009-01-04 00:54:43 +01:00