==============================
Disable Account Template Items
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github
    :target: https://github.com/OCA/account-financial-tools/tree/16.0/account_template_active
    :alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_template_active
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/92/16.0
    :alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5| 

This module allows to disable account template items, adding
an ``active`` field on the following models:

* ``account.account.template``

.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_template_active/static/description/account_account_template_tree.png

* ``account.fiscal.position.template`` and it two related models
    * ``account.fiscal.position.account.template``
    * ``account.fiscal.position.tax.template``

.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_template_active/static/description/account_fiscal_position_template_form.png

This module can be interesting in a multi company context,
if you install a lot of accounting templates, with some changes.

It can also be interesting if you want to developp a custom localization
module based on the official one, but with some removed / added / altered items.

**Note:**

* The field ``active`` is present in the Odoo ``account`` module for the model
  ``account.tax.template``. for that field, this module only adds the ``active``
  field on the tree view.

.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_template_active/static/description/account_tax_template_tree.png

For consistency reason,

* if user disables an ``account.account.template`` it will disable the related
  ``account.fiscal.position.account.template``

* if user disables an ``account.tax.template`` it will disable the related
  ``account.fiscal.position.tax.template``

* if user enables an ``account.fiscal.position.account.template`` it will enable the
  related ``account.account.template``

* if user enables an ``account.fiscal.position.tax.template`` it will enable the
  related ``account.tax.template``

**Table of contents**

.. contents::
   :local:

Usage
=====

* Go to Accounting > Configuration > Templates
* Select then the template you want to change.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_template_active%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* GRAP

Contributors
~~~~~~~~~~~~

* Sylvain LE GAL <https://twitter.com/legalsylvain>
* Stefan Rijnhart <stefan@opener.amsterdam>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
    :target: https://github.com/legalsylvain
    :alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain| 

This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_template_active>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
