Port stock_inventory_valuation_ods to v10 and py3o
This commit is contained in:
@@ -1,43 +1,26 @@
|
||||
# -*- 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
# © 2016-2018 Akretion (http://www.akretion.com)
|
||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
|
||||
{
|
||||
'name': 'Stock Inventory Validation ODS',
|
||||
'version': '8.0.0.1.0',
|
||||
'version': '10.0.1.0.0',
|
||||
'category': 'Tools',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Adds an Aeroo ODS report on inventories',
|
||||
'summary': 'Adds a Py3o ODS report on inventories',
|
||||
'description': """
|
||||
Stock Inventory Validation ODS
|
||||
==============================
|
||||
|
||||
This module will add an Aeroo ODS report on Stock Inventories.
|
||||
This module will add a Py3o 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'],
|
||||
'depends': ['stock_inventory_valuation', 'report_py3o'],
|
||||
'data': ['report.xml'],
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1,18 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<odoo>
|
||||
|
||||
|
||||
<record id="stock_inventory_valuation_ods" model="ir.actions.report.xml">
|
||||
<field name="name">Inventory Valuation per Location (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"/>
|
||||
<field name="report_type">py3o</field>
|
||||
<field name="py3o_filetype">ods</field>
|
||||
<field name="module">stock_inventory_valuation_ods</field>
|
||||
<field name="py3o_template_fallback">inventory.ods</field>
|
||||
</record>
|
||||
|
||||
<record id="stock_inventory_valuation_ods_button" model="ir.values">
|
||||
@@ -22,6 +19,7 @@
|
||||
<field name="value" eval="'ir.actions.report.xml,%d'%stock_inventory_valuation_ods"/>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
<record id="stock_inventory_valuation_grouped_ods" model="ir.actions.report.xml">
|
||||
<field name="name">Inventory Valuation (ODS)</field>
|
||||
<field name="model">stock.inventory</field>
|
||||
@@ -41,7 +39,6 @@
|
||||
<field name="key2">client_print_multi</field>
|
||||
<field name="value" eval="'ir.actions.report.xml,%d'%stock_inventory_valuation_grouped_ods"/>
|
||||
</record>
|
||||
-->
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user