Commit Graph
68 Commits
Author SHA1 Message Date
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
Cédric Krier 36bb3ddde1 Replace wrong usage of False by None
issue2512
2012-03-27 10:43:03 +02:00
Cédric Krier 7acc22a0a3 Simplify workflow engine
review256001
2012-03-25 00:17:23 +01:00
Sergi Almacellas Abellana b94555c750 Added indexes on company fields
Put an index on every company field.

issue2184
review224004
2012-03-14 09:23:04 +01:00
Cédric Krier 7df64ddc43 New wizard design 2012-01-02 17:54:33 +01:00
Nicolas Évrard 1cc5b4982d correct pyflake errors
review163007
2011-11-02 15:50:44 +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 7069b7872c Add missing with_statement import 2010-08-20 07:56:54 +02:00
Cédric Krier 7e4d193ddc Update for new Transaction 2010-08-19 22:02:00 +02:00
Cédric Krier 4d0bf1c22f Use PySON 2010-01-20 10:56:33 +01:00
Cédric Krier 7c87054c36 Remove unused company_obj 2009-12-29 17:59:18 +01:00
Cédric Krier 96e0e9b829 Remove egenix-mx-base and replace it by python-dateutil 2009-12-17 11:40:31 +01:00
Cédric Krier ad8e1d54a8 Fix company context domain when company is not in context 2009-11-02 10:16:40 +01:00
Cédric Krier f73652cc5c Fix the use of rowcount because it can return -1 or None according to PEP249 2009-07-07 19:37:19 +02:00
Cédric Krier ce561e2b74 Change string domain into list 2009-06-23 18:52:32 +02:00
Cédric Krier aabecae43c Fix order of operation on periods for issue979 2009-04-14 17:01:07 +02:00
Cédric Krier c32595cff9 Add rule on fiscalyear for issue965 2009-04-11 12:42:55 +02:00
Cédric Krier b25bd289a1 Fix spell 2009-03-20 13:49:25 +01:00
Cédric Krier 047bc7ca3d Remove OSV and WizardOSV 2009-02-28 16:57:10 +01:00
Cédric Krier b92510c36e Change _rpc_allowed into _rpc 2009-02-25 12:25:33 +01:00
Cédric Krier 477a3f1834 Replace name_get, name_search with get_rec_name and search_rec_name
Return only id for default value of many2one
2009-02-17 11:42:11 +01:00
Cédric Krier 79dde3a33d Remove invisible attributes in xml and add depends on fields 2009-01-10 22:33:39 +01:00
Mathias Behrle 2db0636e75 Add _description and docstring to WizardOSV for issue718 2009-01-04 00:50:49 +01:00
Cédric Krier dfdad2735f Handle default value for sequence with context for issue609 2008-11-25 12:44:53 +01:00
Cédric Krier 5cb57261d4 Add domain and check on post_move_sequence 2008-11-25 00:40:32 +01:00
Cédric Krier 967aa6ffbe Fix period name for issue600 2008-11-22 14:53:02 +01:00
Cédric Krier 452648f3c9 Use ir.date 2008-10-08 12:17:47 +02:00
Cédric Krier e853b46065 Fix delete fiscalyear for issue415 2008-10-07 12:25:54 +02:00
Cédric Krier a33afb9d1b New fiscal year closing method:
- don't create move to deferral amount
- add a new object AccountDeferral to handle the debit/credit by fiscal year
  to deferral
- add button to close/reopen fiscal year
- modify the debit/credit/balance on account to take the amount from the
  AccountDeferral object
- add constraint on closing or re-opening fiscal year
- remove close_method on account and use a boolean deferral instead
- check that balance of non deferral accounts is zero when closing fiscal year
2008-09-19 15:00:26 +02:00
Cédric Krier d9aec75ec4 Add type on period
It allows to create adjustment period that can ovrelaps other periods
2008-09-16 19:43:07 +02:00
Cédric Krier dcc4b46292 Fix typo 2008-09-15 12:25:25 +02:00