Closed lasuk closed 2 months ago
Current State
CashCtrlLedger.mirror_... methods currently delete existing entries by default:
CashCtrlLedger.mirror_...
mirror_vat_codes(self, target_state: pd.DataFrame, delete: bool = True) mirror_account_chart(self, target: pd.DataFrame, delete: bool = True) mirror_ledger(self, target: pd.DataFrame, delete: bool = True)
Desired State
Do not delete entries by default. Users must explicitly specify if they want to erase existing entries.
Tasks
Main task:
delete
False
Side task:
target_state
mirror_vat_codes
target
Current State
CashCtrlLedger.mirror_...
methods currently delete existing entries by default:Desired State
Do not delete entries by default. Users must explicitly specify if they want to erase existing entries.
Tasks
Main task:
delete
parameter toFalse
in the above methods.Side task:
target_state
argument inmirror_vat_codes
totarget
for consistency across methods.