Cédric Krier
001df36766
Migration to python-sql
...
review1001002
2013-09-06 22:34:31 +02:00
Cédric Krier
8661b1e5d3
Don't copy timesheet and project children as link between both will be lost
...
review1042002
2013-09-02 11:03:48 +02:00
Cédric Krier
8099f8b140
Improve sum_tree
...
- Store parent to prevent random reads
- Don't use children as works is a full sub-tree
review1018002
2013-08-21 18:39:32 +02:00
Sergi Almacellas Abellana
d542a3562a
Add on_change functions for functional fields that depend on work
...
issue3267
review936002
2013-06-22 13:03:23 +02:00
resteve
b40acba078
Fix typo in project work error message
...
issue3198
review779004
2013-04-30 09:32:18 +02:00
Cédric Krier
e739a54c6c
Factorise sum_tree
...
review705002
2013-03-22 17:46:42 +01:00
Cédric Krier
ee921ed788
Remove _inherits
...
review670002
2013-03-20 22:50:59 +01:00
Albert Cervera i Areny
1785037b14
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:55:41 +01:00
Cédric Krier
a650479550
Fix flake8
2013-02-24 15:30:48 +01:00
Cédric Krier
013d619c62
Fix total_effort computation
...
issue2827
2012-10-17 16:29:21 +02:00
Cédric Krier
190881dcaa
Active Record
2012-09-24 22:18:06 +02:00
Cédric Krier
baf0fd369d
Remove required on sequence
...
review348001
2012-05-14 15:36:45 +02:00
Cédric Krier
c9117e3ffb
Fix pep8 and pyflakes
2012-04-03 20:07:27 +02:00
Cédric Krier
3dcb119128
Remove usage of type in context in favor of domain inversion
2012-03-30 11:47:47 +02:00
Nicolas Évrard
0715edbb9b
Display state on project too and add a constraint on it
...
review290002
2012-03-29 12:17:14 +02:00
Cédric Krier
043280bcfc
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:50 +02:00
Nicolas Évrard
4271874254
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 18:38:51 +01:00
Mathias Behrle
2f32c4f2ff
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:05 +01:00
Nicolas Évrard
046b8b678e
fix pyflake errors
...
review163011
2011-11-02 16:11:16 +01:00
Cédric Krier
12cdf7fb39
Make PYSON more Pythonic
2011-08-21 11:20:48 +02:00
Cédric Krier
49a6820238
Remove wrong modification of inherited company field
2011-08-03 20:06:01 +02:00
Cédric Krier
ee0d3569f8
Don't use the same default dictionnary for timesheet work copy in project work copy
...
review49008
2011-07-20 16:52:16 +02:00
Cédric Krier
6576223eff
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:17:59 +02:00
Cédric Krier
544fa92511
Migrate sequence only if it is on timesheet and not on project
...
review48007
2011-07-08 21:32:09 +02:00
Udo Spallek
6dfa1ac38b
Move field timesheet_lines and method copy to timesheet module.
...
Move field sequence from timesheet.work to project.work model. Add migration.
issue2025
review41003
2011-07-07 12:44:19 +02:00
Cédric Krier
e87e5f2c9f
Don't copy timesheet lines when copying work
...
review55001
2011-07-06 17:51:36 +02:00
Cédric Krier
376b7a9de1
Change Pool into a Singleton
2011-07-03 13:19:05 +02:00
Udo Spallek
4b5afc1330
Fix pyson for issue1913
2011-03-31 14:44:31 +02:00
Cédric Krier
f5a04d5fa1
Allow to copy project work for issue1807
2011-03-29 16:09:59 +02:00
Cédric Krier
545e357bc6
Fix context usage for new Transaction
2010-08-30 07:54:00 +02:00
Cédric Krier
2e720b2b27
Update for new Transaction
2010-08-19 22:16:58 +02:00
Cédric Krier
c55451f972
Fix search_parent as domain is no more a list for issue1528
2010-04-18 19:51:43 +02:00
Cédric Krier
44fb9b93ea
New interface for Function/Property fields
2010-03-11 16:52:21 +01:00
Cédric Krier
313186e045
Use PySON
2010-01-20 11:02:28 +01:00
Bertrand Chenal
52ea165eb0
Use browse record methods to compute total effort
2009-06-26 11:34:39 +02:00
Cédric Krier
5ee00f3ae7
Change string domain into list
2009-06-23 18:50:38 +02:00
Cédric Krier
998f8e9b1e
Don't make total_effort invisible on task because it is used in list view
2009-06-23 10:34:59 +02:00
Bertrand Chenal
2a8e7d548b
Show company field on the generic view of project.work
2009-06-04 11:21:32 +02:00
Bertrand Chenal
bcd676f370
Fix for variable instantiation that was made to late
2009-06-03 16:39:04 +02:00
Bertrand Chenal
d30cd6f8c9
Don't raise exception when searching with child_of as it is supported
2009-06-03 16:37:12 +02:00
Bertrand Chenal
d7476722ab
Fix get_parent has several child may share the same parent
2009-06-03 16:36:02 +02:00
Bertrand Chenal
010e4829db
Use model method for search_parent
2009-05-29 14:45:47 +02:00
Bertrand Chenal
76ba75d5f5
Added help on effort and total_effort
2009-05-29 11:10:17 +02:00
Bertrand Chenal
2bdb8b6b0b
Handle inactive records when computing total_effort
2009-05-27 18:28:58 +02:00
Bertrand Chenal
48555cd2ed
handle inactive records in get_parent
2009-05-27 18:28:26 +02:00
Bertrand Chenal
ad98c1c2fc
Removed useless code
2009-05-26 19:39:13 +02:00
Bertrand Chenal
d0e9542d6c
Use model methods instead of sql query for get_parent
2009-05-26 19:38:31 +02:00
Bertrand Chenal
00e126eef7
Improvements on work, project and task:
...
* work:
- added sequence
- added One2Many to timesheet lines
* project / task:
- use type instead of project_type
- added children, effort and total_effort
- handling of the parent field at the project.work level
2009-05-26 13:24:03 +02:00
Cédric Krier
34243c5614
Remove OSV and WizardOSV
2009-02-28 17:02:07 +01:00
Cédric Krier
c35fa9bc06
Fix for new field attributes names
2009-02-03 19:00:45 +01:00