mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Remove patches applayed
This commit is contained in:
parent
50f9ec000d
commit
dab7d79562
|
@ -1,15 +0,0 @@
|
|||
Index: trytond/trytond/modules/account/move.py
|
||||
===================================================================
|
||||
|
||||
--- a/trytond/trytond/modules/account/move.py
|
||||
+++ b/trytond/trytond/modules/account/move.py
|
||||
@@ -1281,7 +1281,7 @@
|
||||
if not self.account.active:
|
||||
self.raise_user_error('move_inactive_account', (
|
||||
self.account.rec_name,))
|
||||
- if bool(self.party) != self.account.party_required:
|
||||
+ if bool(self.party) != bool(self.account.party_required):
|
||||
error = 'party_set' if self.party else 'party_required'
|
||||
self.raise_user_error(error, self.rec_name)
|
||||
|
||||
|
Loading…
Reference in a new issue