Romania - Stock Accounting
Stock accounting determination for receptions, deliveries, consume, usage_giving, inventory and production.
Table of contents
Changelog
18.0.1.32.0
Keep the standard valuation for an internal transfer whose source valuation account (gestiune) holds value and quantity of opposite signs, a state left behind by earlier mis-valuations. The per account cost is value / quantity, so such an account yields a negative cost; valuing the outgoing leg at it flipped the sign of its value, both legs came out positive, the transfer created value out of nothing and no accounting entry was written at all, because the entry branches on the sign of the cost. Also applies to l10n_ro_stock_account_tracking, which shares the same helper.
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. 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Fekete Mihai <feketemihai@nexterp.ro>
Alexandru Teodor <teodoralexandru@nexterp.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.
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.
Current maintainers:
This module is part of the OCA/l10n-romania project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-l10n-ro-stock-account 18.0.1.34.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_l10n_ro_stock_account-18.0.1.34.0-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_l10n_ro_stock_account-18.0.1.34.0-py3-none-any.whl |
Release files / odoo_addon_l10n_ro_stock_account-18.0.1.34.0-py3-none-any.whl
| Download URL | odoo_addon_l10n_ro_stock_account-18.0.1.34.0-py3-none-any.whl |
|---|---|
| Size | 71.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27237d908c749a7015972b9b84bee36a3e18f8507b41b6f5d745896c2847205d
|
|
BLAKE2b-256 checksum How to use checksums |
791b4edebfb61cbf3047e1eba80e113e89b1ea471968c795bffe0229bc136269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-l10n-ro-stock-account 18.0.1.34.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.