diff --git a/setup/stock_account_valuation_discrepancy_adjust/odoo/addons/stock_account_valuation_discrepancy_adjust b/setup/stock_account_valuation_discrepancy_adjust/odoo/addons/stock_account_valuation_discrepancy_adjust new file mode 120000 index 000000000..623094bdd --- /dev/null +++ b/setup/stock_account_valuation_discrepancy_adjust/odoo/addons/stock_account_valuation_discrepancy_adjust @@ -0,0 +1 @@ +../../../../stock_account_valuation_discrepancy_adjust \ No newline at end of file diff --git a/setup/stock_account_valuation_discrepancy_adjust/setup.py b/setup/stock_account_valuation_discrepancy_adjust/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/stock_account_valuation_discrepancy_adjust/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_account_valuation_discrepancy_adjust/README.rst b/stock_account_valuation_discrepancy_adjust/README.rst index e69de29bb..55dc1bfef 100644 --- a/stock_account_valuation_discrepancy_adjust/README.rst +++ b/stock_account_valuation_discrepancy_adjust/README.rst @@ -0,0 +1,93 @@ +==================================== +Account Valuation Discrepancy Adjust +==================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ddb15357af94cb938fe1e041085a9d72012c59eb4463feadc92e6af028789b2b + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |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%2Fstock--logistics--reporting-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-reporting/tree/16.0/stock_account_valuation_discrepancy_adjust + :alt: OCA/stock-logistics-reporting +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_account_valuation_discrepancy_adjust + :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/stock-logistics-reporting&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Wizard to show discrepancies between stock and accounting valuation, and possibility to make accounting adjustment. + +You should use this module if you have products where the inventory valuation is automated (this means that your inventory is connected with accounting). The report allows you to identify the products where the inventory value has a discrepancy with the accounting value for that same product, and to make an adjustment entry in your accounting to align the two values. + +In order to use the module, go to Inventory / Reporting / Products with Account Discrepancy, select the date where you are looking to find the discrepancy and run "Show report". Once run, select the entries that you want to adjust and run the action to adjust. + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +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 +======= + +Authors +~~~~~~~ + +* ForgeFlow + +Contributors +~~~~~~~~~~~~ + +* Christopher Ormaza + +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-ChrisOForgeFlow| image:: https://github.com/ChrisOForgeFlow.png?size=40px + :target: https://github.com/ChrisOForgeFlow + :alt: ChrisOForgeFlow + +Current `maintainer `__: + +|maintainer-ChrisOForgeFlow| + +This module is part of the `OCA/stock-logistics-reporting `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_account_valuation_discrepancy_adjust/models/product_discrepancy.py b/stock_account_valuation_discrepancy_adjust/models/product_discrepancy.py index f86a48b02..dddbca4fc 100644 --- a/stock_account_valuation_discrepancy_adjust/models/product_discrepancy.py +++ b/stock_account_valuation_discrepancy_adjust/models/product_discrepancy.py @@ -23,16 +23,8 @@ class ProductDiscrepancy(models.TransientModel): stock_value = fields.Float(string="Inventory Value", readonly=True) account_value = fields.Float(string="Accounting Value", readonly=True) qty_at_date = fields.Float(string="Inventory Quantity", readonly=True) - account_qty_at_date = fields.Float( - string="Accounting Quantity", readonly=True - ) - valuation_discrepancy = fields.Float( - string="Valuation discrepancy", readonly=True - ) - qty_discrepancy = fields.Float( - string="Quantity discrepancy", readonly=True - ) + account_qty_at_date = fields.Float(string="Accounting Quantity", readonly=True) + valuation_discrepancy = fields.Float(string="Valuation discrepancy", readonly=True) + qty_discrepancy = fields.Float(string="Quantity discrepancy", readonly=True) - to_date_valuation = fields.Datetime( - string="To Date Valuation", readonly=True - ) + to_date_valuation = fields.Datetime(string="To Date Valuation", readonly=True) diff --git a/stock_account_valuation_discrepancy_adjust/static/description/index.html b/stock_account_valuation_discrepancy_adjust/static/description/index.html new file mode 100644 index 000000000..4397f7100 --- /dev/null +++ b/stock_account_valuation_discrepancy_adjust/static/description/index.html @@ -0,0 +1,433 @@ + + + + + +Account Valuation Discrepancy Adjust + + + +
+

Account Valuation Discrepancy Adjust

+ + +

Alpha License: AGPL-3 OCA/stock-logistics-reporting Translate me on Weblate Try me on Runboat

+

Wizard to show discrepancies between stock and accounting valuation, and possibility to make accounting adjustment.

+

You should use this module if you have products where the inventory valuation is automated (this means that your inventory is connected with accounting). The report allows you to identify the products where the inventory value has a discrepancy with the accounting value for that same product, and to make an adjustment entry in your accounting to align the two values.

+

In order to use the module, go to Inventory / Reporting / Products with Account Discrepancy, select the date where you are looking to find the discrepancy and run “Show report”. Once run, select the entries that you want to adjust and run the action to adjust.

+
+

Important

+

This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

+
+

Table of contents

+ +
+

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

+
+

Authors

+
    +
  • ForgeFlow
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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 maintainer:

+

ChrisOForgeFlow

+

This module is part of the OCA/stock-logistics-reporting project on GitHub.

+

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

+
+
+
+ + diff --git a/stock_account_valuation_discrepancy_adjust/views/product_discrepancy_view.xml b/stock_account_valuation_discrepancy_adjust/views/product_discrepancy_view.xml index 2dcfad48d..2d2e62d37 100644 --- a/stock_account_valuation_discrepancy_adjust/views/product_discrepancy_view.xml +++ b/stock_account_valuation_discrepancy_adjust/views/product_discrepancy_view.xml @@ -1,4 +1,4 @@ - + @@ -6,18 +6,27 @@ product_discrepancy_view_tree product.discrepancy - - - - - - - - - - -