Cédric Krier
|
f1fff63d30
|
Use origin on timesheet work and make timesheet available editable
issue5599
review25361002
|
2016-06-24 09:29:57 +02:00 |
|
Nicolas Évrard
|
60cb4c7d99
|
Follow PEP-0249 for Transaction and backends
issue4949
review19781002
|
2016-03-03 21:55:13 +01:00 |
|
Sergi Almacellas Abellana
|
5f6e8e81c5
|
Remove unused method search_comany
issue5295
From changeset 636dd8830398
review19841002
|
2016-02-07 11:39:30 +01:00 |
|
Cédric Krier
|
eba34d639a
|
Add digits to total_progress and round it
issue5096
review22591002
|
2015-11-10 13:03:57 +01:00 |
|
Cédric Krier
|
a3f98d5194
|
Test in copy/delete if timesheet work is filled
changeset 636dd8830398 removed the required on work so copy and delete must
test if the field is filled before using it.
issue5040
review23541002
|
2015-10-18 16:48:28 +02:00 |
|
Cédric Krier
|
c3e868b4af
|
Remove usless default method
issue4991
review23441002
|
2015-10-01 22:40:44 +02:00 |
|
Cédric Krier
|
c0eecaf938
|
Add progress of work
issue4954
review16591002
|
2015-09-24 15:46:08 +02:00 |
|
Cédric Krier
|
818edc5c74
|
Improve speed of sum_tree
- add a generic Function field getter: get_total
- use SQL query to construct parents dictionary
issue4972
review20401002
|
2015-09-17 11:18:56 +02:00 |
|
Cédric Krier
|
53dacc3ecd
|
Use sum_tree to compute duration
As the timesheet tree is no more the same as the project tree.
issue4970
review19461002
|
2015-09-17 09:29:03 +02:00 |
|
Cédric Krier
|
89d6c7971d
|
Fix wrong join in migration of Work.parent
issue4938
|
2015-09-16 17:42:08 +02:00 |
|
Cédric Krier
|
15733cff51
|
Uses own parent, name for work
This is to simplify the tree structure of the works.
issue4938
review17431002
|
2015-09-07 14:00:31 +02:00 |
|
Cédric Krier
|
509c95561b
|
Define effort_hours on Work in project instead of project_invoice
effort_duration is defined in project module so effort_hours should also.
issue4937
|
2015-08-27 12:28:43 +02:00 |
|
Cédric Krier
|
c37804c0d3
|
Remove boolean expression in order
issue4852
review15541002
|
2015-07-13 23:58:38 +02:00 |
|
Cédric Krier
|
dc09fc5b18
|
Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
|
2015-06-22 16:59:41 +02:00 |
|
Cédric Krier
|
08b24e7db1
|
Use TimeDelta field
issue4026
review11771002
|
2015-02-09 23:02:30 +01:00 |
|
Cédric Krier
|
110cbe31b7
|
search_global yields record instead of id
It is better for customization to yield record instead of id to prevent to
instantiate a second times the record.
issue4519
review6871002
|
2015-02-04 13:38:28 +01:00 |
|
Cédric Krier
|
e215f98c31
|
Fix most flake8 errors
review8771002
|
2014-12-02 12:55:41 +01:00 |
|
Robin Baumgartner
|
63c42a2e6f
|
Use Null constant from python-sql for comparisons
issue4143
review13701003
|
2014-11-24 14:02:22 +01:00 |
|
Cédric Krier
|
944b759883
|
Add icon to global search
review3511002
|
2014-02-20 23:29:11 +01:00 |
|
Cédric Krier
|
f3b1222a8a
|
Make hours always visible
hours is also useful for work without timesheet as it could have children with
timesheet.
review2931004
|
2014-01-26 22:14:35 +01:00 |
|
Cédric Krier
|
662710aa53
|
Fix compute of initial leafs in sum_tree
Initial leafs are works that are not parent.
review2931002
|
2014-01-26 22:13:13 +01:00 |
|
Cédric Krier
|
77e07c6e02
|
Use fields.depends decorator
issue3487
review2301002
|
2014-01-26 14:29:25 +01:00 |
|
Cédric Krier
|
3f3bbc1cdf
|
classmethod set_active should use cls instead of self
|
2013-11-18 12:52:14 +01:00 |
|
resteve
|
7b4b6fcf34
|
Fix on_change's when work is empty
issue3488
review1651002
|
2013-11-12 16:33:25 +01:00 |
|
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 |
|