Rename stock_display_src_location to stock_usability with one improvement
This commit is contained in:
@@ -1,26 +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="view_move_picking_tree" model="ir.ui.view">
|
|
||||||
<field name="name">display.src_location.in.picking.form</field>
|
|
||||||
<field name="model">stock.move</field>
|
|
||||||
<field name="inherit_id" ref="stock.view_move_picking_tree" />
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="location_id" position="attributes">
|
|
||||||
<attribute name="invisible">0</attribute>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
|
|
||||||
</data>
|
|
||||||
</openerp>
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# Stock Display Source Location module for OpenERP
|
# Stock Usability module for Odoo
|
||||||
# Copyright (C) 2014 Akretion (http://www.akretion.com)
|
# Copyright (C) 2014-2015 Akretion (http://www.akretion.com)
|
||||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# Stock Display Source Location module for OpenERP
|
# Stock Usability module for Odoo
|
||||||
# Copyright (C) 2014 Akretion (http://www.akretion.com)
|
# Copyright (C) 2014-2015 Akretion (http://www.akretion.com)
|
||||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@@ -22,23 +22,24 @@
|
|||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Stock Display Source Location',
|
'name': 'Stock Usability',
|
||||||
'version': '0.1',
|
'version': '0.1',
|
||||||
'category': 'Inventory, Logistic, Storage',
|
'category': 'Inventory, Logistic, Storage',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'summary': 'Display the source location on pickings',
|
'summary': 'Several usability enhancements in Warehouse management',
|
||||||
'description': """
|
'description': """
|
||||||
Stock Display Source Location on Pickings
|
Stock Usability
|
||||||
=========================================
|
===============
|
||||||
|
|
||||||
Display the source location on the tree view of the move lines of the pickings (by default, only the destination location is displayed).
|
The usability enhancements inclure:
|
||||||
|
* display the source location on the tree view of the move lines of the pickings (by default, only the destination location is displayed).
|
||||||
|
* always display the field *Backorder* on the form view of picking (by default, this field is only displayed when it has a value, so the user doesn't know when the field has no value because he doesn't see the field !)
|
||||||
|
|
||||||
Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
|
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'],
|
'depends': ['stock'],
|
||||||
'data': ['stock_view.xml'],
|
'data': ['stock_view.xml'],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'active': False,
|
|
||||||
}
|
}
|
||||||
38
stock_usability/stock_view.xml
Normal file
38
stock_usability/stock_view.xml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2014-2015 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="view_move_picking_tree" model="ir.ui.view">
|
||||||
|
<field name="name">stock_usability.src_location.in.picking.form</field>
|
||||||
|
<field name="model">stock.move</field>
|
||||||
|
<field name="inherit_id" ref="stock.view_move_picking_tree" />
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="location_id" position="attributes">
|
||||||
|
<attribute name="invisible">0</attribute>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="view_picking_form" model="ir.ui.view">
|
||||||
|
<field name="name">stock_usability.view_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="backorder_id" position="attributes">
|
||||||
|
<attribute name="attrs">{}</attribute>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
Reference in New Issue
Block a user