Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.51k stars 2.8k forks source link

accountingjournal: add create() method #32088

Open alexandre-janniaux opened 1 day ago

alexandre-janniaux commented 1 day ago

NEW accountingjournal: add create() method

Adding a create method ensure we create the accountingjournal in a uniform way, and allow creating the journals in tests without getting out-of-sync.