Module stock_hide_journal_id is not needed in v8
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
|
||||||
##############################################################################
|
|
||||||
#
|
|
||||||
# Stock Hide journal_id module for OpenERP
|
|
||||||
# Copyright (C) 2014 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/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
|
||||||
##############################################################################
|
|
||||||
#
|
|
||||||
# Stock Hide journal_id module for OpenERP
|
|
||||||
# Copyright (C) 2014 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 Hide journal_id',
|
|
||||||
'version': '0.1',
|
|
||||||
'category': 'Inventory, Logistic, Storage',
|
|
||||||
'license': 'AGPL-3',
|
|
||||||
'summary': 'Hide the field journal_id in the stock views',
|
|
||||||
'description': """
|
|
||||||
Stock Hide journal_id
|
|
||||||
=====================
|
|
||||||
|
|
||||||
Hide the field *Stock Journal* in the stock views (form and tree), to win space.
|
|
||||||
|
|
||||||
Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
|
|
||||||
""",
|
|
||||||
'author': 'Akretion',
|
|
||||||
'website': 'http://www.akretion.com',
|
|
||||||
'depends': ['stock'],
|
|
||||||
'data': ['stock_view.xml'],
|
|
||||||
'installable': True,
|
|
||||||
'active': False,
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2014 Akretion (http://www.akretion.com/)
|
|
||||||
@author Alexis de Lattre <alexis.delattre@akretion.com>
|
|
||||||
The licence is in the file __openerp__.py
|
|
||||||
-->
|
|
||||||
|
|
||||||
<openerp>
|
|
||||||
<data>
|
|
||||||
|
|
||||||
|
|
||||||
<record id="vpicktree" model="ir.ui.view">
|
|
||||||
<field name="name">hide.journal_id.picking.tree</field>
|
|
||||||
<field name="model">stock.picking</field>
|
|
||||||
<field name="inherit_id" ref="stock.vpicktree" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="stock_journal_id" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_picking_in_tree" model="ir.ui.view">
|
|
||||||
<field name="name">hide.journal_id.picking.in.tree</field>
|
|
||||||
<field name="model">stock.picking.in</field>
|
|
||||||
<field name="inherit_id" ref="stock.view_picking_in_tree" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="stock_journal_id" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_picking_out_tree" model="ir.ui.view">
|
|
||||||
<field name="name">hide.journal_id.picking.out.tree</field>
|
|
||||||
<field name="model">stock.picking.out</field>
|
|
||||||
<field name="inherit_id" ref="stock.view_picking_out_tree" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="stock_journal_id" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_picking_out_form" model="ir.ui.view">
|
|
||||||
<field name="name">hide.journal_id.picking.out.form</field>
|
|
||||||
<field name="model">stock.picking.out</field>
|
|
||||||
<field name="inherit_id" ref="stock.view_picking_out_form" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="stock_journal_id" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_picking_in_form" model="ir.ui.view">
|
|
||||||
<field name="name">hide.journal_id.picking.in.form</field>
|
|
||||||
<field name="model">stock.picking.in</field>
|
|
||||||
<field name="inherit_id" ref="stock.view_picking_in_form" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="stock_journal_id" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_picking_form" model="ir.ui.view">
|
|
||||||
<field name="name">hide.journal_id.picking.form</field>
|
|
||||||
<field name="model">stock.picking</field>
|
|
||||||
<field name="inherit_id" ref="stock.view_picking_form" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="stock_journal_id" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
||||||
Reference in New Issue
Block a user