Commit Graph
93 Commits
Author SHA1 Message Date
Nicolas Évrard aee4fbef12 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:12 +02:00
Cédric Krier 2636396ca6 Do not sort state selection
issue11169
review374761005
2022-02-15 00:08:46 +01:00
Cédric Krier cc4333b810 Ensure to set correct company context when calling today
issue11046
review370421002
2022-01-23 12:54:56 +01:00
Cédric Krier 12c2bc14e7 Lock move table when closing period
issue11093
review395221002
2022-01-04 22:17:13 +01:00
Cédric Krier 18efb38013 Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier 19482782a7 Allow locking tables by calling ModelSQL.lock without records
issue10785
review359051002
2021-10-03 13:50:33 +02:00
Cédric Krier ee9adc628a Rename lock buttons into lock_
issue10784
review375541002
2021-10-03 00:35:25 +02:00
Sergi Almacellas Abellana e386417062 Validate that all inactive accounts have no balance when closing periods
issue10292
review349721003
2021-07-14 08:28:38 +02:00
Cédric Krier cf4704837b Order fiscal year and period with descending start date by default
issue10475
review348571002
2021-06-25 00:55:17 +02:00
Cédric Krier e5c62e816e Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:09 +01:00
Cédric Krier 232ec4b1f1 Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Jared Esparza 6cb6bf29ae Set proper key name for error message
issue9766
review300751002
2020-10-28 23:44:17 +01:00
Cédric Krier f5d1d549d7 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:50 +01:00
Cédric Krier 567eb41095 Add missing parent depends
issue8712
review258221002
2019-10-16 21:17:39 +02:00
Cédric Krier 6c497ef21e Use custom icons for open, close and locked state
issue8222
review287131003
2019-03-28 19:40:28 +01:00
Cédric Krier 1e447a7f39 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:28 +01:00
Cédric Krier 6485829233 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier 8758950427 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier 9dda2b3560 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:40 +02:00
Sergi Almacellas Abellana ca31845e54 Add depends on Button
issue6919
review40811002
2018-02-19 11:36:13 +01:00
Cédric Krier 8fa861103d Simplify language formatting
issue6858
review37761002
2017-11-15 00:16:39 +01:00
Cédric Krier ee6994adaa Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:24 +02:00
Cédric Krier b1e320e204 Add definitive lock of period and fiscal year
issue6339
review28201002
2017-04-02 12:46:28 +02:00
Sergi Almacellas Abellana 18aa9c545d Remove code from Fiscalyear and Period
issue4241
review29551002
2016-09-28 11:53:44 +02:00
Cédric Krier ae9bfd5b2e Rename language codes
issue5443
2016-09-10 23:26:07 +02:00
Cédric Krier 1624616066 Lock table when checking for overlap
issue5522
review27431003
2016-07-07 10:06:50 +02:00
Nicolas Évrard a829d4308a Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:53:17 +01:00
Cédric Krier edab5adf54 Fix search_rec_name for negative operator
In case of negative operator, each subclause must be composed with 'AND'.

issue4559
review13111003
2015-04-05 23:39:57 +02:00
Cédric Krier fd47e01f1d Don't check period if value did not change
issue4399
review13101002
2015-03-23 21:19:09 +01:00
Cédric Krier d3abea1dbb Remove useless context on Period.post_move_sequence
As changeset 42b9acc4c201 added a depends on company which is a Function field,
this useless context generates an infinite loop when reading post_move_sequence
because company was added as an eager loading field.
2014-12-08 16:18:41 +01:00
Cédric Krier 36c1ff8e75 Add missing company domain/field
issue4311
review7691002
2014-12-03 16:13:08 +01:00
Cédric Krier 492ffa9f5a Fix most flake8 errors
review8771002
2014-12-02 12:54:29 +01:00
Sergi Almacellas Abellana 7daa519226 Fix error message while closing a period with non posted moves
review8591002
issue4213
2014-09-26 16:00:28 +02:00
Cédric Krier 9d66479afa Add domain on start/end date to enforce order
issue2773
review9371002
2014-05-23 11:55:03 +02:00
Jordi Esteve e6be1ca3f6 Use OR clause in all search_rec_name
issue3613
review2901003
2014-01-31 14:06:56 +01:00
Cédric Krier e42c7d5508 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:33 +01:00
Cédric Krier c0a859ab2e Fix flake8 2013-10-05 12:16:23 +02:00
Cédric Krier 51bd459220 Migration to python-sql
review1001002
2013-09-06 22:33:47 +02:00
Udo Spallek dceaac7f1d Show first unposted period name on error.
issue3080
review716003
2013-03-25 18:35:52 +00:00
Albert Cervera i Areny 7f9c38ee89 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:53:42 +01:00
Cédric Krier f943da6141 Fix flake8 2013-02-16 18:54:35 +01:00
Albert Cervera i Areny f9cf118e9d Make period's post_move_sequence optional
review605004
issue2916
2013-01-22 16:14:24 +01:00
Albert Cervera i Areny 87222daf32 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier f0ef9d19f0 Fix special search clause on period
- browse take a list of ids
- use getattr instead of __getitem__
2012-11-07 10:59:00 +01:00
Cédric Krier 0f919d5f3a Active Record 2012-09-24 22:17:29 +02:00
Sharoon Thomas f053ca828b Correction in doc string
issue2658
review390004
2012-06-16 14:26:05 +05:30
Cédric Krier ff9f887f17 Fix pep8 and pyflakes 2012-04-03 20:06:15 +02:00
Cédric Krier 36bb3ddde1 Replace wrong usage of False by None
issue2512
2012-03-27 10:43:03 +02:00
Mathias Behrle 70f08b7c1f Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:52:56 +01:00
Cédric Krier 7df64ddc43 New wizard design 2012-01-02 17:54:33 +01:00