[ADD] module attribute_usability
This commit is contained in:
0
attribute_usability/__init__.py
Normal file
0
attribute_usability/__init__.py
Normal file
24
attribute_usability/__openerp__.py
Normal file
24
attribute_usability/__openerp__.py
Normal 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,
|
||||
}
|
||||
16
attribute_usability/i18n/attribute_usability.pot
Normal file
16
attribute_usability/i18n/attribute_usability.pot
Normal 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"
|
||||
|
||||
16
attribute_usability/i18n/fr.po
Normal file
16
attribute_usability/i18n/fr.po
Normal 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"
|
||||
|
||||
BIN
attribute_usability/static/src/description/icon.png
Normal file
BIN
attribute_usability/static/src/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 936 B |
27
attribute_usability/view.xml
Normal file
27
attribute_usability/view.xml
Normal 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>
|
||||
Reference in New Issue
Block a user