-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] Grouped by picking invoice report customization module
- Loading branch information
1 parent
45fe76a
commit 861476c
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
############################################################################### | ||
# For copyright and license notices, see __manifest__.py file in root directory | ||
############################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
############################################################################### | ||
# | ||
# Sidoo, S.L. | ||
# Copyright (C) 2024-Today Sidoo, S.L. https://www.sdi.es/odoo-cloud/ | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################### | ||
{ | ||
'name': 'SDi Grouped by Picking', | ||
'version': '11.0.1.0.0', | ||
'summary': 'Grouped by picking customization', | ||
'author': 'Valentín Georigan Castravete, Sidoo, S.L.', | ||
'website': 'https://www.sdi.es/odoo-cloud/', | ||
'license': 'AGPL-3', | ||
'category': 'Custom', | ||
'depends': [ | ||
'sdi_sale_pack_uom_management_nocompute', | ||
'account_invoice_report_grouped_by_picking', | ||
], | ||
'data': [ | ||
'report/account_reports.xml', | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<odoo> | ||
<template id="report_invoice_document" inherit_id="account.report_invoice_document" priority="100"> | ||
<xpath expr="//td/t[@t-if='l.uom_id.factor_inv > 1']/t[@t-set='qty']" position="replace"> | ||
<t t-set="qty" t-value="lines_group['quantity']" /> | ||
</xpath> | ||
<xpath expr="//td/span[@t-esc='lines_group['quantity']']" position="attributes"> | ||
<attribute name="t-esc">lines_group['quantity'] * l.uom_id.factor_inv</attribute> | ||
</xpath> | ||
</template> | ||
</odoo> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.