Commit Graph
29 Commits
Author SHA1 Message Date
Cédric Krier a67d1952a7 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
David Harper 93f3022413 Add help text
issue6401
review34861002
2018-12-04 12:25:45 +01:00
Cédric Krier 5061618d5b Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Sergi Almacellas Abellana 94e9d784fb Add depends on Button
issue6919
review40811002
2018-02-19 11:41:53 +01:00
Cédric Krier 55082d76a6 Allow to group per product columns to compute quantity
This is needed to add the quantity relates on the template form.

issue7068
review40031002
2018-02-11 14:38:33 +01:00
Cédric Krier 8c1afa76fa Remove wrong classmethod on get_rec_name of Period
Introduced in changeset 706df76d7266
2017-08-10 12:33:01 +02:00
Cédric Krier 54996e1ccc Ensure rec_name is a char, text type
Model.default_get with 'default_rec_name' context relies on the fact that
rec_name is a string base field.

issue6630
review36501002
2017-07-26 23:43:27 +02:00
Cédric Krier 305cba24ce Select for update moves used to compute assignation
As a concurrent transaction could update a moves after waiting for the release
of the table lock, we must take a lock on each rows used for the computation.

issue6134
review25921002
2017-01-25 23:28:13 +01:00
Cédric Krier a2da70ea13 Use new PYSON syntax
issue2205
review16391002
2015-06-28 23:45:31 +02:00
Cédric Krier 2ce1f69998 Add default company on period 2015-01-16 16:14:32 +01:00
Cédric Krier 994bd8a103 Fix most flake8 errors
review8771002
2014-12-02 12:56:04 +01:00
Sergi Almacellas Abellana 6de834b6b8 Use grouped_slice helper.
issue3516
review10301002
2014-07-17 19:00:19 +02:00
Cédric Krier 1d6e99e7b7 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:53 +02:00
Cédric Krier 68eb13ed88 Fix flake8 2013-10-05 12:17:26 +02:00
Cédric Krier 77c5845141 Extend Lot Management
Allow to customize move creation of Inventory
Allow to customize unique constraint on Inventory
Allow specific grouping Period Cache
Add grouping on products_by_location and assign_try

review845002
2013-06-21 23:24:17 +02:00
Albert Cervera i Areny e1540c219a Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:56:01 +01:00
Cédric Krier a81cd74495 Fix flake8 2013-02-24 16:18:17 +01:00
Albert Cervera i Areny 37b61a3e90 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 01a33823ba Add missing default state for Period 2012-12-05 15:12:50 +01:00
Cédric Krier c5f83d3810 Active Record 2012-09-24 22:18:17 +02:00
Cédric Krier e3ed31b119 merge 2012-04-01 12:46:54 +02:00
Albert Cervera i Areny d3fd83d1a2 Fix multi-line description for stock.period.cache.
issue2510
review304005
2012-03-29 00:34:50 +02:00
Cédric Krier 791735b65d Replace wrong usage of False by None
issue2512
2012-03-27 10:44:04 +02:00
Cédric Krier 622375010e Simplify workflow engine
review256001
2012-03-25 00:18:19 +01:00
Mathias Behrle 6cbeee4fa3 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:08 +01:00
Cédric Krier 183a3e7bbf Add test for depends 2011-08-04 16:57:42 +02:00
Cédric Krier c4fc2a95ba Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:18:06 +02:00
Cédric Krier 8eeb3c949f Change Pool into a Singleton 2011-07-03 13:19:14 +02:00
Cédric Krier 82534cf54e Improve stock quantity computation with internal_quantity and periods 2011-04-09 12:39:31 +02:00