Commit Graph
142 Commits
Author SHA1 Message Date
Nicolas Évrard 95ec33db65 Adding exception state on the purchase requests
issue5107
review16811002
2015-11-17 17:30:42 -03:00
Nicolas Évrard 11f873785f Generate purchase requests even if rounding set the quantity to 0
issue4500
review14931002
2015-10-05 10:25:27 +02:00
Nicolas Évrard f0d499b978 Add searcher on purchase_request's state
issue4046
review14361002
2015-10-04 00:50:21 +02:00
Cédric Krier a61b523904 Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
2015-06-22 17:00:12 +02:00
Sergi Almacellas Abellana 60c56c0d84 Add unit digits to purchase requests
issue4282
review10581002
2015-02-09 19:53:51 +01:00
Cédric Krier 680b2318a2 Add missing company domain/field
issue4311
review7691002
2014-12-03 16:14:22 +01:00
Cédric Krier 1e516b0d7c Fix most flake8 errors
review8771002
2014-12-02 12:56:15 +01:00
Cédric Krier cc9ad04326 Wrong computation of delta to find shortages
On the first loop, get_shortage adds a second times the delta of moves at
current date.

issue4215
review9751002
2014-10-06 22:16:14 +02:00
Cédric Krier 6ee8bf9118 Remove ask for payment term in create purchase wizard
Since changeset c56c08f68eaa, payment term is no more required for purchase in
draft state.

issue4176
review10531002
2014-09-17 22:10:29 +02:00
Cédric Krier a821023312 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:46:06 +02:00
Cédric Krier 90232b3f26 Fix missing list convertion after grouped_slice
review5461002
2014-07-31 19:34:38 +02:00
Sergi Almacellas Abellana 42ce031989 Use grouped_slice helper.
issue3516
review10301002
2014-07-17 19:01:32 +02:00
Guillem Barba 199b604465 Supply purchase to CreatePurchase.compute_purchase_line()
issue4015
review14321002
2014-07-09 23:04:13 +02:00
Cédric Krier 952f1f591f Use common get_origin pattern for purchase request
issue4021
review13371002
2014-07-09 00:53:26 +02:00
Sergi Almacellas Abellana b743ed3e56 Add currency property on purchase request
issue3987
review12381002
2014-06-21 12:31:29 +02:00
Sergi Almacellas Abellana 1e339ce90b Allow to calculate purchase requests filtered by warehouse
issue3887
review12271003
2014-05-13 10:39:25 +02:00
Cédric Krier f1f0c7c612 Remove duplicate question on warning message
issue3821
2014-04-29 19:25:09 +02:00
Cédric Krier 43f3f12c41 Fix naming collision in generate_requests
Only requests with last products were deleted.

issue3684
review3591003
2014-02-20 23:20:40 +01:00
Cédric Krier 0a60f014b0 Fix labels for Requests creation
issue3427
review2161002
2013-12-12 13:10:18 +01:00
Cédric Krier abf4819d3d Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:25:59 +02:00
Cédric Krier 41d599b492 Migration to python-sql
review1001002
2013-09-06 22:34:56 +02:00
Cédric Krier 83590bd3d4 Extend Lot Management
review845002
2013-06-21 23:26:16 +02:00
Cédric Krier 9ac62d7f4e Prevent delete of purchased request
review907003
2013-06-06 20:44:15 +02:00
Cédric Krier b114594387 Add warning for late supplier moves when creating purchase request
review821002
2013-05-23 23:30:42 +02:00
Albert Cervera i Areny a3f375c9d9 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:56:07 +01:00
Cédric Krier 448b3d994c Allow to generate purchase request for subset of products
review695002
2013-03-06 13:34:05 +01:00
Cédric Krier 7a009b7ec4 Fix flake8 2013-02-28 22:59:23 +01:00
Albert Cervera i Areny 0f7f432374 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:14 +01:00
Cédric Krier ab7c2af3c6 find_best_supplier doesn't optimize anymore on the delivery delay
review593007
2012-11-27 21:05:40 +01:00
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