Skip to content

Commit

Permalink
account_import_helper: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Jun 21, 2024
1 parent b575a44 commit 3285dd8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions account_import_helper/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ Then, in the future production database, after the installation of the official

.. code::
UPDATE account_journal set default_account_id=null, suspense_account_id=null WHERE company_id=X;
UPDATE account_journal SET default_account_id=null, suspense_account_id=null WHERE company_id=X;
UPDATE from pos_payment_method SET outstanding_account_id=null, receivable_account_id=null WHERE company_id=X;
UPDATE FROM pos_payment_method SET outstanding_account_id=null, receivable_account_id=null WHERE company_id=X;
UPDATE ir_property SET value_reference=null WHERE value_reference like 'account.account,%' WHERE company_id=X;
DELETE FROM account_fiscal_position_account WHERE company_id=X;
* Delete all accounts:

.. code::
DELETE FROM account_account;
DELETE FROM account_account WHERE company_id=X;
* In the menu *Invoicing > Configuration > Accounting > Chart of accounts*, import the file *account.account.csv* with *Encoding* set to **utf-8** and *Use first row as header* enabled.

Expand Down

0 comments on commit 3285dd8

Please sign in to comment.