Nicolas Évrard
aee4fbef12
Send only the required fields when fetching a readonly view definition
...
issue11134
review380081002
2022-04-08 19:07:12 +02:00
Cédric Krier
fc7f329a1a
Use from_date and to_date for the debit/credit context
...
Using get_dates is wrong because it provides the range for the start balance
which is one day before.
issue11322
review390271002
2022-04-01 23:45:37 +02:00
Cédric Krier
3065d15f8c
Do not force same type for children of root account
...
issue11272
review390111003
2022-03-06 13:40:42 +01:00
Cédric Krier
2636396ca6
Do not sort state selection
...
issue11169
review374761005
2022-02-15 00:08:46 +01:00
Cédric Krier
83aa9e1d5f
Enforce same type for children account as their parent
...
issue11143
review384081002
2022-02-13 01:33:15 +01:00
Nicolas Évrard
63d3e70f3c
Add missing alias on migration query of Deferrals
...
issue11072
review360881005
2022-02-10 13:35:19 +01:00
Nicolas Évrard
030963812f
Show debit / credit columns in ledgers when they contain lines
...
issue11072
review372881002
2022-02-04 15:39:41 +01:00
Cédric Krier
8760db54db
Compute deferral balance by cumulating children account
...
issue11057
review376391002
2022-02-03 22:20:43 +01:00
Cédric Krier
2bcb9da7c2
Add optional credit type on account
...
issue11090
review372941002
2022-01-23 13:03:06 +01:00
Cédric Krier
cc4333b810
Ensure to set correct company context when calling today
...
issue11046
review370421002
2022-01-23 12:54:56 +01:00
Cédric Krier
1a4b65de90
Compute debit/credit and lines on either dates or periods
...
issue11095
review376331002
2022-01-04 22:24:20 +01:00
Cédric Krier
fefa168782
Ensure move line domain is still valid after account modification
...
We can not close or remove the type of an account if it has move lines.
issue10300
review376321002
2022-01-04 22:22:17 +01:00
Cédric Krier
106299daf5
Compute income statement on either dates or periods
...
issue11040
review389391002
2021-12-21 23:09:53 +01:00
Cédric Krier
66ce484804
Compute the periods for type amount the same way as general ledger
...
issue11039
review376171002
2021-12-16 22:42:53 +01:00
Cédric Krier
15c4fa81ef
Do not reset period or date if changed fill is empty
...
issue11035
review370401002
2021-12-16 22:39:44 +01:00
Cédric Krier
783d34296d
Update parent of type, account, tax and tax code from template
...
issue11037
review387461002
2021-12-16 22:37:53 +01:00
Cédric Krier
18efb38013
Follow isort formatting
...
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier
180b55bcd4
Always fill values for default properties of created chart of account
...
The create_chart test function relies on having the properties always set.
issue10918
review360391002
2021-10-31 18:47:42 +01:00
Cédric Krier
76221f31c4
Search default chart of account properties only for the company
...
issue10924
review375901002
2021-10-31 18:46:32 +01:00
Nicolas Évrard
ffd08ed240
Test GL context values against None instead of using their presence
...
issue10896
review385271002
2021-10-27 17:01:59 +02:00
Nicolas Évrard
2a81e4ce26
Computes GeneralLedger timespan on either dates or period
...
issue10249
review351991002
2021-10-12 11:29:34 +02:00
Cédric Krier
e7b0847b0d
Fill default accounts when creating chart
...
issue10602
review359871002
2021-10-03 00:42:46 +02:00
Cédric Krier
b395a0b095
Harmonize "Only include" help text
2021-09-20 10:34:29 +02:00
Cédric Krier
3364f2236a
Update only chart of account linked to a template
...
issue10708
review343051004
2021-09-19 00:34:38 +02:00
Cédric Krier
ee6b5e63bf
Add monetary field
...
issue10598
review338511002
2021-08-21 09:09:55 +02:00
Cédric Krier
6af7145827
Enforce False value for receivable, payable and debt when not visible
...
issue10515
review369171002
2021-07-12 23:08:16 +02:00
Cédric Krier
a8ecd116f5
Use same domain for account in chart properties and configuration
...
issue10484
review342441002
2021-06-11 00:13:11 +02:00
Nicolas Évrard
453adfae04
Use subquery to gain performance in account.account.party
...
issue10216
review353411002
2021-04-12 20:48:57 +02:00
Sergi Almacellas Abellana
14e1e67079
Add check to mark accounts as debt
...
issue10164
review357341003
2021-04-11 20:51:49 +02:00
Nicolas Évrard
670f642b66
Call super() method of view_attributes
...
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Cédric Krier
e580c1ac87
Enforce access rights when searching in wizard
...
If there are no constraint based on the records on the search domain, we must
enforce the access rights to limit the execution to the user accesses.
issue10229
review335931002
2021-04-05 15:15:38 +02:00
Cédric Krier
8df23a3561
Remove unused get_party_required method on general ledger line
...
issue5480 changed the field from Function to Boolean without removing the
getter method.
2021-04-02 12:38:19 +02:00
Sergi Almacellas Abellana
1ebe29a3b0
Accumulate start balance on general ledger line
...
issue9791
review339211002
2021-03-31 16:02:44 +02:00
Cédric Krier
54172e3a84
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:12 +01:00
Cédric Krier
4a022a7d33
Add report for income statement and balance sheet
...
issue10117
review330331005
2021-03-07 19:07:31 +01:00
Cédric Krier
232ec4b1f1
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Sergi Almacellas Abellana
7291bf8a18
Unify account and account template rec_name's searcher
...
issue10156
review316921003
2021-03-06 19:15:38 +01:00
Cédric Krier
d5081641e5
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier
a0574eae80
Skip unrequested combination of account-party for balance
...
Same as rev bd55a6757068 but for the balance computation.
issue9762
review308741002
2021-03-01 23:27:04 +01:00
Cédric Krier
090bd71989
Add header grouping on report
...
issue6760
review351221002
2021-02-21 19:19:26 +01:00
Cédric Krier
d1395db4d7
Allow filtering general ledger by journal
...
As general ledger is historically the consolidation of each journal, it may be
useful to permit to display the ledger of each journal.
issue8757
review335351002
2021-01-04 21:33:28 +01:00
Cédric Krier
20fc4a4bdc
Add reconciliation to general ledger line
...
This allow filtering out reconciled lines.
issue5169
review343141002
2021-01-04 21:29:23 +01:00
Cédric Krier
d993ecf012
Skip unrequested combination of account-party
...
When computing the debit/credit of account party, the query may return more
combinations of account-party than requested.
It is simpler to ignore them than construct a query that filter exactly on the
combination of each account and party requested.
issue9762
review308671002
2020-11-27 22:38:34 +01:00
Cédric Krier
0206012f03
Add more term units to aged balance
...
Using dateutil relativedelta, we can support weeks, months and years.
Also when changing the unit, we set "standard" term values to be more
user-friendly.
issue9318
review304581002
2020-11-12 22:08:06 +01:00
Cédric Krier
1e2d535020
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:05 +02:00
David Harper
cb60dc6b34
Get account from pool in UpdateChart default_start
...
issue9663
review329121002
2020-10-03 12:26:12 +01:00
David Harper
b581907bac
Get account from pool in CreateChart default_properties
...
issue9657
review306531002
2020-10-03 12:24:19 +01:00
Cédric Krier
80fc35e01d
Add General Ledger per account and party
...
We define an internal AccountParty model which defines an unique ID for the
couple account and party based on the first move line created.
Then we define a General Ledger model based on this model.
issue7438
review314091002
2020-09-05 22:21:38 +02:00
Sergi Almacellas Abellana
28175f11bf
Set default accounts on create and update chart wizards
...
issue9382
review306261002
2020-08-25 18:04:50 +02:00
Cédric Krier
bdcc82beea
Re-browse account updated to get inactive context
...
issue9473
review307941002
2020-07-24 09:55:35 +02:00