Sergi Almacellas Abellana
0a5b11e19e
Make currency_digits depend on company
...
issue9912
review329851002
2020-12-06 18:25:08 +01:00
Cédric Krier
6802742800
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Cédric Krier
c8334a71b3
Add model, record and records attribute on Wizard
...
issue9421
review309861012
2020-07-07 23:56:09 +02:00
Cédric Krier
714be88e56
Add cached_property in tools
...
issue9277
review299951002
2020-06-17 00:33:30 +02:00
Cédric Krier
977003ab6d
Test asset_lines before using first line for start_fixed_value
...
issue9254
review311381002
2020-04-28 00:25:58 +02:00
Sergi Almacellas Abellana
86f6a2a0b8
Add company as product context field
...
issue9111
review275031002
2020-04-25 09:17:50 +02:00
Cédric Krier
822aa3c779
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:51 +01:00
Sergi Almacellas Abellana
6b9cf5d51c
Add configuration values for frequency
...
issue8987
review260821002
2020-01-29 22:24:40 +01:00
Cédric Krier
3523c26bbe
Use fixed year of 365 days
...
issue8743
review254471002
2019-11-16 14:49:18 +01:00
Cédric Krier
28d9de2151
Add depreciated amount
...
This eases the encoding of existing assets when migrating to Tryton.
issue8663
review280151002
2019-10-08 18:47:27 +02:00
Sergi Almacellas Abellana
ccf16bcb84
Set currency digits on asset lines fields
...
issue8666
review252191002
2019-09-24 15:16:23 +02:00
Sergi Almacellas Abellana
e0262f1e75
Clear move when duplicating asset
...
issue8664
review272211002
2019-09-24 15:13:16 +02:00
Cédric Krier
dc238e9086
Merge account kind and account type
...
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier
e71706761b
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:28 +01:00
Cédric Krier
890a5a8cb3
Improve ModelStorage.copy
...
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002
2018-09-01 01:02:03 +02:00
Cédric Krier
4ad008112f
Add support for chart of account evolution
...
* Add replacement account
* Add period on account and tax code
issue7417
review45671002
2018-08-31 14:58:05 +02:00
Cédric Krier
a5c1dde783
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier
1140cbd18c
Break list comprehension at 80 cols
2018-07-24 21:59:19 +02:00
Sergi Almacellas Abellana
7f7f66f580
Correctly compute depreciation values with out of range dates
...
Asset lines may be empty when the asset does not have any line in the date
range. We should not compute the values from the lines on such cases but use
the asset start values.
issue7395
review50451002
2018-07-04 14:20:39 +02:00
Sergi Almacellas Abellana
204e72061f
Allow to set when the depreciation move should be created
...
issue7424
review46431002
2018-06-29 09:42:12 +02:00
Cédric Krier
a8591714ca
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:40 +02:00
Sergi Almacellas Abellana
c8806e7f78
Do not recompute asset end_date if it is already set
...
issue7422
review50331002
2018-05-11 11:11:17 +02:00
Sergi Almacellas Abellana
6f0c1d520d
Make asset line fields readonly
...
issue7222
review36021002
2018-03-23 10:15:33 +01:00
Sergi Almacellas Abellana
d14dcd9bd8
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:36:24 +01:00
Cédric Krier
8c3fafc82e
Change depreciation_duration into Integer
...
There is no real need for this field to be a Property, it is only a default
value that should most of the time be the same for all companies.
issue6395
review27251002
2017-03-27 16:55:48 +02:00
Sergi Almacellas Abellana
bd3c4f04a8
Fix antipatern of create/write in loop
...
issue3516
review8921002
2016-06-09 17:37:44 +02:00
Cédric Krier
7c3b85842e
Naming convention for code, number and reference
...
issue1479
review17171002
2016-03-28 10:32:32 +02:00
Cédric Krier
ab5d28b374
Merge invoice and credit note
...
issue5225
review18921002
2016-03-20 22:58:04 +01:00
Cédric Krier
9ea9ae9a46
Use ActionReport
...
issue4896
review18441002
2015-08-14 18:04:29 +02:00
Nicolas Évrard
54ea6c6b22
Fix use of cached_property and formatLang in Depreciation Table report
...
issue4818
review21321002
2015-07-09 11:00:00 +02:00
Cédric Krier
348e5ae06f
Use Constraint instance in ModelSQL._sql_constraints
...
issue4814
review15491002
2015-06-22 16:58:27 +02:00
Nicolas Évrard
cd4cbe7b7a
Add asset depreciation report
...
issue4184
review14501002
2015-02-03 17:20:11 +01:00
Cédric Krier
704a8c85ea
Add missing company domain/field
...
issue4311
review7691002
2014-12-03 16:13:09 +01:00
Marius Grigaitis
10da992586
Fix switch of currencies when converting invoice line amount to company currency
...
issue4393
review6731002
2014-12-03 13:58:43 +01:00
Cédric Krier
0031f36486
New API for on_change
...
issue4203
review8581002
2014-10-29 20:39:04 +01:00
Cédric Krier
8390f19bb4
Remove bad exclamation mark in error message
...
issue4249
2014-10-23 20:30:05 +02:00
Nicolas Évrard
ce82c37919
Ensure update move is between latest update move and next depreciation move
...
issue4190
review7601002
2014-09-22 18:54:36 +02:00
Cédric Krier
5f1e924770
Use context to check model and field access
...
issue4081
review8481002
2014-09-17 21:44:52 +02:00
Cédric Krier
3ce04738ab
Fix computation of depreciation for duration under 1 month
...
issue4151
review12531002
2014-09-16 10:08:32 +02:00
Sergi Almacellas Abellana
2e9e62371a
Use grouped_slice helper.
...
issue3516
review10301002
2014-07-17 18:56:57 +02:00
Cédric Krier
e6d46fce76
Add domain constraint on start/end date
...
issue3991
review13341002
2014-06-22 17:07:46 +02:00
Sergi Almacellas Abellana
48f20de021
Fix supplier invoice line domain and don't fail for lines without invoice date
...
issue3803
review4761002
2014-04-02 10:08:36 +02:00
Cédric Krier
0f0c439e13
Use fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:28:47 +01:00
Cédric Krier
431c34327f
Cast depreciation duration into integer
...
issue2972
review667002
2013-02-12 17:38:43 +01:00
Cédric Krier
a4f64e75fe
DeprecationWarning: Use __getattr__ instead of __getitem__
2012-11-23 18:29:00 +01:00
Cédric Krier
a76decb348
Initial commit
...
review439002
2012-11-15 19:33:08 +01:00