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
Cédric Krier
2f74ad234a
Update depends methods name
...
issue5191
review47431002
2018-05-31 13:24:54 +02:00
Cédric Krier
eb9932fd9f
Use amount from the move line to compute reconciliation
...
- Do not check amount to pay when reconcile move lines
- Remove line split by invoice in non company currency
issue7314
review38131002
2018-04-13 18:47:34 +02:00
Cédric Krier
128947ed08
Use Invoice.add_payments method
...
issue7139
review43131002
2018-03-24 15:30:29 +01:00
Cédric Krier
923285de8d
Use new API for Line.reconcile
...
issue7132
review41061002
2018-03-07 00:11:08 +01:00
Sergi Almacellas Abellana
46ebd6497b
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:38:12 +01:00
Cédric Krier
0e03c8e259
Add button to reconcile statement
...
issue6917
review43741002
2017-12-26 17:41:30 +01:00
Cédric Krier
237360ecb5
Simplify language formatting
...
issue6858
review44391002
2017-11-15 00:18:10 +01:00
Sergi Almacellas Abellana
b72a37bb25
Fix origin company searcher for dot notation
...
issue6757
review35681002
2017-10-09 16:44:33 +02:00
Sergi Almacellas Abellana
f5ddc62409
Cast statement file before saving to the database
...
Otherwise it crashes when saving non ascii files on sqlite
issue6802
review39731003
2017-10-04 11:55:41 +02:00
Sergi Almacellas Abellana
dbd673a374
Use used properties for account payable and receivable
...
issue6561
review39521002
2017-09-28 10:16:05 +02:00
Cédric Krier
e86568dc03
Fix searcher methods for dot notation
...
issue6757
review40651002
2017-09-27 18:37:26 +02:00
Cédric Krier
1bc0542c40
Add statment origin and wizard to import them
...
issue5882
review30501002
2017-09-27 09:01:28 +02:00
Cédric Krier
8b826906c8
Unreconcile lines when cancelling statement
...
As it is not allowed to delete a move with lines reconciled.
issue4017
review37631002
2017-09-03 11:23:02 +02:00
Cédric Krier
2137eecd2c
Improve accounting move descriptions
...
- Add statement line number as move description
- Set description on statement account line if unique
issue6205
review26051002
2017-02-01 21:43:20 +01:00
Cédric Krier
c7ed8f340d
Use the last journal encoded of the day to fill start balance
...
issue5939
review27681002
2016-10-11 18:15:44 +02:00