taxtank-core 2.0.114 → 2.0.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26792,6 +26792,10 @@ class WorkTransactionForm extends TransactionForm {
26792
26792
  chartAccountsMetaField: new FormControl(transactionMetaField.chartAccountsMetaField)
26793
26793
  })))
26794
26794
  }));
26795
+ // forbid to edit chartAccounts if it's in edit mode
26796
+ if (transaction.id) {
26797
+ this.get('chartAccounts').disable();
26798
+ }
26795
26799
  if (this.value.chartAccounts && !transaction.id) {
26796
26800
  this.buildMetaFieldsForm();
26797
26801
  }