Commit Graph
82 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana ca31845e54 Add depends on Button
issue6919
review40811002
2018-02-19 11:36:13 +01:00
Sergi Almacellas Abellana d2e90dd4bb Pass pattern argument on multivalue default fields
issue6658
review40541002
2017-07-25 09:54: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
Cédric Krier e019315e9c Remove Property fields
issue2349
review34831002
2017-04-01 00:25:49 +02:00
Cédric Krier 760f71d95d Remove journal view
The feature can be emulated by contextual view inheritance.

issue6002
review31681002
2016-10-31 17:25:11 +01:00
Sergi Almacellas Abellana cc474f9357 Use sequence_ordered
issue5105
2016-09-13 14:02:40 +02:00
Cédric Krier c5bbf7c6ac Remove journal option for updating posted moves
This option is in general bad accounting practice
and often forbidden in many countries.

issue5825
review32481002
2016-09-10 10:12:18 +02:00
Xavier Codinas 3438eb29d9 Add rec_name instead of journal and period names.
issue2371
review29321002
2016-07-07 10:36:37 +02:00
Sergi Almacellas Abellana 6777dce1ea Use context model in open cash journal
issue5539
review21971002
2016-05-20 15:34:29 +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 8fdd1a480c Add Journal Cash reporting
issue4891
review15581002
2015-09-01 23:57:00 +02:00
Cédric Krier 48cd9b0454 Remove boolean expression in order
issue4852
review15541002
2015-07-13 23:57:30 +02:00
Cédric Krier d8b28a75d4 Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
2015-06-22 16:58:24 +02: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 97cf771163 Better label for Journal.update_posted
issue4679
review11141002
2015-03-26 21:15:15 +01:00
Cédric Krier 2105994ca4 Avoid naming collision between table variable in Journal migration from 1.0 2014-12-08 16:12:41 +01:00
Cédric Krier 492ffa9f5a Fix most flake8 errors
review8771002
2014-12-02 12:54:29 +01:00
Robin Baumgartner 63bd7b99f3 Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 13:58:35 +01:00
Cédric Krier 483a2fc404 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:44:51 +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 495f2cb539 Improve write-off
- Use account of write-off journal as default
- Add write-off journal type

issue3538
review2101002
2013-12-20 13:59:46 +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 a3b1b97950 Fix required test on accounts journal as default company value is no more 0 2013-10-10 12:24:05 +02: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 b012a00c64 Fix domain concatenation between list and tuple 2013-09-10 14:29:23 +02:00
Cédric Krier 51bd459220 Migration to python-sql
review1001002
2013-09-06 22:33:47 +02:00
Albert Cervera i Areny d129b4298f Remove centralised from account.journal
review853002
issue3071
2013-05-21 19:09:37 +02:00
Ian Wilson 95e9120cc9 Fix close and open account journal period wizards.
Use browse instead of model constructor for list of ids.
Model constructor expects single id instead of a list of ids.

issue3047
review706002
2013-03-07 14:42:09 -08: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 87222daf32 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 0f919d5f3a Active Record 2012-09-24 22:17:29 +02:00
Cédric Krier c00adbaa7f Remove required on sequence
review348001
2012-05-14 15:36:13 +02:00
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
Nicolas Évrard 06f7a2dd00 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:49 +01:00
Mathias Behrle 70f08b7c1f Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:52:56 +01:00
Cédric Krier 22b054c569 Allow to update XML journal
issue2394
2012-02-07 23:50:58 +01:00
Cédric Krier 7df64ddc43 New wizard design 2012-01-02 17:54:33 +01:00
Cédric Krier cbacef96c9 Make PYSON more Pythonic 2011-08-21 11:20:29 +02:00
Cédric Krier fecfac6a5c Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:17:23 +02:00
Cédric Krier 509b86dc79 Change Pool into a Singleton 2011-07-03 13:18:40 +02:00
Cédric Krier 817ecaa4b7 Fix required states to exclude none company context 2010-10-24 22:59:12 +02:00
Cédric Krier 7e4d193ddc Update for new Transaction 2010-08-19 22:02:00 +02:00
Cédric Krier b7cba0e0d9 searcher on Function fields take only one domain clause as argument 2010-03-23 11:26:52 +01:00
Cédric Krier c4096a3144 New interface for Function/Property fields 2010-03-11 16:45:27 +01:00
Cédric Krier 4d0bf1c22f Use PySON 2010-01-20 10:56:33 +01:00
Mathias Behrle 78ecc81b98 Remove surplus argument for issue 1363. 2010-01-04 17:42:53 +01:00
Cédric Krier 6399be065d Fix domain and depends on journal because company is not always in context 2009-11-06 08:13:03 +01:00
Cédric Krier ce561e2b74 Change string domain into list 2009-06-23 18:52:32 +02:00