mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[9.0][IMP] stock_cycle_count: cycle counts report
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
'data/cycle_count_sequence.xml',
|
||||
'data/cycle_count_ir_cron.xml',
|
||||
'reports/stock_location_accuracy_report.xml',
|
||||
'reports/stock_cycle_count_report.xml',
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
"license": "AGPL-3",
|
||||
|
||||
59
stock_cycle_count/reports/stock_cycle_count_report.xml
Normal file
59
stock_cycle_count/reports/stock_cycle_count_report.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<odoo>
|
||||
|
||||
<template id="report_cyclecount">
|
||||
<t t-call="report.html_container">
|
||||
<t t-call="report.internal_layout">
|
||||
<div class="page">
|
||||
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Cycle Count #</th>
|
||||
<th>Location</th>
|
||||
<th>Required Date</th>
|
||||
<th>Assigned to</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="sale_tbody">
|
||||
<t t-foreach="docs" t-as="doc">
|
||||
<tr>
|
||||
<td>
|
||||
<span t-field="doc.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="doc.location_id"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="doc.date_deadline"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="doc.responsible_id"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="doc.state"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<!-- Report action -->
|
||||
<report
|
||||
id="action_report_stock_cycle_count"
|
||||
model="stock.cycle.count"
|
||||
name="stock_cycle_count.report_cyclecount"
|
||||
string="Cycle Count"
|
||||
report_type="qweb-pdf"
|
||||
groups="stock.group_stock_user"/>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user