mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Fix missing line in last commit
This commit is contained in:
parent
74681f9e06
commit
07ffa2ad24
|
@ -11,7 +11,13 @@ diff -r 1a408c6814aa asset.py
|
|||
|
||||
asset_line = MoveLine(
|
||||
debit=0,
|
||||
@@ -528,6 +531,11 @@
|
||||
credit=self.value,
|
||||
account=account_asset,
|
||||
)
|
||||
+ if party:
|
||||
+ asset_line.party = party
|
||||
depreciation_line = MoveLine(
|
||||
debit=self.get_depreciated_amount(),
|
||||
credit=0,
|
||||
account=self.product.account_depreciation_used,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue