Skip to content

Commit 35d773a

Browse files
committed
[IMP] accounting/taxcloud: how to set up default account for new taxes
New taxes generated by the TaxCloud integration are by default created without an income or an expense account specified. By default, the journal items corresponding to these taxes therefore end up in the default income account, which is usually the 'Sales' account, when they should in fact go to the 'Tax Payable' account. Because these taxes are automatically generated on-the-fly, the user is usually not able to manually specify the Tax Payable account before the journal items are posted, leading to incorrect accounting entries which then need to be manually repaired through the use of miscellaneous operations. To solve this issue, our video on TaxCloud integration (https://www.youtube.com/watch?v=JE-NeRNIWeU&t=616s) tells us to create a User-Defined Default for the account field of the tax.repartition.line model. This sets the default account with which new taxes are created. However, this information is missing from the documentation. This PR brings the documentation up-to-date by explaining how to create this User-Defined Default that specifies the correct Tax Payable account. closes odoo#1271 Signed-off-by: Victor Feyens (vfe) <[email protected]>
1 parent 746bb8d commit 35d773a

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed

content/applications/finance/accounting/taxation/taxes/taxcloud.rst

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,52 @@ In Odoo
4343
and the zip code). Go to :menuselection:`Settings --> Users & Companies --> Companies`
4444
to open and edit your Company record.
4545

46+
Automatically post taxes to the correct Tax Payable account
47+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48+
49+
* For each one of your companies that uses TaxCloud, it might be necessary to create a
50+
**User-Defined Default** so that the new taxes generated by the TaxCloud integration are created
51+
with the correct Tax Payable account:
52+
53+
.. warning::
54+
A User-Defined Default impacts all records at creation. It means that **every** new tax will be
55+
set up to record income in the specified Tax Payable account, unless the tax is manually edited
56+
to specify a different income account (or there exists another User-Defined Default that takes
57+
precedence).
58+
59+
* In :menuselection:`Accounting --> Configuration --> Chart of Accounts`, select the Tax Payable
60+
account for the company. Take note of the account's ``id`` in the URL string.
61+
62+
.. image:: taxcloud/user-default-find-account-id.png
63+
:alt: The account's ID can be found in the URL string as 'id=...'.
64+
:align: center
65+
66+
* Activate the :ref:`developer mode <developer-mode>`, then go to
67+
:menuselection:`Settings --> Technical --> Actions --> User-Defined Defaults`, and
68+
click on *Create*.
69+
70+
* Click on *Field*, then, in the drop-down menu, on *Search More*.
71+
72+
.. image:: taxcloud/user-default-search-field.png
73+
:alt: Click on 'Search More' in the 'Field' drop-down menu.
74+
:align: center
75+
76+
* In the pop-up's search box, filter on the model ``tax.repartition.line`` and the field ``account``.
77+
Select the ``account`` field of the ``tax.repartition.line`` model.
78+
79+
.. image:: taxcloud/user-default-select-field.png
80+
:alt: Select the 'account' field of the 'tax.repartition.line' model.
81+
:align: center
82+
83+
* In the **Default Value** field, enter the ID of the company's Tax Payable account.
84+
Select the company for which this configuration should apply in the *Company* field.
85+
Click *Save*.
86+
87+
.. image:: taxcloud/user-default-enter-default-account-id.png
88+
:alt: Enter the ID of the company's Tax Payable account.
89+
:align: center
90+
91+
4692
How it works
4793
============
4894

12.8 KB
Loading
9.49 KB
Loading
20.4 KB
Loading
15.7 KB
Loading

0 commit comments

Comments
 (0)