Commit Graph
111 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 5a7b6f4e16 Use cls in classmethods
issue4396
review13771002
2014-12-09 23:33:17 +01:00
Cédric Krier 994bd8a103 Fix most flake8 errors
review8771002
2014-12-02 12:56:04 +01:00
Robin Baumgartner 486006e8ff Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 14:03:52 +01:00
Cédric Krier 35e5a4a7a9 Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:54:45 +01:00
Cédric Krier 5b4b6b1558 New API for on_change
issue4203
review8581002
2014-10-29 20:40:25 +01:00
Sergi Almacellas Abellana 38eadbc7e9 Skip zero quantities when prefiling an inventory
issue3976
review6391002
2014-07-03 18:49:59 +02:00
Cédric Krier 634b9ab416 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:37 +01:00
Albert Cervera i Areny 4dc7a144e7 Remove dependencies on One2Many fields.
issue3555
review2341002
2013-12-18 01:11:19 +01:00
Cédric Krier 5046abe5fe Missing moves rename in Inventory.copy 2013-12-01 22:39:26 +01:00
Cédric Krier 2b78c34768 Use origin for inventory move
By using the origin, it is possible to create all the move with one create
call.

issue3512
review1811002
2013-11-28 23:21:45 +01:00
Cédric Krier 4f833ee812 Migration to python-sql
review1001002
2013-09-06 22:34:48 +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 062720b2b0 Group call to Move.do when confirming 2013-01-01 22:24:15 +01:00
Cédric Krier b91a1b2405 Fix test on consumable in complete_lines 2013-01-01 22:23:32 +01:00
Cédric Krier 75bbef0077 Use Workflow for Stock Move
review600002
2012-12-27 21:53:07 +01:00
Cédric Krier 117620f88d Fix typo in complete_lines
issue2938
2012-12-25 11:28:05 +01:00
Cédric Krier c5f83d3810 Active Record 2012-09-24 22:18:17 +02:00
Cédric Krier 9759fd0bc8 Don't use Many2One as _rec_name
issue2547
2012-04-15 17:29:18 +02:00
Cédric Krier 642b71ee6d Add missing default value for expected_quantity of inventory 2012-04-06 19:50:57 +02:00
Cédric Krier bd7f66d7db Fix pep8 and pyflakes 2012-04-03 20:07:43 +02:00
Cédric Krier 47b51e197b Allow only deleting cancelled workflowed models
review317001
2012-04-03 12:17:23 +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
Nicolas Évrard 200bd670e6 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:54 +01:00
Cédric Krier ee6e3abccc New product types: Goods, Assets and Service
review260001
2012-03-16 12:42:00 +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 82458c020e New wizard design 2012-01-02 18:07:56 +01:00
Nicolas Évrard f6b35baa82 fix pyflake errors
review164008
2011-11-02 16:13:35 +01:00
Nicolas Évrard fb5ad2fa18 Use function name in workflow instead of python code 2011-08-11 16:34:36 +02: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 c88eebba5d Add missing rounding in creation of move of inventory for issue2007 2011-05-10 15:03:54 +02:00
Cédric Krier cd62ea725f Update for new Transaction 2010-08-19 22:22:44 +02:00
Cédric Krier ada56fe0cb Fix complete inventory for lines with product not in location for issue1633 2010-07-25 15:02:45 +02:00
Cédric Krier 79af1dc9b4 Remove ids from on_change* calls 2010-03-18 18:15:51 +01:00
Cédric Krier 43f2ff38d4 Add missing depends on unit_digits 2010-03-11 22:35:29 +01:00
Cédric Krier 6c2908774a New interface for Function/Property fields 2010-03-11 16:54:32 +01:00
Cédric Krier b0ffad195c Add default search value on inventory, move and shipments 2010-01-23 11:47:04 +01:00
Cédric Krier bfab410ce8 Use PySON 2010-01-20 11:04:28 +01:00
Cédric Krier d9a03de2c0 Remove unused company_obj 2009-12-29 18:01:46 +01:00
Bertrand Chenal 93c34b25fa Removed duplicate set_state_cancel on inventory (issue1323) 2009-12-07 10:18:06 +01:00
Cédric Krier 973ef1e96d Fix copy for remove of product_ids of complete_lines 2009-10-12 23:40:52 +02:00
Bertrand Chenal 843b6d1980 Removed popup for "Complete Inventory" wizard 2009-10-02 12:02:40 +02:00
Bertrand Chenal 2248cfbdda Use local context instead of editing global one 2009-09-29 12:14:07 +02:00
Bertrand Chenal 7a2f21f2b8 Handle gracefully inventory completion
if a exsiting product has been set inactive or not stockable
2009-09-23 16:42:40 +02:00
Cédric Krier f2620abc66 Return move id in create_move of inventory line 2009-08-03 16:34:51 +02:00