Initial commit: Cybrosys Odoo packages (10 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:49:21 +02:00
commit 54ed047508
751 changed files with 13707 additions and 0 deletions

View file

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Report action to print stock valuation report -->
<record id="stock_valuation_report" model="ir.actions.report">
<field name="name">Stock Valuation Report</field>
<field name="model">stock.valuation.report</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">warehouse_reports.report_stock_valuation</field>
<field name="report_file">warehouse_reports.report_stock_valuation</field>
<field name="binding_model_id" ref="model_stock_valuation_report"/>
<field name="binding_type">report</field>
</record>
<!-- Report action to print stock move report -->
<record id="stock_move_report" model="ir.actions.report">
<field name="name">Stock Move Report</field>
<field name="model">stock.move.report</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">warehouse_reports.report_stock_move</field>
<field name="report_file">warehouse_reports.report_stock_move</field>
<field name="binding_model_id" ref="model_stock_move_report"/>
<field name="binding_type">report</field>
</record>
<!-- Report action to print stock transfer report -->
<record id="stock_transfer_report" model="ir.actions.report">
<field name="name">Stock Transfer Report</field>
<field name="model">stock.transfer.report</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">warehouse_reports.report_stock_transfer</field>
<field name="report_file">warehouse_reports.report_stock_transfer</field>
<field name="binding_model_id" ref="model_stock_transfer_report"/>
<field name="binding_type">report</field>
</record>
<!-- Report action to print stock product report -->
<record id="stock_product_report" model="ir.actions.report">
<field name="name">Stock Product Report</field>
<field name="model">stock.product.report</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">warehouse_reports.report_stock_product</field>
<field name="report_file">warehouse_reports.report_stock_product</field>
<field name="binding_model_id" ref="model_stock_product_report"/>
<field name="binding_type">report</field>
</record>
</odoo>

View file

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Stock move pdf report template -->
<template id="report_stock_move">
<t t-call="web.html_container">
<div class="article">
<center>
<h2>STOCK MOVE REPORT</h2>
</center>
<br/>
<table class="table">
<div class="header">
<div class="row text-left"
style="border-top: 1px solid black;">
<div class="col-xs-3 col-xs-offset-9 text-right">
<ul class="list-inline"
style="margin-top:10px;">
<li>
<span class="page"/>
/
<span class="topage"/>
</li>
</ul>
<br/>
<div>
<span class="text-left"
style="color:black;"
t-esc="company_name"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_street"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="state"/>
<span class="text-left"
style="color:black;"
t-esc="country"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_email"/>
<br/>
</div>
</div>
</div>
</div>
<thead>
<tr>
<th>Date</th>
<th>Reference</th>
<th>Product</th>
<th>Location</th>
<th>Quantity</th>
<th>Company</th>
<th>status</th>
</tr>
</thead>
<tbody>
<t t-foreach="stock_move" t-as="doc">
<tr>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['date']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['reference']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['product_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['complete_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['product_uom_qty']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="status[doc['state']]"/>
</td>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</template>
</odoo>

View file

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Stock pdf report template -->
<template id="report_stock_product">
<t t-call="web.html_container">
<div class="article">
<center>
<h2>STOCK REPORT</h2>
</center>
<br/>
<table class="table">
<div class="header">
<div class="row text-left"
style="border-top: 1px solid black;">
<div class="col-xs-3 col-xs-offset-9 text-right">
<ul class="list-inline"
style="margin-top:10px;">
<li>
<span class="page"/>
/
<span class="topage"/>
</li>
</ul>
<br/>
<div>
<span class="text-left"
style="color:black;"
t-esc="company_name"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_street"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="state"/>
<span class="text-left"
style="color:black;"
t-esc="country"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_email"/>
<br/>
</div>
</div>
</div>
</div>
<thead>
<tr>
<th>Product Name</th>
<th>Product Category</th>
<th>On Hand Quantity</th>
<th>Quantity Unreserved</th>
<th>Incoming Quantity</th>
<th>Outgoing Quantity</th>
</tr>
</thead>
<tbody>
<t t-foreach="stock_product" t-as="doc">
<tr>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['product_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['category_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['outgoing_qty']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['incoming_qty']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['free_qty']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['qty_available']"/>
</td>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</template>
</odoo>

View file

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Stock transfer pdf report template -->
<template id="report_stock_transfer">
<t t-call="web.html_container">
<div class="article">
<center>
<h2>STOCK TRANSFER REPORT</h2>
</center>
<br/>
<div class="header">
<div class="row text-left"
style="border-top: 1px solid black;">
<div class="col-xs-3 col-xs-offset-9 text-right">
<ul class="list-inline"
style="margin-top:10px;">
<li>
<span class="page"/>
/
<span class="topage"/>
</li>
</ul>
<br/>
<div>
<span class="text-left"
style="color:black;"
t-esc="company_name"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_street"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="state"/>
<span class="text-left"
style="color:black;"
t-esc="country"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_email"/>
<br/>
</div>
</div>
</div>
</div>
<table class="table">
<thead>
<tr>
<th>Reference</th>
<th>Product</th>
<th>Scheduled Date</th>
<th>Deadline</th>
<th>Effective Date</th>
<th>Source Document</th>
<th>Location</th>
<th>Operation Type</th>
<th>Company Name</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<t t-foreach="stock_picking" t-as="doc">
<tr>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['picking_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['product_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['scheduled_date']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['date_deadline']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['date_done']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['origin']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['complete_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['display_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['company_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="status[doc['state']]"/>
</td>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</template>
</odoo>

View file

@ -0,0 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Stock valuation pdf report template -->
<template id="report_stock_valuation">
<t t-call="web.html_container">
<div class="article">
<center>
<h2>STOCK VALUATION REPORT</h2>
</center>
<br/>
<table class="table">
<div class="header">
<div class="row text-left"
style="border-top: 1px solid black;">
<div class="col-xs-3 col-xs-offset-9 text-right">
<ul class="list-inline"
style="margin-top:10px;">
<li>
<span class="page"/>
/
<span class="topage"/>
</li>
</ul>
<br/>
<div>
<span class="text-left"
style="color:black;"
t-esc="company_name"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_street"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="state"/>
<span class="text-left"
style="color:black;"
t-esc="country"/>
<br/>
<span class="text-left"
style="color:black;"
t-esc="company_email"/>
<br/>
</div>
</div>
</div>
</div>
<thead>
<tr>
<th>Date</th>
<th>Product Name</th>
<th>Description</th>
<th>Product Category</th>
<th>Company Name</th>
<th>Quantity</th>
<th>Unit Cost</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<t t-foreach="stock_valuation" t-as="doc">
<tr>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['create_date']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['description']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['complete_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['company_name']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['quantity']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['unit_cost']"/>
</td>
<td class="text-center"
style="width: 15%">
<span t-esc="doc['value']"/>
</td>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</template>
</odoo>