Add module stock_inventory_valuation_ods

This commit is contained in:
Alexis de Lattre
2016-02-10 23:20:07 +01:00
parent dccfead879
commit 8b0e59b22f
4 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,43 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Stock Inventory Validation ODS module for Odoo
# Copyright (C) 2016 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
#
# 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': 'Stock Inventory Validation ODS',
'version': '8.0.0.1.0',
'category': 'Tools',
'license': 'AGPL-3',
'summary': 'Adds an Aeroo ODS report on inventories',
'description': """
Stock Inventory Validation ODS
==============================
This module will add an Aeroo ODS report on Stock Inventories.
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
""",
'author': "Akretion",
'website': 'http://www.akretion.com',
'depends': ['stock_inventory_valuation', 'report_aeroo'],
'data': ['report.xml'],
'installable': True,
}

Binary file not shown.

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="stock_inventory_valuation_ods" model="ir.actions.report.xml">
<field name="name">Inventory Valuation ODS</field>
<field name="model">stock.inventory</field>
<field name="report_name">stock.inventory.ods</field>
<field name="report_type">aeroo</field>
<field name="in_format">oo-ods</field>
<field name="report_rml">stock_inventory_valuation_ods/inventory.ods</field>
<field name="parser_state">default</field>
<field name="tml_source">file</field>
<field name="out_format" ref="report_aeroo.report_mimetypes_ods_ods"/>
</record>
<record id="stock_inventory_valuation_ods_button" model="ir.values">
<field name="name">Inventory Valuation ODS</field>
<field name="model">stock.inventory</field>
<field name="key2">client_print_multi</field>
<field name="value" eval="'ir.actions.report.xml,%d'%stock_inventory_valuation_ods"/>
</record>
</data>
</openerp>