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
03b784324a
commit
5dee0cfff4
|
@ -0,0 +1,12 @@
|
|||
diff -r 9917aa20d71b trytond/trytond/modules/account_asset/asset.py
|
||||
--- a/trytond/trytond/modules/account_asset/asset.py Wed Apr 25 17:03:53 2018 +0200
|
||||
+++ b/trytond/trytond/modules/account_asset/asset.py Wed Apr 25 17:06:24 2018 +0200
|
||||
@@ -1004,6 +1004,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
|
@ -77,4 +77,5 @@ locale.diff
|
|||
improve_stock_by_locations_performance.diff
|
||||
issue6322_6501.diff
|
||||
issue7129.diff # [account_payment] Slow to list Lines to Pay
|
||||
issue7395.diff # [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
|
||||
support_postgresql10_6789.patch
|
||||
|
|
Loading…
Reference in New Issue