Commit Graph
1930 Commits
Author SHA1 Message Date
David Blanco Bautista 0126a08462 Rename split lines into reschedule lines
issue11069
review387661002
2022-01-26 00:32:20 +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 a36412d28b Do not open deferral move if there is none
issue11116
review370571002
2022-01-20 18:56:17 +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 56732a7c3a Add missing error message for invalid lines with second currency
issue11094
review383941002
2022-01-04 22:19:48 +01:00
Cédric Krier 12c2bc14e7 Lock move table when closing period
issue11093
review395221002
2022-01-04 22:17:13 +01:00
Cédric Krier f4e06cb568 Use SQL queries to check if move lines are balanced
issue11027
review377641002
2021-12-21 23:28:05 +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 9d227c6d1f Add support for Python 3.10
and remove support for Python 3.6.

issue11048
review364451002
2021-12-18 16:29:38 +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 ca61ba1511 Use the same periods to open account as in query_get
issue11034
review391231002
2021-12-16 22:35:46 +01:00
Cédric Krier d898a1a563 Add coverage to tox
issue7685
review51501002
2021-12-13 23:10:08 +01:00
Cédric Krier 18efb38013 Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier c77b40b747 Make deferral loop more readable 2021-12-08 10:37:04 +01:00
Cédric Krier 8b17547b48 Use field with set_move_field to skip and fill move values
When the line is already linked to a move, we must not change the move value
with the default values from the line.

issue10978
review391201002
2021-11-28 13:49:23 +01:00
Adrià Tarroja Caubet f1977fa0d5 Remove amount currency on payable and receivable lines
The amount field already display the amount in second currency.

issue10984
review372661002
2021-11-27 12:36:09 +01:00
Cédric Krier 2d3e315382 Increase version number 2021-11-01 17:05:10 +01:00
Cédric Krier 11e793d82b Add tag 6.2.0 [skip ci] 2021-11-01 17:04:57 +01:00
Cédric Krier bcb49cd21a Prepare release 6.2.0 [skip ci] 2021-11-01 17:04:57 +01:00
Cédric Krier b799ef500a Search tax code line template using the tax code template model in test 2021-10-31 19:18:58 +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
Cédric Krier 57e1d8b992 Add origin record name property on move line
issue10751
review381311002
2021-10-31 10:16:43 +01:00
Cédric Krier 7e62b1e335 Use the same sign for amount when splitting line by amount
Also increase interval by the interval value and set a currency to the
remaining term.
2021-10-30 18:28:52 +02:00
Cédric Krier b2be603c27 Update translations [skip ci] 2021-10-30 11:32:00 +02: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
Cédric Krier e73a7ddc48 Allow browsing closed Journals - Periods 2021-10-22 19:28:00 +02:00
Cédric Krier 6fdabf4d28 Display move origin on move line list view 2021-10-18 14:48:58 +02:00
Cédric Krier 785c7de19c Use ModelSQL lock instead of database lock
issue10785
2021-10-18 01:22:26 +02:00
Nicolas Évrard a0667fd309 Computes GeneralLedger timespan on either dates or period (scenario patch)
issue10249
review351991002
2021-10-12 11:32:48 +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 03c91dd465 Add account_move_line_grouping module
issue10318
review334221002
2021-10-11 23:21:55 +02:00
Maxime Richez 326a658ff0 Add field access on referential document
issue10269
review332861003
2021-10-11 15:35:46 +02:00
Cédric Krier 19482782a7 Allow locking tables by calling ModelSQL.lock without records
issue10785
review359051002
2021-10-03 13:50:33 +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 ee9adc628a Rename lock buttons into lock_
issue10784
review375541002
2021-10-03 00:35:25 +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 b7f69233e6 Support accounts on tax of type 'none'
And update the account of invoice tax if the base change.

issue10656
review334711002
2021-08-27 09:03:48 +02:00
Cédric Krier ee6b5e63bf Add monetary field
issue10598
review338511002
2021-08-21 09:09:55 +02:00
Cédric Krier f9dc2717a1 Add split lines wizard
issue10424
review349911002
2021-08-20 23:45:02 +02:00
Cédric Krier 70a70d05d9 Use company of the move created to retrieve the numbering sequence
issue10634
review342831004
2021-08-16 23:08:50 +02:00
Cédric Krier 4abd3c9d0a Remove unused import 2021-07-24 09:42:06 +02:00
Sergi Almacellas Abellana e386417062 Validate that all inactive accounts have no balance when closing periods
issue10292
review349721003
2021-07-14 08:28:38 +02:00
Cédric Krier 0206ca6169 Validate moves only once when modifying lines
The create and write methods of the line already validate the moves.

issue10519
review342511003
2021-07-12 23:11:01 +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