Cédric Krier
abd8bfe031
Follow isort formatting
...
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier
689dfeb62a
Add monetary field
...
issue10598
review338511002
2021-08-21 09:09:56 +02:00
Cédric Krier
e8cdf66d63
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
559135f17e
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier
2c1530e1b7
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:05 +02:00
David Harper
ec6c13c545
Do not refer to activated modules as installed
...
issue9395
review311721004
2020-07-09 10:33:42 +01:00
David Harper
d3f002424b
Rename invoice state from cancel to cancelled
...
issue8927
review303661003
2020-06-06 10:23:14 +01:00
Cédric Krier
c2ad9be5ff
Add round_price
...
We add a common method to round prices that are stored using the price digits.
It is useless to use the digits from the field because it can not be changed in
any other way than by configuration.
issue9146
review299521002
2020-04-23 21:44:00 +02:00
Cédric Krier
fe44ac01f9
Allow not time based product on work
...
They are considered as fixed prices.
issue7853
review289011002
2020-03-28 13:06:21 +01:00
Cédric Krier
438448570a
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
2c244401d9
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier
315811329a
Hide work on non purchase line
...
If it is not a line, there is no cost to add to the work.
issue7481
review45611002
2018-06-18 21:52:52 +02:00
Sergi Almacellas Abellana
8e352576e3
Round revenue amounts in company currency
...
issue6982
review41701002
2017-12-14 09:48:13 +01:00
Cédric Krier
a2b2354f28
Replace work by timesheet_works
...
issue5599
review25131003
2016-06-24 09:31:08 +02:00
Nicolas Évrard
2c53ebd7c6
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:55:19 +01:00
Jonathan Levy
6bb7c0ce33
Add Python3 support
...
issue3211
review23891002
2016-03-01 21:49:37 +01:00
Cédric Krier
60133e4150
Remove no more meaningful comment
2015-10-28 10:34:27 +01:00
Cédric Krier
60ee1ce8e7
Use product price_decimal for list price
...
issue4989
review21401002
2015-10-01 22:27:18 +02:00
Cédric Krier
df053437d2
Include linked purchase to cost
...
without adding a strong dependency to purchase module.
Work can be set on the purchase line or purchase lines can be selected from the
work form view.
issue4951
review24351002
2015-09-24 16:08:08 +02:00
Cédric Krier
6dec4fc5c4
Use cost price from timesheet line
...
issue4977
review20411002
2015-09-22 19:27:26 +02:00
Cédric Krier
8423524ff5
Use get_total to compute revenue and cost
...
issue4972
review22421002
2015-09-17 11:19:59 +02:00
Cédric Krier
fb07d7d9a5
Show product and cost even if not available on timesheet
...
The product could be needed for project_invoice and the cost could be extended
to include other type of costs.
issue4966
review24381002
2015-09-17 09:33:37 +02:00
Cédric Krier
f5a7df93c5
Use left/right from project to compute cost
...
As the timesheet tree is no more the same as the project tree.
issue4970
review23411002
2015-09-17 09:31:09 +02:00
Cédric Krier
351ee51713
Remove active test as active field is removed
...
issue4938
review19411002
2015-09-07 14:03:10 +02:00
Cédric Krier
6f92a3d64d
Update to new effort_duration
...
issue4026
review9951002
2015-02-09 23:03:27 +01:00
Cédric Krier
d0ca2efc0b
Remove useless 'hour' depends on on_change_product
2014-12-28 16:13:33 +01:00
Cédric Krier
c750431145
Round cost with company currency
2014-12-28 16:12:40 +01:00
Cédric Krier
4fabfe0e1f
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:45 +01:00
Cédric Krier
bcb4c01ca1
New API for on_change
...
issue4203
review8581002
2014-10-29 20:40:07 +01:00
Sergi Almacellas Abellana
bac1cdbddb
Use grouped_slice helper.
...
issue3516
review10301002
2014-07-17 18:59:36 +02:00
Cédric Krier
dae0106a1b
Use work effort instead of total to compute revenue
...
total_effort contains the effort of the children but sum_tree needs only the
value of the work without the children.
review2931003
2014-01-26 22:15:20 +01:00
Cédric Krier
1b19cb71e3
Use fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:29:27 +01:00
Cédric Krier
aa8518b674
Improve work cost computation
...
issue3189
review1008002
2013-09-20 17:34:12 +02:00
Sergi Almacellas Abellana
f54960734f
Split funcionality into new module timesheet_cost
...
issue3258
review929002
2013-07-14 10:43:42 +02:00
Cédric Krier
5f9059f7d9
Add domain for uom category on product
...
review878002
2013-05-27 17:55:27 +02:00
Cédric Krier
64be84fbc9
Refactorize to use sum_tree
...
review705002
2013-03-22 17:49:17 +01:00
Cédric Krier
54e6e34ab8
Remove _inherits
...
review670002
2013-03-20 22:51:01 +01:00
Cédric Krier
e53ba59f6e
Fix revenue/cost computation
...
issue2827
2012-10-17 16:30:06 +02:00
Cédric Krier
89851566c3
Active Record
2012-09-24 22:18:08 +02:00
Nicolas Évrard
d15f859180
Add states on cost and reviewed project/task view
...
review388001
2012-09-21 15:40:29 +02:00
Cédric Krier
2d12659903
Fix pep8 and pyflakes
2012-04-03 20:07:30 +02:00
Nicolas Évrard
e699d02243
product, list_price and revenue should be visible for projects
2012-04-02 12:23:55 +02:00
Cédric Krier
53929cceec
list_price is not always filled
2012-03-30 19:20:18 +02:00
Nicolas Évrard
f46ed3566f
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 18:38:52 +01:00
Nicolas Évrard
08c0945721
fix pyflake errors
...
review163012
2011-11-02 16:12:17 +01:00
Cédric Krier
6453b1ec57
Make PYSON more Pythonic
2011-08-21 11:20:49 +02:00
Cédric Krier
fc6959d627
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:18:01 +02:00
Cédric Krier
5a67f82702
Change Pool into a Singleton
2011-07-03 13:19:08 +02:00
Mathias Behrle
ea1641d4ef
Use line.date and pass ids to calculate currency rate for issue1746.
2011-04-13 18:04:06 +02:00
Cédric Krier
0b60ddae67
Update for new Transaction
2010-08-19 22:17:42 +02:00