Skip to content

Commit

Permalink
raport cumulativ
Browse files Browse the repository at this point in the history
  • Loading branch information
dhongu committed Apr 17, 2024
1 parent 635ebb4 commit 84c14c5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion l10n_ro_stock_picking_report/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Romania - Terrabit - Picking Reports
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6543e4336a25e62c775041af6962003da5c5d26c13c7c1040d8ceea0c922311a
!! source digest: sha256:c52340930cf772c31213ae284f35488fd4a9a487a0d00b493d11c0cfa7031418
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion l10n_ro_stock_picking_report/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Romania - Terrabit - Picking Reports",
"summary": "Rapoarte: NIR, aviz, bon consum",
"license": "AGPL-3",
"version": "15.0.1.1.3",
"version": "15.0.1.1.4",
"author": "Dorin Hongu," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-romania",
"category": "Generic Modules",
Expand Down
14 changes: 14 additions & 0 deletions l10n_ro_stock_picking_report/report/picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,3 +308,17 @@ class ReportReceptionSalePrice(models.AbstractModel):
_inherit = "report.abstract_report.reception_report"
_template = "l10n_ro_stock_picking_report.report_reception_sale_price"
# _wrapped_report_class = picking_reception


class ReportCumulativeSalePrice(models.AbstractModel):
_name = "report.l10n_ro_stock_picking_report.report_cumulative_reception_sale_price"
_description = "Report cumulative reception in store"
_inherit = "report.abstract_report.reception_report"
_template = "l10n_ro_stock_picking_report.report_reception_sale_price"


class ReportCumulativeIternalTransfer(models.AbstractModel):
_name = "report.l10n_ro_stock_picking_report.report_cumulative_internal_transfer"
_description = "Report cumulative internal transfer"
_inherit = "report.abstract_report.reception_report"
_template = "l10n_ro_stock_picking_report.report_internal_transfer"
2 changes: 1 addition & 1 deletion l10n_ro_stock_picking_report/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Romania - Terrabit - Picking Reports</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6543e4336a25e62c775041af6962003da5c5d26c13c7c1040d8ceea0c922311a
!! source digest: sha256:c52340930cf772c31213ae284f35488fd4a9a487a0d00b493d11c0cfa7031418
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/dhongu/l10n-romania/tree/15.0/l10n_ro_stock_picking_report"><img alt="dhongu/l10n-romania" src="https://img.shields.io/badge/github-dhongu%2Fl10n--romania-lightgray.png?logo=github" /></a></p>
<blockquote>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
<field name="name">Cumulative Internal transfer</field>
<field name="model">stock.picking.cumulative</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">l10n_ro_stock_picking_report.report_internal_transfer</field>
<field name="report_file">l10n_ro_stock_picking_report.report_internal_transfer</field>
<field name="report_name">l10n_ro_stock_picking_report.report_cumulative_internal_transfer</field>
<field name="report_file">l10n_ro_stock_picking_report.report_cumulative_internal_transfer</field>
<field name="print_report_name">(object._get_report_base_filename())</field>
<field name="binding_model_id" ref="model_stock_picking_cumulative" />
<field name="binding_type">report</field>
Expand All @@ -85,8 +85,8 @@
<field name="name">Cumulative Reception with sale price</field>
<field name="model">stock.picking.cumulative</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">l10n_ro_stock_picking_report.report_reception_sale_price</field>
<field name="report_file">l10n_ro_stock_picking_report.report_reception_sale_price</field>
<field name="report_name">l10n_ro_stock_picking_report.report_cumulative_reception_sale_price</field>
<field name="report_file">l10n_ro_stock_picking_report.report_cumulative_reception_sale_price</field>
<field name="print_report_name">(object._get_report_base_filename())</field>
<field name="binding_model_id" ref="model_stock_picking_cumulative" />
<field name="binding_type">report</field>
Expand Down

0 comments on commit 84c14c5

Please sign in to comment.