[ADD] module attribute_usability

This commit is contained in:
David Beal
2016-03-16 17:37:08 +01:00
parent ecf5f6f843
commit b0110ca542
6 changed files with 83 additions and 0 deletions

View File

View File

@@ -0,0 +1,24 @@
# coding: utf-8
# © 2016 Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Attribute Usability',
'version': '8.0.0.0.0',
'category': 'Product',
'summary': "Attribute views improved",
'description': """
Add a form view to Attribute and Attribute Value views
Contributors: David BEAL
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': [
'product',
],
'data': [
'view.xml',
],
'installable': True,
}

View File

@@ -0,0 +1,16 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-03-16 16:14+0000\n"
"PO-Revision-Date: 2016-03-16 16:14+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

View File

@@ -0,0 +1,16 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-03-16 16:10+0000\n"
"PO-Revision-Date: 2016-03-16 16:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="product.variants_action" model="ir.actions.act_window">
<field name="res_model">product.attribute.value</field>
<field name="view_mode">tree,form</field>
</record>
<record id="product.attribute_action" model="ir.actions.act_window">
<field name="res_model">product.attribute</field>
<field name="view_mode">tree,form</field>
</record>
<!-- After installation of the module, open the adhoc menu -->
<record id="action_client_attribute_usabi_menu" model="ir.actions.client">
<field name="name">Open Attribute Usability Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('product.menu_variants_action')}"/>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_client_attribute_usabi_menu"/>
<field name="state">open</field>
</record>
</data>
</openerp>