Commit Graph
52 Commits
Author SHA1 Message Date
Ian Wilson 60afa8b833 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
(transplanted from 2a1398043c368c39f6675f9b6187a55ae417c9ed)
2013-03-07 14:42:09 -08: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
Cédric Krier 38ebfd19c2 Fix spell 2009-03-20 12:59:53 +01:00
Cédric Krier a8961c7113 Use the new TableHandler interface 2009-03-17 22:39:11 +01:00
Cédric Krier 047bc7ca3d Remove OSV and WizardOSV 2009-02-28 16:57:10 +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 82e7155336 Use new TableHandler 2009-02-04 13:30:24 +01:00
Cédric Krier 94aeae9901 Fix for new modeldb 2009-02-02 13:09:08 +01:00
Cédric Krier 79dde3a33d Remove invisible attributes in xml and add depends on fields 2009-01-10 22:33:39 +01:00
Cédric Krier b793dbbcad Fix guidelines 2008-12-16 21:13:04 +01:00
Cédric Krier 41645898bc Override default_sequence from ORM 2008-12-02 20:22:29 +01:00
Cédric Krier cf2b00cd81 Add missing comment on migration 2008-11-25 18:32:08 +01:00
Cédric Krier 08a29a71e1 Change sequence on Journal into Property for multi-company 2008-11-25 18:20:53 +01:00
Cédric Krier 903d64fc4c Add todo to change sequence into Property 2008-11-25 00:40:12 +01: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 2067574328 Improve states for accounts on journal for issue374 2008-09-17 13:42:48 +02:00
Cédric Krier 230a45a36a Add default value for boolean field 2008-07-29 21:18:31 +02:00
Cédric Krier 58f4845bbc Change unlink to delete for issue201 2008-07-25 12:51:48 +02:00
Cédric Krier 0babeaa116 Fix re-open journal-period for issue212 2008-07-25 10:09:12 +02:00
Cédric Krier cd8daf87a4 Use new raise_user_error function 2008-07-17 19:35:43 +02:00
Cédric Krier 40dde30954 Move code from account.type to account.account and rename it in kind. 2008-07-11 17:26:32 +02:00
Cédric Krier 8f1f0fd7a8 Fix COPYRIGHT 2008-06-23 20:25:06 +02:00
Cédric Krier f654c6ff36 Fix domain "account not view" for issue112 2008-06-12 09:13:44 +02:00
Cédric Krier df92e766b6 Use new Tango icons 2008-06-06 22:13:31 +02:00
Cédric Krier fe49a6623c Fix _order for new dict implementation 2008-04-22 17:47:52 +02:00
Cédric Krier 94cc783ba7 Debit and credit account are required for journal of type cash 2008-04-16 00:10:01 +02:00
Cédric Krier 7ce1a09e98 Fix property for remove of unused arg 2008-04-09 10:50:15 +02:00
Cédric Krier 93cf239e49 Use default_sequence from ORM 2008-04-04 16:50:42 +02:00
Cédric Krier 1bbf0a1019 Change default debit/credit on journal into property
Account are link to company but not the journals, so property will make the
glue.
2008-03-27 16:54:54 +01:00
Cédric Krier 0b1cb7e3c5 Add close fiscal year, implement centralised journal, fix compare Decimal with
float.
2008-03-27 16:09:14 +01:00
Cédric Krier 70b92bd607 Add close/re-open wizards for Periods and Journal - Periods 2008-03-26 13:33:32 +01:00
Cédric Krier 26c4f6604c Fix quoting 2008-03-23 23:04:36 +01:00