Port stock_inventory_valuation_ods to v10 and py3o
This commit is contained in:
@@ -78,6 +78,8 @@
|
|||||||
<div class="oe_title" position="attributes">
|
<div class="oe_title" position="attributes">
|
||||||
<attribute name="style">width: 650px;</attribute>
|
<attribute name="style">width: 650px;</attribute>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- the 'description' field is defined in the native product modules
|
||||||
|
but never displayed in the view -->
|
||||||
<group name="description" position="inside">
|
<group name="description" position="inside">
|
||||||
<separator string="Internal notes" name="internal_description" colspan="4"/>
|
<separator string="Internal notes" name="internal_description" colspan="4"/>
|
||||||
<field name="description" colspan="4" nolabel="1"
|
<field name="description" colspan="4" nolabel="1"
|
||||||
|
|||||||
@@ -1,43 +1,26 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
# © 2016-2018 Akretion (http://www.akretion.com)
|
||||||
#
|
|
||||||
# Stock Inventory Validation ODS module for Odoo
|
|
||||||
# Copyright (C) 2016 Akretion (http://www.akretion.com)
|
|
||||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# 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',
|
'name': 'Stock Inventory Validation ODS',
|
||||||
'version': '8.0.0.1.0',
|
'version': '10.0.1.0.0',
|
||||||
'category': 'Tools',
|
'category': 'Tools',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'summary': 'Adds an Aeroo ODS report on inventories',
|
'summary': 'Adds a Py3o ODS report on inventories',
|
||||||
'description': """
|
'description': """
|
||||||
Stock Inventory Validation ODS
|
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>.
|
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
||||||
""",
|
""",
|
||||||
'author': "Akretion",
|
'author': "Akretion",
|
||||||
'website': 'http://www.akretion.com',
|
'website': 'http://www.akretion.com',
|
||||||
'depends': ['stock_inventory_valuation', 'report_aeroo'],
|
'depends': ['stock_inventory_valuation', 'report_py3o'],
|
||||||
'data': ['report.xml'],
|
'data': ['report.xml'],
|
||||||
'installable': False,
|
'installable': True,
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -1,18 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
|
||||||
|
|
||||||
|
|
||||||
<record id="stock_inventory_valuation_ods" model="ir.actions.report.xml">
|
<record id="stock_inventory_valuation_ods" model="ir.actions.report.xml">
|
||||||
<field name="name">Inventory Valuation per Location (ODS)</field>
|
<field name="name">Inventory Valuation per Location (ODS)</field>
|
||||||
<field name="model">stock.inventory</field>
|
<field name="model">stock.inventory</field>
|
||||||
<field name="report_name">stock.inventory.ods</field>
|
<field name="report_name">stock.inventory.ods</field>
|
||||||
<field name="report_type">aeroo</field>
|
<field name="report_type">py3o</field>
|
||||||
<field name="in_format">oo-ods</field>
|
<field name="py3o_filetype">ods</field>
|
||||||
<field name="report_rml">stock_inventory_valuation_ods/inventory.ods</field>
|
<field name="module">stock_inventory_valuation_ods</field>
|
||||||
<field name="parser_state">default</field>
|
<field name="py3o_template_fallback">inventory.ods</field>
|
||||||
<field name="tml_source">file</field>
|
|
||||||
<field name="out_format" ref="report_aeroo.report_mimetypes_ods_ods"/>
|
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="stock_inventory_valuation_ods_button" model="ir.values">
|
<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"/>
|
<field name="value" eval="'ir.actions.report.xml,%d'%stock_inventory_valuation_ods"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<!--
|
||||||
<record id="stock_inventory_valuation_grouped_ods" model="ir.actions.report.xml">
|
<record id="stock_inventory_valuation_grouped_ods" model="ir.actions.report.xml">
|
||||||
<field name="name">Inventory Valuation (ODS)</field>
|
<field name="name">Inventory Valuation (ODS)</field>
|
||||||
<field name="model">stock.inventory</field>
|
<field name="model">stock.inventory</field>
|
||||||
@@ -41,7 +39,6 @@
|
|||||||
<field name="key2">client_print_multi</field>
|
<field name="key2">client_print_multi</field>
|
||||||
<field name="value" eval="'ir.actions.report.xml,%d'%stock_inventory_valuation_grouped_ods"/>
|
<field name="value" eval="'ir.actions.report.xml,%d'%stock_inventory_valuation_grouped_ods"/>
|
||||||
</record>
|
</record>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</odoo>
|
||||||
</data>
|
|
||||||
</openerp>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user