mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Add issue7395.diff - [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
This commit is contained in:
parent
f332999671
commit
2522ff770c
12
issue7395.diff
Normal file
12
issue7395.diff
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -r 752197b4bc8d trytond/trytond/modules/account_asset/asset.py
|
||||||
|
--- a/trytond/trytond/modules/account_asset/asset.py Wed Apr 25 17:19:54 2018 +0200
|
||||||
|
+++ b/trytond/trytond/modules/account_asset/asset.py Wed Apr 25 17:20:43 2018 +0200
|
||||||
|
@@ -1023,6 +1023,8 @@
|
||||||
|
('start_date', '<', self.start.end_date),
|
||||||
|
('end_date', '>', self.start.start_date),
|
||||||
|
('state', '=', 'running'),
|
||||||
|
+ ('lines.date', '<', self.start.end_date),
|
||||||
|
+ ('lines.date', '>', self.start.start_date),
|
||||||
|
])
|
||||||
|
return action, {
|
||||||
|
'ids': [a.id for a in assets],
|
1
series
1
series
|
@ -76,5 +76,6 @@ issue7012.diff # [stock_consignment] Allow to create internal order points to pr
|
||||||
issue7129.diff # [account_payment] Slow to list Lines to Pay
|
issue7129.diff # [account_payment] Slow to list Lines to Pay
|
||||||
issue4958.diff # [account_payment] Remove account kind filter on Payable/Receivable lines
|
issue4958.diff # [account_payment] Remove account kind filter on Payable/Receivable lines
|
||||||
filestore.diff # [trytond] changeset-06e955c4465e + changeset-a8d3c527a445
|
filestore.diff # [trytond] changeset-06e955c4465e + changeset-a8d3c527a445
|
||||||
|
issue7395.diff # [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
|
||||||
|
|
||||||
#issue7334.diff # [trytond] read history that created_date is before the requested create_date
|
#issue7334.diff # [trytond] read history that created_date is before the requested create_date
|
||||||
|
|
Loading…
Reference in a new issue