moved report_stock to stock

bzr revid: fp@tinyerp.com-20080916111458-zo2x5qoegod25mkb
This commit is contained in:
Fabien Pinckaers 2008-09-16 13:14:58 +02:00
parent dcb0870abe
commit 05f980e2a6
22 changed files with 43 additions and 1393 deletions

View File

@ -1,34 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2004-2008 TINY SPRL. (http://tiny.be) All Rights Reserved.
#
# $Id$
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
import report_stock
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,54 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2004-2008 Tiny SPRL (http://tiny.be) All Rights Reserved.
#
# $Id$
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
###############################################################################
{
"name" : "Stock report",
"version" : "1.0",
"author" : "Tiny",
"website" : "http://tinyerp.com/",
"depends" : ["stock", "product",],
"category" : "Generic Modules/Inventory Control",
"description" : """
This module adds new reports based on the stock module.
It create a new menu to get products by production lots within
the different locations:
Inventory Control/Reporting/Traceability/Stock by production lots
""",
"init_xml" : [],
"demo_xml" : [],
"update_xml" : [
"security/ir.model.access.csv",
"report_stock_view.xml",
],
"active": False,
"installable": True
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:40:34+0000"
"PO-Revision-Date: 2008-09-11 15:40:34+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:38:50+0000"
"PO-Revision-Date: 2008-09-11 15:38:50+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr "Berichtswesen"
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:44:00+0000"
"PO-Revision-Date: 2008-09-11 15:44:00+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Trazabilidad"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:41:08+0000"
"PO-Revision-Date: 2008-09-11 15:41:08+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Trazabilidad"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:41:43+0000"
"PO-Revision-Date: 2008-09-11 15:41:43+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Traçabilités"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr "Reporting"
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:44:35+0000"
"PO-Revision-Date: 2008-09-11 15:44:35+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:36:31+0000"
"PO-Revision-Date: 2008-09-11 15:36:31+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Tracciatura"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:40:00+0000"
"PO-Revision-Date: 2008-09-11 15:40:00+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Traceerbaarheid"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:38:15+0000"
"PO-Revision-Date: 2008-09-11 15:38:15+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:42:18+0000"
"PO-Revision-Date: 2008-09-11 15:42:18+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Rastreabilidade"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:45:09+0000"
"PO-Revision-Date: 2008-09-11 15:45:09+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:43:26+0000"
"PO-Revision-Date: 2008-09-11 15:43:26+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:42:52+0000"
"PO-Revision-Date: 2008-09-11 15:42:52+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:39:25+0000"
"PO-Revision-Date: 2008-09-11 15:39:25+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "Spårbarhet"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:37:41+0000"
"PO-Revision-Date: 2008-09-11 15:37:41+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr "追踪"
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr "报表"
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,75 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * report_stock
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 4.3.0"
"Report-Msgid-Bugs-To: support@openerp.com"
"POT-Creation-Date: 2008-09-11 15:37:06+0000"
"PO-Revision-Date: 2008-09-11 15:37:06+0000"
"Last-Translator: <>"
"Language-Team: "
"MIME-Version: 1.0"
"Content-Type: text/plain; charset=UTF-8"
"Content-Transfer-Encoding: "
"Plural-Forms: "
#. module: report_stock
#: field:report.stock.prodlots,prodlot_id:0
msgid "Production lot"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_62
msgid "Traceability"
msgstr ""
#. module: report_stock
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: report_stock
#: model:ir.ui.menu,name:report_stock.next_id_61
msgid "Reporting"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,product_id:0
msgid "Product"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_product_product_2_report_stock_prodlots
#: model:ir.actions.act_window,name:report_stock.act_stock_location_2_report_stock_prodlots
#: model:ir.ui.menu,name:report_stock.menu_report_stock_prodlots
#: view:report.stock.prodlots:0
msgid "Stock by production lots"
msgstr ""
#. module: report_stock
#: model:ir.actions.act_window,name:report_stock.act_stock_production_lot_2_report_stock_prodlots
msgid "Stock"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,location_id:0
msgid "Location"
msgstr ""
#. module: report_stock
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: report_stock
#: model:ir.model,name:report_stock.model_report_stock_prodlots
msgid "Stock report by production lots"
msgstr ""
#. module: report_stock
#: field:report.stock.prodlots,name:0
msgid "Quantity"
msgstr ""

View File

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="report_stock_prodlots_tree" model="ir.ui.view">
<field name="name">report.stock.prodlots.view</field>
<field name="model">report.stock.prodlots</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Stock by production lots">
<field name="location_id" select="1"/>
<field name="product_id" select="1"/>
<field name="prodlot_id" select="1"/>
<field name="name"/>
</tree>
</field>
</record>
<record id="action_report_stock_prodlots_form" model="ir.actions.act_window">
<field name="name">Stock by production lots</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">report.stock.prodlots</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
</record>
<menuitem id="next_id_61" name="Reporting" parent="stock.menu_stock_root"/><menuitem id="next_id_62" name="Traceability" parent="next_id_61"/>
<menuitem action="action_report_stock_prodlots_form" id="menu_report_stock_prodlots" parent="next_id_62"/>
<act_window domain="[('location_id', '=', active_id)]" id="act_stock_location_2_report_stock_prodlots" name="Stock by production lots" res_model="report.stock.prodlots" src_model="stock.location"/>
<act_window domain="[('product_id', '=', active_id)]" id="act_product_product_2_report_stock_prodlots" name="Stock by production lots" res_model="report.stock.prodlots" src_model="product.product"/>
<act_window domain="[('prodlot_id', '=', active_id)]" id="act_stock_production_lot_2_report_stock_prodlots" name="Stock" res_model="report.stock.prodlots" src_model="stock.production.lot"/>
<record id="report_stock_latest_tree" model="ir.ui.view">
<field name="name">report.inventory.latest.view</field>
<field name="model">report.inventory.latest</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Latest inventories by product">
<field name="product" select="1"/>
<field name="qty" select="1"/>
<field name="uom"/>
<field name="inventory"/>
<field name="name"/>
</tree>
</field>
</record>
<record id="action_report_stock_latest_form" model="ir.actions.act_window">
<field name="name">Latest Inventories by product</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">report.inventory.latest</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
<field name="domain">[('name','&gt;=',time.strftime('%Y-%m-01'))]</field>
</record>
<menuitem action="action_report_stock_latest_form" id="menu_report_stock_latest" parent="next_id_62"/>
</data>
</openerp>

View File

@ -1,2 +0,0 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_report_stock_prodlots,report.stock.prodlots,model_report_stock_prodlots,stock.group_stock_user,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_report_stock_prodlots report.stock.prodlots model_report_stock_prodlots stock.group_stock_user 1 0 0 0

View File

@ -30,8 +30,11 @@
from osv import osv, fields
class report_stock_prodlots(osv.osv):
_name = "report.stock.prodlots"
#
# Check if it works with UoM ???
#
class stock_report_prodlots(osv.osv):
_name = "stock.report.prodlots"
_description = "Stock report by production lots"
_auto = False
_columns = {
@ -42,7 +45,7 @@ class report_stock_prodlots(osv.osv):
}
def init(self, cr):
cr.execute("""
create or replace view report_stock_prodlots as (
create or replace view stock_report_prodlots as (
select max(id) as id,
location_id,
product_id,
@ -58,7 +61,6 @@ class report_stock_prodlots(osv.osv):
left join stock_location sl
on (sl.id = sm.location_id)
where state = 'done'
and sl.usage = 'internal'
group by sm.location_id, sm.product_id, sm.product_uom, sm.prodlot_id
union all
select max(sm.id) as id,
@ -70,43 +72,9 @@ class report_stock_prodlots(osv.osv):
left join stock_location sl
on (sl.id = sm.location_dest_id)
where sm.state = 'done'
and sl.usage = 'internal'
group by sm.location_dest_id, sm.product_id, sm.product_uom, sm.prodlot_id
) as report
group by location_id, product_id, prodlot_id
)""")
report_stock_prodlots()
class report_inventory_latest(osv.osv):
_name = "report.inventory.latest"
_description = "Latest inventories by product."
_auto = False
_columns = {
'name': fields.datetime('Latest Date',readonly=True),
'product': fields.many2one('product.product', 'Product', readonly=True, select=True),
'inventory': fields.many2one('stock.inventory', 'Inventory Name', readonly=True, select=True),
'qty': fields.float('Quantity', readonly=True, select=True),
'uom' : fields.many2one('product.uom', 'UoM', readonly=True),
# 'date' : fields.datetime('Latest Date',readonly=True),
}
_order = 'name desc'
def init(self, cr):
cr.execute("""
create or replace view report_inventory_latest as (
select max(l.id) as id,
l.product_id as product,
l.product_qty as qty,
l.product_uom as uom ,
min(l.inventory_id) as inventory,
i.date as name
from stock_inventory_line l
join stock_inventory i on (l.inventory_id=i.id)
group by l.product_uom,l.product_qty,l.product_id,i.date
)""")
report_inventory_latest()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
stock_report_prodlots()

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="stock_report_prodlots_tree" model="ir.ui.view">
<field name="name">stock.report.prodlots.view</field>
<field name="model">stock.report.prodlots</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Stock by production lots">
<field name="location_id" select="1"/>
<field name="product_id" select="1"/>
<field name="prodlot_id" select="1"/>
<field name="name"/>
</tree>
</field>
</record>
<record id="action_stock_report_prodlots_form" model="ir.actions.act_window">
<field name="name">Stock by production lots</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.report.prodlots</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
</record>
<menuitem id="next_id_61" name="Reporting" parent="stock.menu_stock_root"/><menuitem id="next_id_62" name="Traceability" parent="next_id_61"/><menuitem action="action_stock_report_prodlots_form" id="menu_stock_report_prodlots" parent="next_id_62"/>
<act_window domain="[('location_id', '=', active_id)]" id="act_stock_location_2_stock_report_prodlots" name="Stock by production lots" res_model="stock.report.prodlots" src_model="stock.location"/>
<act_window domain="[('product_id', '=', active_id)]" id="act_product_product_2_stock_report_prodlots" name="Stock by production lots" res_model="stock.report.prodlots" src_model="product.product"/>
<act_window domain="[('prodlot_id', '=', active_id)]" id="act_stock_production_lot_2_stock_report_prodlots" name="Stock" res_model="stock.report.prodlots" src_model="stock.production.lot"/>
</data>
</openerp>