Commit Graph
100 Commits
Author SHA1 Message Date
Cédric Krier 54075ed98b Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02: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
David Harper 96a6fb6bce Enable periods to end on any day of the month
issue8855
review252671002
2020-02-04 10:10:32 +01:00
Cédric Krier 39a9c88617 Add expand on tree view
and unify layout of form view.

issue8644
review262131002
2019-09-28 23:59:08 +02:00
Sergi Almacellas Abellana ba1db163d1 Update sequence name in renew fiscal year
issue7967
review269941002
2019-07-26 09:39:29 +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 0929d8d550 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier 1da2c0f815 Use move origin for move line domain of balance non-deferral
issue8074
2019-03-08 23:27:34 +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 551744fbaa Remove custom strftime for year before 1900
The bug has been fixed in Python 3.3

issue7814
review48671002
2018-10-31 18:15:57 +01: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
Sergi Almacellas Abellana 122f3e6059 Remove fiscalyear closing lines
issue6870
review41621002
2017-11-10 10:04:16 +01:00
Cédric Krier f70ae462de Do not clear args in FiscalYear.write
issue6665
2017-09-28 13:12:03 +02:00
Cédric Krier 98d54f2ef3 Remove ordering of periods operations
Since changeset cae474455419, this has no effect anymore as the field group
operation without keeping the ordering.

issue6665
review35631002
2017-09-28 12:48:40 +02:00
Sergi Almacellas Abellana 8a2727d7d4 Add wizard to ease creation of fiscalyear
issue6283
review33891002
2017-09-28 11:37:00 +02:00
Cédric Krier b1e320e204 Add definitive lock of period and fiscal year
issue6339
review28201002
2017-04-02 12:46:28 +02:00
Cédric Krier 85a9e332b5 Remove special registration order of ModelSQL
issue5682
review29051002
2016-12-17 00:39:04 +01:00
Cédric Krier b6cf9348ae Enforce second currency and add amount for it on account
This makes the documentation of the second currency in concordance
with the code.

issue2766
review28841002
2016-10-15 20:47:10 +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 5b4c3d3743 Use debit - credit instead of balance to balance non-deferral
The balance is cumulative but not the debit/credit as all accounts will be
balanced to succeed each account must be balanced with its non-cumulative
balance.

issue4479
review6211003
2015-03-26 21:14:22 +01:00
David Harper 4d0cf5b01a change Ok to OK
issue4290
review7021002
2015-03-10 18:27:06 +01:00
Sergi Almacellas Abellana 85817bcc55 Speedup fiscalyear closing process
issue4443
review14841002
2015-01-21 19:40:24 +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
Cédric Krier 9d66479afa Add domain on start/end date to enforce order
issue2773
review9371002
2014-05-23 11:55:03 +02:00
Albert Cervera i Areny fd5264bf91 Only use non-view accounts in Balance Non-Deferral wizard
review3501002
issue3674
2014-02-23 07:43:06 +01: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 81fe85905d 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:20 +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 44c4b89065 Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:25:04 +02:00
Cédric Krier 7d2e9e3e02 Add balance non-deferral wizard
review627002
2013-09-16 11:33:24 +02:00
Cédric Krier 51bd459220 Migration to python-sql
review1001002
2013-09-06 22:33:47 +02: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 21c76b21ca Add cumulate option for Debit/Credit on Account
issue1893
review455001
2012-09-26 19:43:02 +02:00
Cédric Krier fd23594be2 Fix typo in _process_account 2012-09-25 11:26:00 +02:00
Cédric Krier 0f919d5f3a Active Record 2012-09-24 22:17:29 +02:00
Cédric Krier 4ae7737258 Merge all kind of buttons
review483002
2012-09-10 16:09:25 +02:00
Cédric Krier f786ac465b Backed out changeset eae596a7d8d5 2012-09-10 16:07:40 +02:00
Cédric Krier 506a883276 Merge all kind of buttons
review483002
2012-09-10 15:43:56 +02:00
Cédric Krier 310ee038ae FiscalYear.close take a list of ids now
issue2562
2012-04-21 01:39:12 +02:00
Cédric Krier ff9f887f17 Fix pep8 and pyflakes 2012-04-03 20:06:15 +02:00