Reuse cumulate per party from context as default value for general ledger line
Closes #12367
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user