Cédric Krier
c75e5a4c73
Follow isort formatting
...
issue10928
2021-12-11 17:58:42 +01:00
Cédric Krier
de51de4dea
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:52 +01:00
Cédric Krier
ad67cb963e
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:45 +02:00
Cédric Krier
0c889dd134
Test company before getting the id
...
issue7286
review40251002
2018-03-29 20:25:41 +02:00
Cédric Krier
7c6c865f47
Fix searcher methods for dot notation
...
issue6757
review40651002
2017-09-27 18:37:27 +02:00
Cédric Krier
b5371d863f
Add invisible and readonly state on analytic_accounts
...
issue6329
review28081002
2017-03-13 23:06:50 +01:00
Cédric Krier
43a7b9799f
Add support for depreciable assets
...
The analytic entries should not be created when posting the invoice for
depreciable assets. Instead entries must be created when the assets are
depreciated.
issue5909
review26731002
2016-10-12 22:36:54 +02:00
Cédric Krier
676f4cd08d
Use the get_analytic_lines on Account Entry
...
issue5908
review34291002
2016-10-05 19:20:35 +02:00
Cédric Krier
6bac4b1647
Do not set removed field on analytic line
...
issue3916
review29541002
2016-09-27 20:55:58 +02:00
Cédric Krier
06a740c7fe
Add company domain on analytic entries
...
issue5104
review24081002
2016-09-27 19:36:53 +02:00
Cédric Krier
7d326a9c12
Use instances to create invoice account moves
...
issue5751
review27501002
2016-08-10 22:57:38 +02:00
Jonathan Levy
c6c27b40e6
Add Python3 support
...
issue3211
review24871002
2016-02-29 22:43:13 +01:00
Sergi Almacellas Abellana
701c18af0f
Don't create analytic entries if no account is defined
...
issue4527
review11851003
2015-02-06 11:26:03 +01:00
Cédric Krier
713bb71537
Missing Pool import
...
from changeset 3e1292088d4f
2015-02-03 09:25:26 +01:00
Nicolas Évrard
75f75831b2
Use One2Many for analytic accounts
...
issue4217
review11511002
2015-01-02 14:04:56 +01:00
Cédric Krier
77adb5e80d
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:57 +01:00
Cédric Krier
50fd816986
Use context to check model and field access
...
issue4081
review8481002
2014-09-17 21:45:10 +02:00
Cédric Krier
03da68e8e6
Remove with_on_change from default_get
...
issue3923
2014-06-08 00:34:38 +02:00
Cédric Krier
07685ae1f3
Add with_on_change switch to default_get
...
issue3602
review2781002
2014-01-26 21:58:10 +01:00
Cédric Krier
d7da5d2ba0
Rationalize relation actions
...
* Remove relation field actions:
- delete_all
- unlink_all
- set
* Rename relation field action unlink into remove
issue3457
review2271002
2013-12-20 12:33:33 +01:00
Cédric Krier
20499cef85
Use a sequence of records, values in write
...
issue3499
review1641003
2013-12-19 14:44:46 +01:00
Cédric Krier
b29a3f7ed2
Fix states of analytic account fields
...
Set the same state of the real one2many and use a custom one for required.
issue3012
review1151003
2013-10-20 20:43:58 +02:00
Cédric Krier
c8fb016397
Fix flake8
2013-10-05 12:16:40 +02:00
Marco Huymajer
d411a18d81
Use accounting date instead of invoice date
...
For the analytic lines generated out of invoice lines use the accounting
date instead of the invoice date.
issue3075
review728002
2013-03-25 09:07:52 +01:00
Cédric Krier
46f2cdef4d
Remove _inherits
...
review670002
2013-03-20 22:50:30 +01:00
Cédric Krier
9cca021780
Fix flake8
2013-02-17 15:33:07 +01:00
Albert Cervera i Areny
d5f334d538
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
eaac29fdc2
"add" operator takes a list of ids
...
issue2923
2012-12-09 12:19:44 +01:00
Cédric Krier
9a94f0559f
Active Record
2012-09-24 22:17:40 +02:00
Cédric Krier
01840bd865
Fix pep8 and pyflakes
2012-04-03 20:06:35 +02:00
Cédric Krier
318cce8e6e
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:18 +02:00
Nicolas Évrard
254ce52fbf
fix pyflake errors
...
review165005
2011-11-02 16:05:24 +01:00
Cédric Krier
8961e6b682
Fix credit to copy analytic_accounts
...
issue1829
review130001
2011-10-03 23:30:42 +02:00
Udo Spallek
4499639442
Remove field names beginning with 'analytic_account_' from defaults.
...
issue1830
review76005
2011-08-22 13:25:37 +02:00
Cédric Krier
8041a9c256
Make PYSON more Pythonic
2011-08-21 11:20:35 +02:00
Cédric Krier
a648b26207
Add test for depends
2011-08-04 16:57:21 +02:00
Cédric Krier
a59b827513
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:17:34 +02:00
Cédric Krier
d261a0e6d7
Change Pool into a Singleton
2011-07-03 13:18:48 +02:00
Cédric Krier
c52f245532
Fix for new _view_look_dom_arch signature
2011-04-04 19:46:14 +02:00
Cédric Krier
e62a646b85
get_move_line return a list of values
2011-01-16 21:50:57 +01:00
Korbinian Preisler
ff4dc8afea
Update for new Transaction
2010-08-16 19:24:45 +02:00
Cédric Krier
3abaee91e1
Add default value to analytic_account_id fields for issue1583
2010-06-15 21:24:16 +02:00
Cédric Krier
d5c9055430
Use PySON
2010-01-20 10:58:52 +01:00
Cédric Krier
ac1533c418
Guidelines
2009-08-28 16:26:01 +02:00
Cédric Krier
d939fac709
Remove currency from analytic line values
2009-06-06 16:13:57 +02:00
Cédric Krier
bc50ce5f60
Create missing analytic_accounts on write and skip it on read for issue993
2009-04-15 11:39:38 +02:00
Cédric Krier
22a1848cc4
Use fields_names filtered to call super
2009-03-20 15:20:59 +01:00
Cédric Krier
ce12dda9af
Fix analytic_account_ read for new ModelSQL for issue876
2009-03-17 23:22:57 +01:00
Cédric Krier
8e80db1fcf
Remove OSV and WizardOSV
2009-02-28 16:58:39 +01:00
Cédric Krier
e22dad79d3
Fix for new modeldb
2009-02-02 13:10:17 +01:00