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
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