Metadata-Version: 2.1
Name: odoo-addon-l10n_ro_stock_account
Version: 18.0.1.31.0
Requires-Python: >=3.10
Requires-Dist: odoo-addon-l10n_ro_config==18.0.*
Requires-Dist: odoo-addon-l10n_ro_stock==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Romania - Stock Accounting
Home-page: https://github.com/OCA/l10n-romania
License: AGPL-3
Author: NextERP Romania,Dorin Hongu,Forest and Biomass Romania,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.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 - Stock Accounting
==========================

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

.. |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/18.0/l10n_ro_stock_account
    :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-18-0/l10n-romania-18-0-l10n_ro_stock_account
    :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=18.0
    :alt: Try me on Runboat

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

Stock accounting determination for receptions, deliveries, consume,
usage_giving, inventory and production.

**Table of contents**

.. contents::
   :local:

Changelog
=========

18.0.1.29.0
-----------

- Fix the valuation of an internal transfer between two valuation
  accounts (gestiuni). The outgoing leg was valued at
  ``product.standard_price``, i.e. the average cost over ALL the
  valuation accounts of the product, so whenever the source account held
  the goods at a different cost the transfer took out more (or less)
  than that account owned. The source account was left with value and no
  quantity, the accounting entry (which follows the outgoing leg) moved
  the wrong amount, and the discrepancy showed up both in the storage
  sheet and in the trial balance. Both legs are now valued at the cost
  the source account actually holds for the transferred goods, so a
  transfer neither creates nor destroys value. FIFO products are
  unaffected: they already consume the real layers.

18.0.1.25.1
-----------

- Fix
  ``TypeError: '<' not supported between instances of 'bool' and 'str'``
  in ``stock_valuation_layer._compute_account`` when sorting the account
  move lines. A journal item without an account (or whose account has no
  code) returns ``False`` for ``account_id.code``, which cannot be
  compared against the string codes of the other lines. The sort key now
  falls back to an empty string, and the subsequent ``code[0]`` check
  guards against an empty/falsy code.

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_stock_account%0Aversion:%2018.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
* Dorin Hongu
* Forest and Biomass Romania

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

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

  - Fekete Mihai <feketemihai@nexterp.ro>
  - Alexandru Teodor <teodoralexandru@nexterp.ro>

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

  - Dorin Hongu <dhongu@gmail.com>

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

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

|maintainer-dhongu| |maintainer-feketemihai| 

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

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