Commit Graph
45 Commits
Author SHA1 Message Date
Cédric Krier bd7cc190f7 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:53 +01:00
Cédric Krier 88948f4461 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier 9aa1fb5901 Use tree mixin
issue7383
review48301002
2018-05-12 00:51:06 +02:00
Cédric Krier 0122426395 Do not reset leveling for top level work
issue2618
review45351002
2018-04-13 18:50:37 +02:00
Sergi Almacellas Abellana aa77c3f5ec Use empty timedelta for computing duration when effort is empty
issue6589
review41401002
2017-06-26 09:40:31 +02:00
Sergi Almacellas Abellana 0732138b65 Fix antipatern of create/write in loop
issue3516
review10151003
2016-06-09 17:39:14 +02:00
Cédric Krier 70bb0160d4 Add Python3 support
issue3211
2016-03-07 20:12:58 +01:00
Karla Stenger a922eb6966 Remove extra space on Constraint Finish Time
issue5076
review23651002
2015-11-15 17:16:16 -03:00
Cédric Krier c175e0aada Remove active test as active field is removed
issue4938
review15621002
2015-09-07 14:02:22 +02:00
Cédric Krier a7e44cd7b4 Force computed duration to be a timedelta in any cases
issue4722
review14241002
2015-05-06 18:24:00 +02:00
Cédric Krier 37ab9efff1 Compute duration in seconds
datetime.timedelta doesn't support operations with float

issue4699
review11181002
2015-04-11 11:30:28 -04:00
Cédric Krier 7e6156427a Use TimeDelta field
issue4026
review12851002
2015-02-09 23:01:31 +01:00
Cédric Krier 1f68ed6a5f Fix most flake8 errors
review8771002
2014-12-02 12:55:44 +01:00
Cédric Krier 00a37971b6 Don't fail if effort is None
issue3725
review4271003
2014-03-17 18:59:00 +01:00
Cédric Krier 8f2bf9d7a2 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:18 +01:00
Nicolas Évrard ff4083f543 Fix usage of return in validation method
review1126002
2013-10-15 15:09:11 +02:00
Cédric Krier 759d10eb37 Fix flake8 2013-10-05 12:17:15 +02:00
Cédric Krier 2b54f0cd5a Fix wrong parent test in create_leveling
issue3246
review920002
2013-06-07 19:26:17 +02:00
Cédric Krier 15836382fe Remove request
review720002
2013-05-21 12:10:21 +02:00
Albert Cervera i Areny 63f2433705 Make leveling_delay and back_leveling_delay required
Make leveling_delay and back_leveling_delay required as they are needed to
compute early_start and late_finish values.

issue3195
review838002
2013-04-30 23:46:18 +02:00
resteve 9927eab86b Fix label of back_leveling_delay field
review702002
issue3042
2013-03-13 10:01:32 +01:00
Cédric Krier 8ae9b03018 Reference fields are instance now
issue3058
review709003
2013-03-12 10:42:24 +01:00
Albert Cervera i Areny d953c0f2db Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:55:43 +01:00
Cédric Krier f328e4656a Fix flake8 2013-02-24 15:35:20 +01:00
Albert Cervera i Areny 23881afc67 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 957d225f63 Fix duration computation
issue2827
2012-10-17 16:30:38 +02:00
Cédric Krier 1e2a508a21 Active Record 2012-09-24 22:18:07 +02:00
Cédric Krier fd737c806f Fix pep8 and pyflakes 2012-04-03 20:07:29 +02:00
Cédric Krier 14421f374f Replace wrong usage of False by None
issue2512
2012-03-27 10:43:52 +02:00
Mathias Behrle a03994a548 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:05 +01:00
Cédric Krier 533a73e263 New wizard design 2012-01-02 18:02:54 +01:00
Nicolas Évrard c2417c1aee fix pyflake errors
review167004
2011-11-02 16:12:07 +01:00
Cédric Krier 62df0e59ea Add missing operators to requests
issue2139
review102003
2011-09-28 13:17:03 +02:00
Cédric Krier 613e2221a4 Manage False value in requests Function field
issue2140
2011-09-12 12:44:46 +02:00
Cédric Krier de927ffe5f Make PYSON more Pythonic 2011-08-21 11:20:49 +02:00
Cédric Krier e05ab244ca Add test for depends 2011-08-04 16:57:37 +02:00
Cédric Krier 5f5a799ac6 Change Pool into a Singleton 2011-07-03 13:19:07 +02:00
Cédric Krier aa1ac136bf Fix typo from new Transaction 2010-09-03 21:03:55 +02:00
Korbinian Preisler cc5e006b3e Update for new Transaction 2010-08-16 19:28:32 +02:00
Cédric Krier f75243f237 Fix datetime combine when value is False for issue1560 2010-05-08 09:24:51 +02:00
Cédric Krier a9e60a3fb3 New interface for Function/Property fields 2010-03-11 16:52:42 +01:00
Bertrand Chenal 37977ffd4c Fix: use datetime value on DateTime fields.
Because DateTime fields now check the type written in the db.
2010-02-04 18:26:38 +01:00
Cédric Krier 98955527e2 Use PySON 2010-01-20 11:02:49 +01:00
Bertrand Chenal 54e6cfc7a2 Allow to create requests on the project form 2009-07-07 10:57:36 +02:00
Bertrand Chenal 61c26119c9 Initial commit 2009-06-25 17:37:37 +02:00