[MERGE] OPW 590300: make some action help texts consistent with the rest of the system

The policy is to have a one-line paragraph with
class `oe_view_nocontent_create` that directs the
user to the create button. There are exceptions
when the action is not supposed to be used to
create new records, in which case the help
text should indicate so.

lp bug: https://launchpad.net/bugs/1165321 fixed

bzr revid: odo@openerp.com-20130607162045-7di6r2fllm6k988x
This commit is contained in:
Olivier Dony 2013-06-07 18:20:45 +02:00
commit 74e0201356
2 changed files with 26 additions and 3 deletions

View File

@ -53,7 +53,13 @@
<field name="res_model">res.bank</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help">Manage bank records you want to be used in the system.</field>
<field name="help">
<p class="oe_view_nocontent_create">
Click to create a new bank.
</p><p>
Manage bank records you want to be used in the system.
</p>
</field>
</record>
<menuitem action="action_res_bank_form" id="menu_action_res_bank_form" parent="base.menu_config_address_book" sequence="11" groups="base.group_no_one"/>
@ -152,7 +158,17 @@
<field name="res_model">res.partner.bank</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help">Configure your company's bank accounts and select those that must appear on the report footer. You can reorder bank accounts from the list view. If you use the accounting application of OpenERP, journals and accounts will be created automatically based on these data.</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a bank account.
</p><p>
Configure your company's bank accounts and select those that must appear on the report footer.
You can reorder bank accounts from the list view.
</p>
<p>
If you use the accounting application of OpenERP, journals and accounts will be created automatically based on these data.
</p>
</field>
</record>
<menuitem action="action_res_partner_bank_account_form"
id="menu_action_res_partner_bank_form"

View File

@ -576,7 +576,14 @@
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.partner.category</field>
<field name="view_type">form</field>
<field name="help">Manage the partner categories in order to better classify them for tracking and analysis purposes. A partner may belong to several categories and categories have a hierarchy structure: a partner belonging to a category also belong to his parent category.</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a new partner category.
</p><p>
Manage the partner categories in order to better classify them for tracking and analysis purposes.
A partner may belong to several categories and categories have a hierarchy structure: a partner belonging to a category also belong to his parent category.
</p>
</field>
</record>
<menuitem action="action_partner_category_form" id="menu_partner_category_form" name="Partner Tags" sequence="4" parent="menu_config_address_book" groups="base.group_no_one"/>