Browse Source

[IMP] module_prototyper: add placeholders to fields.

12.0-mig-module_prototyper_last
Jordi Riera 10 years ago
committed by Nicolas JEUDY
parent
commit
d13457adb5
  1. 2
      module_prototyper/__openerp__.py
  2. 23
      module_prototyper/views/module_prototyper_view.xml

2
module_prototyper/__openerp__.py

@ -28,7 +28,7 @@
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'category': 'Others',
'summary': 'Prototype your module',
'summary': 'Prototype your module.',
'depends': [
'admin_technical_features',
],

23
module_prototyper/views/module_prototyper_view.xml

@ -19,14 +19,13 @@
<field name="model">module_prototyper</field>
<field name="arch" type="xml">
<form string="Module">
<link rel="stylesheet"
href="/base/static/src/css/description.css"/>
<sheet>
<field name="icon_image" widget="image"
class="oe_avatar oe_left"/>
<div class="oe_title">
<h1>
<field name="human_name"/>
<field name="human_name"
placeholder="ex: Module Prototyper"/>
</h1>
<div>
<button name="%(button_module_export_action)d"
@ -35,15 +34,21 @@
</div>
<group>
<group>
<field name="name"/>
<field name="summary"/>
<field name="category_id"/>
<field name="name"
placeholder="ex: module_prototyper"/>
<field name="summary"
placeholder="ex: Prototype your module."/>
<field name="category_id"
placeholder="ex: Others, Sales, Website"/>
<field name="version"/>
</group>
<group>
<field name="author"/>
<field name="website" widget="url"/>
<field name="maintainer"/>
<field name="author"
placeholder="ex: Odoo Community Association"/>
<field name="website" widget="url"
placeholder="ex: http://odoo-community.org/"/>
<field name="maintainer"
placeholder="ex: Odoo Community Association"/>
<field name="auto_install"/>
<field name="application"/>
</group>

Loading…
Cancel
Save