Sergi Almacellas Abellana
5908d38458
Fix update chart of accounts with changes on taxes or rule lines
...
- invoice_account, credit_note_account, invoice_base_code, invoice_tax_code,
credit_note_base_code and credit_note_tax_code where not properly compared
when upgrading the chart of accounts.
- Origin tax of rule_lines was updated with the value of the template, so
it raised a domain validation error.
issue3617
review2961002
2014-02-11 16:28:50 +01:00
Cédric Krier
b98b668000
merge
2014-01-31 22:39:21 +01:00
Cédric Krier
cedde4101f
Add start/end date to tax
...
issue3600
review2771002
2014-01-31 22:30:34 +01: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
a73abc860f
Use fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:28:46 +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
51bd459220
Migration to python-sql
...
review1001002
2013-09-06 22:33:47 +02:00
Cédric Krier
fd72f7a822
Change tax percentage into rate
...
review824002
2013-06-26 22:59:55 +02:00
Cédric Krier
6017f5714c
Fix Open Chart of Tax Codes when no fiscalyear is selected
...
issue3202
2013-05-04 11:55:46 +02:00
Cédric Krier
f2a5639da5
Add missing default_kind for TaxRule
2013-03-20 12:24:33 +01:00
Albert Cervera i Areny
27fc93c12f
Fix validate error and add test.
...
review711002
2013-03-10 19:01:35 +01: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
66538d503b
Fix tax matching on many2one
...
review599005
2012-12-05 13:36: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
3b88d537bb
Store default language in database
...
review592004
2012-11-23 18:00:16 +01:00
Cédric Krier
f26f6d1cd7
Fix DeprecationWarning: Use __getattr__ instead of __getitem__
2012-10-21 23:11:23 +02:00
Cédric Krier
5111d2398b
Fix creation and update of chart of account
...
Some test on id must be replaced by instance test and some typo during active
record migration.
issu2844
2012-10-21 21:11:39 +02:00
Cédric Krier
6d8fa372ef
Fix typo in _get_tax_code_value
...
issue2834
2012-10-17 17:31:05 +02:00
Cédric Krier
d90917677b
Fix typo when looping on childs from Active Record migration
...
issue2823
2012-10-10 16:51:31 +02:00
Cédric Krier
de8eb110e6
Use ternary operator because there is no more BrowseRecordNull
2012-10-09 19:47:57 +02:00
Cédric Krier
85f88bfd14
Improve titles of "Open Chart"
...
review535002
2012-09-27 11:07:08 +02:00
Cédric Krier
0f919d5f3a
Active Record
2012-09-24 22:17:29 +02:00
Cédric Krier
6d0aecf891
Ensure clause concatination works with tuple vs list
2012-08-05 21:10:40 +02:00
Nicolas Évrard
d525f60138
Do not use not required "tax" field as _rec_name
2012-07-27 19:44:39 +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
1bae6a181e
Enforce the usage of account kind
...
issue2475
review295005
2012-03-30 14:18:10 +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
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
Mathias Behrle
70f08b7c1f
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:52:56 +01:00
Cédric Krier
3bf0effd14
Add default database language code
...
review200001
2012-01-27 21:13:00 +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
9a132acef1
Add test for depends
2011-08-04 16:57:14 +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
e15aa760b6
Move Cache in trytond.cache
2010-08-24 20:55:18 +02:00
Cédric Krier
7e4d193ddc
Update for new Transaction
2010-08-19 22:02:00 +02:00
Korbinian Preisler
3c35539110
remove trailing space
2010-06-26 09:26:37 +02:00
Korbinian Preisler
a6cdab307b
fix update functions for issue 1599
2010-06-26 09:24:07 +02:00
Cédric Krier
c75fed33f4
Prevent to write twice the same value for different languages
2010-03-27 15:30:16 +01:00
Cédric Krier
eb872f741b
Use duck typing on translate attribute for issue1458
2010-03-27 13:51:18 +01: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
d826da57b1
Remove ids from on_change* calls
2010-03-18 18:21:35 +01:00
Cédric Krier
c4096a3144
New interface for Function/Property fields
2010-03-11 16:45:27 +01:00
Korbinian Preisler
0d1d0f6c62
add description field on account.tax.code for issue1419
2010-02-18 07:45:36 +01:00
Korbinian Preisler
5bd9127443
add tax field on account.tax.line for issue1401
2010-02-03 18:10:27 +01:00