Community mailing list archives
Re: Prevent _prepare_bank_account on installing a accounting chartby
Overriding will not even solve your problems since these accounts are used for creating bank journals later.
Similarly we need to create bank and cash accounts in different views and would be happy to find such a solution.
If i create a new chart of accunts as module, _prepare_bank_account automatically creates bank and cash account from the bank_account_view_id in the chart-template.
Based on the newly created bank and cash acoounts the journals are created with _create_bank_journals_from_o2m. Both functions are in account/account.py.
My qestion is: is there a way to set the bank and cash account for the _create_bank_journals_from_o2m without inheriting the above named functions, easiely within the chart template?
Thank you very much for helping.