Nicolas Évrard
553e844851
Add index to one2many's on_change add
...
review2091002
issue3539
2014-03-16 20:54:54 +01:00
Cédric Krier
fb274af86f
Be safer with the on_change using One2Many values
...
review4261002
2014-03-16 15:39:58 +01:00
Cédric Krier
e62fa5521b
Use statement line date for currency convertion
...
issue3650
review3571002
2014-02-24 19:19:12 +01:00
Nicolas Évrard
56c9bde881
Prevent usage of paid invoice in draft statements
...
review1721004
2014-02-03 17:42:29 +01:00
Cédric Krier
c658589ead
Use fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:28:55 +01:00
Cédric Krier
d33c4a1cc4
Test if id >= 0 before getting rec_name
...
The instance of many2one received in on_change call could be negative in case it
is a parent record not yet saved.
review2611002
2014-01-12 19:50:32 +01:00
Albert Cervera i Areny
5ba01597ed
Remove dependency on lines from journal.
...
review2351003
issue3555
2013-12-18 23:15:29 +01:00
Cédric Krier
6198d40310
Fix search_rec_name's
...
- balance can not be used for searching rec_name because of incompatible type.
- missing search_rec_name for line as get_rec_name is overridden.
review1791002
2013-11-25 12:31:02 +01:00
Cédric Krier
0614e11c0e
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:13 +02:00
Cédric Krier
4d303042ef
Migration to python-sql
...
review1001002
2013-09-06 22:33:56 +02:00
Cédric Krier
9cf6e04b14
Allow to use invoice to fill party and account on statement line
...
review941002
2013-08-21 18:22:45 +02:00
Nicolas Évrard
dfe4c7094b
Make statements aware of negative amounts in invoice lines
...
review820002
2013-08-16 11:33:24 +02:00
Cédric Krier
010cf656c5
Replace move_lines by a relate
...
review946002
2013-07-22 14:39:21 +02:00
Cédric Krier
e774332008
Fix same_debit_credit_account error parameters
...
issue3294
review980002
2013-07-22 14:34:59 +02:00
Cédric Krier
61f8075cab
Add missing transition from draft to cancel on statement
...
To allow to delete a draft statement, it must be first cancelled.
2013-06-24 11:56:06 +02:00
Albert Cervera i Areny
077957e653
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:54:25 +01:00
Cédric Krier
121c8be80b
Fix flake8
2013-02-17 00:37:49 +01:00
Cédric Krier
541b1e3237
Allow any non-view account on statement line
...
For example, donations are not payable nor receivable
review631005
2013-01-26 15:41:28 +01:00
Cédric Krier
4c217f1479
Update to new invoice states
...
review583002
2012-12-23 22:29:15 +01:00
Cédric Krier
7ee6249bd2
Rationalize accounting moves and lines
...
issue2056
review503006
2012-09-29 15:34:37 +02:00
Cédric Krier
0741cb488d
Active Record
2012-09-24 22:17:36 +02:00
Cédric Krier
9dd8470f4d
Fix domain concatenation between list and tuple
2012-09-19 22:19:04 +02:00
Cédric Krier
97b2c2e1d5
Reset move and invoice when copying Statement Line
...
review496003
2012-09-11 15:26:40 +02:00
Cédric Krier
1cf8dc67e0
Make invoice field also readonly when empty party or account
...
issue2762
review501002
2012-09-05 14:32:27 +02:00
Cédric Krier
b35134fb9a
Fix sign of the amount to pay on line
...
issue2746
review464003
2012-08-16 14:54:26 +02:00
Cédric Krier
26ad2fba55
Allow to use credit note on statement line
...
issue2639
review397001
2012-06-13 23:26:17 +02:00
Cédric Krier
c0f3f872fb
Fix domain for invoice on statement line
...
The invoice state could be any once the statement is no more draft.
issue2453
review386001
2012-06-01 23:44:37 +02:00
Cédric Krier
9307002eb3
Fix pep8 and pyflakes
2012-04-03 20:06:27 +02:00
Cédric Krier
76934fd20f
Allow only deleting cancelled workflowed models
...
review317001
2012-04-03 12:16:46 +02:00
Cédric Krier
71d5fd74a2
Add missing default_amount
...
An amount is required to get the PYSON evaluated correctly.
issue2525
2012-04-02 10:52:36 +02:00
Cédric Krier
431397ad0b
Enforce the usage of account kind
...
issue2475
review295005
2012-03-30 14:20:44 +02:00
Cédric Krier
12d8759b65
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:12 +02:00
Cédric Krier
78892320b2
Simplify workflow engine
...
review256001
2012-03-25 00:17:31 +01:00
Nicolas Évrard
c62bae0a8f
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 18:38:51 +01:00
Mathias Behrle
769c361a73
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:52:58 +01:00
Cédric Krier
1243fe4b7a
Add default database language code
...
review201001
2012-01-27 21:15:07 +01:00
Cédric Krier
deddb5baa1
Make PYSON more Pythonic
2011-08-21 11:20:33 +02:00
Nicolas Évrard
015c7bc916
Use function name in workflow instead of python code
2011-08-11 16:34:33 +02:00
Cédric Krier
878e8954d2
Add test for depends
2011-08-04 16:57:19 +02:00
Nicolas Évrard
f721e9fbd2
Display statement balance and current total in statement form
...
issue39003
2011-07-20 19:07:10 +02:00
Cédric Krier
997b1eef29
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:17:30 +02:00
Cédric Krier
aaef82b478
Change Pool into a Singleton
2011-07-03 13:18:45 +02:00
Cédric Krier
4001477ef5
browse call requires a list of ids and not a set
2011-06-15 11:40:35 +02:00
Mathias Behrle
1b8634f623
Use currency_date and pass ids to calculate currency rate for issue1746.
2011-04-14 17:14:07 +02:00
Mathias Behrle
b33ce231c8
Reverting surplus changes to company introduced by c32d5ba495f8 for issue1941.
2011-04-14 14:56:27 +02:00
Cédric Krier
a3855e6666
Add company on statement for issue1904
2011-04-10 20:59:25 +02:00
Korbinian Preisler
36745f0d5f
Update for new Transaction
2010-08-16 19:23:32 +02:00
Cédric Krier
3add554a59
Fix wrong definition of Many2One of move_lines
2010-03-25 12:53:10 +01:00
Cédric Krier
751913375f
searcher on Function fields take only one domain clause as argument
2010-03-23 11:25:59 +01:00
Cédric Krier
8caabaa25b
Remove ids from on_change* calls
2010-03-18 18:20:32 +01:00