Commit Graph
22 Commits
Author SHA1 Message Date
Cédric Krier f2d8c1d108 Add progress invoice method
issue4954
review18551002
2015-09-24 15:59:43 +02:00
Cédric Krier 652a56a961 Use project work name instead of timesheet work name
issue4938
2015-09-22 11:19:01 +02:00
Cédric Krier 2216c09cc1 Fix _get_invoiced_amount_timesheet when there is no timesheet
and fix Decimal precision in scenario
2015-09-22 10:54:58 +02:00
Cédric Krier a27c1e770d Rewrite _get_invoiced_amount_timesheet using SQL query
issue4976
review18591002
2015-09-22 09:33:38 +02:00
Cédric Krier 07133af2a7 Use get_total to compute invoice values
issue4972
review16611002
2015-09-17 11:21:05 +02:00
Cédric Krier 3a47dbee37 Add missing test on timesheet work when opening invoices
Since issue4938, timesheet work on project work is no more required.
2015-09-14 17:19:06 +02:00
Cédric Krier 57bf856e48 Fix computation of invoice amount on effort
The amount must be proportional to the effort hours of the work because the
invoice line could have been grouped.

issue4946
review19431002
2015-09-07 13:57:43 +02:00
Cédric Krier c9b44e946d Backed out changeset 543af8506b61 2015-09-04 13:23:23 +02:00
Cédric Krier db9620ab31 Fix computation of invoice amount on effort
The amount must proportional to the effort hours of the work because the
invoice line could have been grouped.

issue4946
review19431002
2015-09-04 12:05:18 +02:00
Cédric Krier 040efcabb9 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:44 +02:00
Cédric Krier 9392b07d02 Use default value instead of None when summing
to avoid unsupported operation between None and timedelta.

issue4725
review18261002
2015-05-19 09:49:07 +02:00
Cédric Krier 16b624ebaf Use TimeDelta field
issue4026
review12841002
2015-02-09 23:02:03 +01:00
Cédric Krier 0625565818 Fix most flake8 errors
review8771002
2014-12-02 12:55:43 +01:00
Robin Baumgartner b323175cb4 Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 14:02:39 +01:00
Cédric Krier 1cacbc6e85 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:42 +02:00
Sergi Almacellas Abellana 6d1f371d68 Use grouped_slice helper.
issue3516
review10301002
2014-07-17 18:59:24 +02:00
Cédric Krier e108088302 Migration to python-sql
review1001002
2013-09-06 22:34:32 +02:00
Cédric Krier 36aca08556 Fix ids mixing between timesheet and project works
review915002
2013-06-07 19:24:34 +02:00
Cédric Krier 7d85dd648a Fix invoice method computation for task without project
issue3175
review819002
2013-05-04 11:46:10 +02:00
Cédric Krier 77cb41023f Typo in customer_tax_rule test
issue3194
review843002
2013-04-29 21:31:01 +02:00
Cédric Krier 9789348c77 Add ending colon to error messages 2013-03-22 18:22:04 +01:00
Cédric Krier edd9d11ece Initial commit of project_invoice module
review705002
2013-03-22 17:59:00 +01:00