Metadata-Version: 2.1
Name: odoo-addon-l10n_ro_config
Version: 20.0.1.1.0
Requires-Dist: odoo==20.0.*
Summary: Romania - Localization Install and Config Applications
Home-page: https://github.com/OCA/l10n-romania
License: AGPL-3
Author: NextERP Romania,Forest and Biomass Romania,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 20.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 6 - Mature
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=============================
Romania - Localization Config
=============================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:b84bfcbf8dc26107abaf21766124494f08cd49bd140b514dfea22debf9064126
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
    :target: https://odoo-community.org/page/development-status
    :alt: Mature
.. |badge2| image:: https://img.shields.io/badge/license-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%2Fl10n--romania-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-romania/tree/20.0/l10n_ro_config
    :alt: OCA/l10n-romania
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-romania-20-0/l10n-romania-20-0-l10n_ro_config
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-romania&target_branch=20.0
    :alt: Try me on Runboat

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

This module allows you to install and configure all the localization
modules related to Romania. Some of the modules will load data at
install.

For Romanian companies, you will have a dedicated page in Configuration,
from where you cna install rest of the modules, or set up some added
fields for localization.

\* All changes added by the Romanian localization will only apply for
companies that have the "Use Romanian Accounting" checkbox set.

\* All menus and fields are visible in the interface if you are working
on a Romanian company, otherwise the are hidden.

**Table of contents**

.. contents::
   :local:

Installation
============

To install this module, you need to:

- clone the branch 19.0 of the repository
  https://github.com/OCA/l10n-romania
- add the path to this repository in your configuration (addons-path)
- update the module list
- search for "Romania - Localization Config" in your addons
- install the module

Usage
=====

Companies
---------

- You can complete dedicated fields for Romanian companies, like "Share
  Capital", "CAEN Code".
- From Romanian page from Configuration, you can define new properties
  for your company, depending on the modules that you have installed.

Partners
--------

- You can complete dedicated fields for Romanian partners, like "VAT
  Subjected", "CAEN Code", "E-invoicing".
- You can input also partners without VAT country code, but you need to
  select also the country.

Products
--------

- Use different taxes for "Service" products, they are defined in the
  Chart of Accounts, but here we set up the default taxes used.

Bank Accounts
-------------

- Tick the "Ro Print in Report" fields if you want the bank account to
  be printed in reports. The flag only marks the accounts; it is up to
  each report to filter the bank accounts on it.

  \*\* This applies also for company bank accounts, there you can use
  also the related field from Account Journal to mark them.

Changelog
=========

20.0.0.10.0
-----------

- Removed the ``banks`` and ``report_address_company`` QWeb templates
  (``views/common_report.xml``). They were an example left over from a
  report override that no longer exists, no module in the repository
  calls them, and ``res.partner.bank.currency_id``, which ``banks``
  filtered on, is gone in Odoo 20.0. The "Ro Print in Report" fields are
  kept - they are the configuration the reports read.

19.0.0.8.1
----------

- Fix a foreign tax ID being silently prefixed with its country code on
  every save, which made it impossible to store the number in its local
  form. A Hungarian 11-digit adószám (``26173247-2-08``) became
  ``HU26173247-2-08`` on create, and removing the prefix brought it back
  on the next write. Since VIES only recognises the 8-digit EU form
  (``HU26173247``), the intra-Community check kept answering
  ``unassigned``, ``vies_valid`` stayed unset and the intra-Community
  fiscal position was never selected, so the invoice was taxed at the
  domestic rate instead of being exempt.
- The cause was ``_split_vat`` deducing the country code from a database
  lookup (``search([("vat", "=", vat)])``): during create/write the
  record is already stored when ``_check_vat`` runs, so it matched
  itself and ``_run_vat_checks`` re-attached the prefix. The country
  code is now taken from the record being parsed, and only for a bare
  numeric CUI, so writing a Romanian CUI without the ``RO`` prefix keeps
  working.
- Dropping the lookup also removes one ``search`` per ``_split_vat``
  call - the method is used by ``_compute_l10n_ro_vat_number`` and by
  several core and Enterprise localisations - and the non-deterministic
  result when the same ``vat`` string existed on partners from different
  countries (``limit=1`` picked one arbitrarily).

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-romania/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-romania/issues/new?body=module:%20l10n_ro_config%0Aversion:%2020.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
-------

* NextERP Romania
* Forest and Biomass Romania

Contributors
------------

- `NextERP Romania <https://www.nexterp.ro>`__:

  - Fekete Mihai <feketemihai@nexterp.ro>

- `Terrabit <https://www.terrabit.ro>`__:

  - Dorin Hongu <dhongu@gmail.com>

- Adrian Vasile <adrian.vasile@gmail.com>
- `QDev Web Labs <https://qdev.ro>`__:

  - Anastasescu Răzvan-Ioan <razvan@qdev.ro>

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

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-feketemihai| image:: https://github.com/feketemihai.png?size=40px
    :target: https://github.com/feketemihai
    :alt: feketemihai

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

|maintainer-feketemihai| 

This module is part of the `OCA/l10n-romania <https://github.com/OCA/l10n-romania/tree/20.0/l10n_ro_config>`_ project on GitHub.

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