Cédric Krier
dd10ef8dca
Simplify get company from user
...
The user can directly be fetch from Transaction and company read from User
instance.
issue4414
review11731002
2014-12-20 19:12:19 +01:00
Cédric Krier
671312b221
Add missing line_query clause in search_receivable_payable
...
As it is used in the getter, it should be also used in the searcher.
issue4415
review10761003
2014-12-20 18:56:21 +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
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
c0a859ab2e
Fix flake8
2013-10-05 12:16:23 +02:00
Cédric Krier
51bd459220
Migration to python-sql
...
review1001002
2013-09-06 22:33:47 +02:00
Cédric Krier
f943da6141
Fix flake8
2013-02-16 18:54:35 +01:00
Cédric Krier
69abbc85e3
Fix test on company of user
...
issue2908
review599007
2012-12-05 13:43:06 +01:00
Cédric Krier
925c4fadd3
Add sale, purchase or other kind on Tax Rule and Tax Group
...
review587003
2012-12-05 13:00:13 +01:00
Cédric Krier
0f919d5f3a
Active Record
2012-09-24 22:17:29 +02:00
Cédric Krier
f73bd47027
Fix search_receivable_payable with None value
2012-08-02 15:57:40 +02:00
Cédric Krier
ff9f887f17
Fix pep8 and pyflakes
2012-04-03 20:06:15 +02:00
Cédric Krier
5831f9d977
Convert value to Decimal when searching receivabel/payable
...
issue2299
review191001
2011-12-02 11:42:35 +01:00
Cédric Krier
42fd417931
Remove unused company code
2011-11-28 10:26:08 +01:00
Cédric Krier
fce51401ed
Context company check is made in User read now
...
review177001
2011-11-14 18:02:27 +01:00
Cédric Krier
cbacef96c9
Make PYSON more Pythonic
2011-08-21 11:20:29 +02:00
Cédric Krier
9a132acef1
Add test for depends
2011-08-04 16:57:14 +02:00
Cédric Krier
085b7ba58b
Use user context if user is root
...
review60001
2011-07-20 16:58:39 +02:00
Cédric Krier
509b86dc79
Change Pool into a Singleton
2011-07-03 13:18:40 +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
Cédric Krier
524d699e60
Fix SUM with SQLite for issue1184
2009-09-22 16:08:11 +02:00
Cédric Krier
11c710b899
Use faster join implementation
2009-08-26 15:58:52 +02:00
Cédric Krier
89eff8c767
Change get_receivable_payable on party.party to work with a list of name
2009-08-07 16:41:07 +02: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
31a8dbd20b
Fix get_receivable_payable if there is no ids
2009-03-28 19:45:38 +01:00
Cédric Krier
2766a4359a
Add tax rule to replace vat and supplier_vat on party
...
Fix update of tax and tax group to create missing
2009-03-28 19:32:00 +01:00
Cédric Krier
ffab8b6bc2
Security fix for SQL injection
2009-03-24 16:26:28 +01:00
Cédric Krier
7a2ec55dcb
Make tax fields invisible if there is no company defined for issue844
2009-03-06 10:30:16 +01:00
Cédric Krier
047bc7ca3d
Remove OSV and WizardOSV
2009-02-28 16:57:10 +01:00
Cédric Krier
fa5b99af05
Fix state test with company
2008-12-11 20:23:06 +01:00
Cédric Krier
21024f852c
Use bool in states expression for non-boolean field
2008-12-03 12:02:51 +01:00
Cédric Krier
5578172b2d
Remove group_name and view_load on Property field
...
Move party stuff in party.py and party.xml
2008-10-27 13:16:45 +01:00