Reuse cumulate per party from context as default value for general ledger line

Closes #12367
This commit is contained in:
Adrià Tarroja Caubet
2023-07-05 16:32:56 +02:00
parent a1118902e0
commit 83220a6076
+1 -1
View File
@@ -2502,7 +2502,7 @@ class GeneralLedgerLineContext(GeneralLedgerAccountContext):
@classmethod
def default_party_cumulate(cls):
return False
return Transaction().context.get('party_cumulate', False)
@classmethod
def get_context(cls, fields_names=None):