Commit Graph
202 Commits
Author SHA1 Message Date
Cédric Krier 993b63aadd Add missing comment about migration 2022-05-07 11:12:25 +02:00
Cédric Krier 007c1c0162 Do not use depends to prevent duplicate states from mixin fields
issue11134
2022-04-09 00:04:13 +02:00
Nicolas Évrard a8022be3b0 Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:12 +02:00
Sergi Almacellas Abellana c67e70ce3c Remove unused get_end_balance function
issue11394
review384961002
2022-04-08 13:39:34 +02:00
Cédric Krier 61e2fc6d76 Use reference field for statement line relation
issue6854
review367971002
2022-02-23 00:01:17 +01:00
Cédric Krier 8445e6244f Replace ilike operator by like on Reference
issue11203
review395431002
2022-02-17 00:48:06 +01:00
Cédric Krier 269a106af9 Do not sort state selection
issue11169
review374761005
2022-02-15 00:08:47 +01:00
Cédric Krier 6f77dffeb3 Do no copy lines when statement has origins
issue11182
review366631002
2022-01-30 13:16:08 +01:00
Cédric Krier 1e94b73bfe Add company domain for invoice and payment of statement line
issue11073
review374491002
2021-12-29 12:27:29 +01:00
Cédric Krier 920b422fbf Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Cédric Krier 54d06e64ea Add test on domain of relation fields
issue10794
review383081002
2021-10-03 13:45:32 +02:00
Cédric Krier 246eeab212 Add monetary field
issue10598
review338511002
2021-08-21 09:09:55 +02:00
Cédric Krier 185e6ecedc Clear the file content once the statement is imported
issue10555
review336571002
2021-07-22 00:09:08 +02:00
Cédric Krier 8cc721b084 Add method to format warning name with records
issue10507
review346471002
2021-06-17 09:25:40 +02:00
Cédric Krier 4fb5eba777 Remove contextual domain on company
issue10302
review338141004
2021-04-20 09:18:58 +02:00
Nicolas Évrard 1df0e7f368 Call super() method of view_attributes
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Sergi Almacellas Abellana fa00498f93 Test reconciled property of invoices instead of its state
We should not use state as the invoices are now processed in background so
its state its not updated until the end of the transaction.

issue10233
review359431002
2021-03-30 09:40:29 +02:00
Cédric Krier 14109de979 Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier e0b8ce3672 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Adrià Tarroja Caubet 2ee5c0eb2b Warn user when posting a statement with canceled or paid lines
issue9729
review329371002
2021-02-12 20:20:09 +01:00
Cédric Krier 82e7828906 Fill move line's origin with statement line
issue10037
review316811002
2021-02-03 21:22:31 +01:00
Sergi Almacellas Abellana 2230199472 Reconcile current lines when invoice is encountered two times
issue9684
review322241002
2020-10-09 21:43:30 +02:00
Cédric Krier cdcbc861a8 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Cédric Krier c96ed5e270 Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02:00
David Harper e883a5ab83 Rename statement state from cancel to cancelled
issue8927
review309681006
2020-06-04 11:11:01 +01:00
Cédric Krier 1c3e728871 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:51 +01:00
Cédric Krier b264ea7874 Remove global variables used for field definitions
They give the false idea that they can be extended or reused which is not the
case.

issue8967
review252851012
2020-01-25 20:18:49 +01:00
Cédric Krier 49a5b37d97 Prevent posting move from not posted statement
issue8864
review288581003
2019-12-05 21:38:47 +01:00
Cédric Krier 50dca17a4d Do not post a second times move
issue8864
review288581002
2019-12-05 21:38:03 +01:00
Cédric Krier 2db8bc36d9 Add missing parent depends
issue8712
review258221002
2019-10-16 21:18:55 +02:00
Sergi Almacellas Abellana f8b81b5d6e Require fresh session to post a statement
issue8392
review273411003
2019-10-11 20:45:22 +02:00
Cédric Krier cf67e31260 Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier ad4deb80be Prevent assign unknown attributes on Model
by adding __slots__ on PoolMeta

issue8567
review254091002
2019-09-07 23:45:08 +02:00
Cédric Krier 902ef4403f Use correct name in depends of on_change_with_statement_state
review254091002
2019-09-07 23:43:21 +02:00
Cédric Krier 5e8e0b1af9 Use lines attribute from grouped Line class
The lines from the scopes contain all the lines instead of only the grouped
lines.

issue8236
review263351002
2019-04-23 12:03:21 +02:00
Sergi Almacellas Abellana 8ef82d2dfc Use invoice amount to pay as line amount when creating lines from origins
issue7912
review52551002
2019-04-14 14:30:06 +02:00
Cédric Krier d7f066bc71 Add context option to disable payment from amount to pay
issue8068
review287171003
2019-04-04 19:07:34 +02:00
Cédric Krier 58544c7cff Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
David Harper 36ebb4843e Rename informations to information
issue7926
review54491002
2019-02-06 22:34:13 +01:00
Cédric Krier 432a6cdbd5 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier f301ebdf26 Use grouped line class also for origins
The statement report expect to loop over an object that has a descriptions
attribute.

issue7763
review48631002
2018-10-15 22:54:19 +02:00
Sergi Almacellas Abellana 60c55dd0d6 Test if move is set before reading its lines
issue7687
review49561002
2018-09-17 09:44:41 +02:00
Cédric Krier 3ea3350181 Do not fail if invoice is not in invoice_id2amount_to_pay
Amount to pay is computed only for invoices with the company currency.

issue7427
review53381002
2018-09-12 12:48:31 +02:00
Cédric Krier eda49bec9b Do not concatenate map with list
In Python3, map does not return anymore a list.

issue7675
review49551002
2018-09-09 10:08:22 +02:00
Sergi Almacellas Abellana 68461cf889 Use single account for statement journal
issue7450
review50391002
2018-09-01 11:19:35 +02:00
Cédric Krier e69567177a Improve ModelStorage.copy
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default

issue5576
issue7648
review72291002
2018-09-01 01:02:03 +02:00
Cédric Krier dfba734fe4 Add support for chart of account evolution
* Add replacement account
* Add period on account and tax code

issue7417
review45671002
2018-08-31 14:58:05 +02:00
Cédric Krier 37d40d01c9 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier 55de823416 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier 820bc9707e Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:43 +02:00