Cédric Krier
ab0ba26035
Return moves from create_move
...
issue4454
review6811002
2015-01-07 14:51:34 +01:00
Cédric Krier
3ade6fb133
Create Move by grouped lines
...
Create one move per lines having the same number, date and party.
Use the statement as origin of the move instead of the line.
issue4386
review7771002
2015-01-02 15:43:29 +01:00
Cédric Krier
a8f37a27ab
Add missing company domain/field
...
issue4311
review7691002
2014-12-03 16:13:25 +01:00
Cédric Krier
2d65503eb4
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:50 +01:00
Nicolas Évrard
fa11256ad4
Changeset 3a3cf7ba24de intoduced a name clash
...
issue4367
review13721002
2014-11-28 11:35:41 +01:00
Robin Baumgartner
f0adfd8a1b
Use Null constant from python-sql for comparisons
...
issue4143
review13701003
2014-11-24 14:00:58 +01:00
Cédric Krier
a0d4cb3a47
New API for on_change
...
issue4203
review8581002
2014-10-29 20:39:23 +01:00
Nicolas Évrard
ffeaad8ee5
Make party mandatory / invisible according to account configuration
...
issue3731
review14341002
2014-09-19 18:44:55 +02:00
Cédric Krier
a6de03d181
Add validation type on journal
...
It also adds a name on statement to replace to current rec_name and some
documentation.
issue3943
review5331002
2014-07-20 13:45:45 +02:00
Cédric Krier
6d3c2c74d0
Add report to statement
...
issue4018
review6401002
2014-07-20 13:13:00 +02:00
Cédric Krier
8f4a5d61f3
lines should be named Lines
...
issue4037
review5441002
2014-07-10 00:08:44 +02:00
Cédric Krier
b993f7180f
Add number and sequence on statement line
...
issue4013
review9451005
2014-07-04 14:43:49 +02:00
Robin Baumgartner
f4357d611c
Switch journal debit/credit account usage
...
issue4000
review11311004
2014-06-23 09:35:57 +02:00
Cédric Krier
011da631d8
Remove duplicate question on warning message
...
issue3821
2014-04-29 19:16:37 +02:00
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