Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] stock_card_report #186

Merged
merged 23 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e0a0237
[12.0][ADD] stock_card_report
ps-tubtim Nov 7, 2019
d726db2
[12.0][fix] stock_card_report
ps-tubtim Mar 19, 2020
a9f8eda
[UPD] Update stock_card_report.pot
oca-travis Mar 19, 2020
fd8252b
[UPD] README.rst
OCA-git-bot Mar 19, 2020
dabc2cc
[IMP] stock_card_report: black, isort
ps-tubtim Mar 20, 2020
62a333f
[MIG] stock_card_report: Migration to 13.0
ps-tubtim Mar 20, 2020
07fbd5d
[UPD] Update stock_card_report.pot
oca-travis Mar 25, 2020
047ecc4
[UPD] README.rst
OCA-git-bot Mar 25, 2020
6001554
Added translation using Weblate (Spanish)
johnnypiguave Sep 29, 2020
ca407cc
Added translation using Weblate (Spanish (Ecuador))
johnnypiguave Sep 29, 2020
83b5572
Translated using Weblate (Spanish (Ecuador))
johnnypiguave Sep 29, 2020
76e8853
Translated using Weblate (Spanish (Ecuador))
johnnypiguave Sep 29, 2020
ed85463
[IMP] stock_card_report: black, isort, prettier
PrapassornS Nov 17, 2020
153d49b
[MIG]stock_card_report: Migration to 14.0
PrapassornS Nov 19, 2020
6820d82
[UPD] Update stock_card_report.pot
oca-travis Apr 20, 2021
a6182ea
[UPD] README.rst
OCA-git-bot Apr 20, 2021
50bd371
[14.0][IMP] stock_card_report, add origin to display_name on report
kittiu Apr 22, 2021
5119512
[14.0][FIX] stock_card_report, fix action access error
kittiu Apr 29, 2021
4db0a62
stock_card_report 14.0.1.0.1
OCA-git-bot Apr 29, 2021
b69ea03
[UPD] Update stock_card_report.pot
oca-travis Apr 29, 2021
ceed128
stock_card_report 14.0.1.0.2
OCA-git-bot Apr 29, 2021
04f8cdc
Update translation files
oca-transbot Apr 29, 2021
e212015
[MIG] stock_card_report: Migration to 15.0
emadshaaban92 Mar 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions setup/stock_card_report/odoo/addons/stock_card_report
6 changes: 6 additions & 0 deletions setup/stock_card_report/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
83 changes: 83 additions & 0 deletions stock_card_report/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
=================
Stock Card Report
=================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fstock--logistics--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-reporting/tree/14.0/stock_card_report
: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-14-0/stock-logistics-reporting-14-0-stock_card_report
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/151/14.0
:alt: Try me on Runbot

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

Stock Card Report is the report that display movement (in/out) of a product in a specified location and date range.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to Inventory > Reporting > Stock Card.
#. Select Start date, End date, Products, Location.
#. Choose View or Export PDF or Export XLSX or Cancel.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-reporting/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/stock-logistics-reporting/issues/new?body=module:%20stock_card_report%0Aversion:%2014.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
~~~~~~~

* Ecosoft

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

* Pimolnat Suntian <pimolnats@ecosoft.co.th>
* Prapassorn Sornkaew <prapassorn.s@prothaitechnology.com>

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.

This module is part of the `OCA/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/14.0/stock_card_report>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions stock_card_report/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2019 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import wizard
from . import reports
27 changes: 27 additions & 0 deletions stock_card_report/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2019 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock Card Report",
"summary": "Add stock card report on Inventory Reporting.",
"version": "15.0.1.0.0",
"category": "Warehouse",
"website": "https://github.com/OCA/stock-logistics-reporting",
"author": "Ecosoft, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["stock", "date_range", "report_xlsx_helper"],
"data": [
"security/ir.model.access.csv",
"data/paper_format.xml",
"data/report_data.xml",
"reports/stock_card_report.xml",
"wizard/stock_card_report_wizard_view.xml",
],
"assets": {
"web.assets_backend": [
"stock_card_report/static/src/css/**/*",
"stock_card_report/static/src/js/**/*",
]
},
"installable": True,
}
19 changes: 19 additions & 0 deletions stock_card_report/data/paper_format.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<odoo>

<record id="paperformat_stock_card" model="report.paperformat">
<field name="name">Stock Card A4</field>
<field name="default" eval="True" />
<field name="format">A4</field>
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">28</field>
<field name="margin_bottom">28</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">24</field>
<field name="dpi">90</field>
</record>

</odoo>
32 changes: 32 additions & 0 deletions stock_card_report/data/report_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record id="action_report_stock_card_report_html" model="ir.actions.client">
<field name="name">Stock Card Report</field>
<field name="tag">stock_card_report_backend</field>
<field name="context" eval="{'active_model': 'report.stock.card.report'}" />
</record>

<record id="action_stock_card_report_pdf" model="ir.actions.report">
<field name="name">Stock Card PDF</field>
<field name="model">report.stock.card.report</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">stock_card_report.report_stock_card_report_pdf</field>
<field name="report_file">stock_card_report.report_stock_card_report_pdf</field>
<field
name="print_report_name"
>'Stock Card Report - [%s]' % (object.location_id.complete_name)</field>
<field name="paperformat_id" ref="stock_card_report.paperformat_stock_card" />
</record>

<record id="action_stock_card_report_xlsx" model="ir.actions.report">
<field name="name">Stock Card XLSX</field>
<field name="model">report.stock.card.report</field>
<field name="report_type">xlsx</field>
<field
name="report_name"
>stock_card_report.report_stock_card_report_xlsx</field>
<field name="report_file">Stock Card Report</field>
</record>

</odoo>
Loading