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
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