You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="base.action_partner_form" model="ir.actions.act_window">
  5. <field name="enduser_help"><![CDATA[
  6. <b>Hi Odooer,</b>
  7. <p/>
  8. Here is a documentation tool. You can customize these lines.
  9. Check lines below to learn more about this feature.
  10. ]]></field>
  11. </record>
  12. <record id="base.action_partner_form" model="ir.actions.act_window">
  13. <field name="advanced_help"><![CDATA[
  14. <b>Hi Odoo community,</b>
  15. <h4>Main functionalities:</h4>
  16. <ul>
  17. <li>Documentation is contextual by model or action: the right help to the good place.</li>
  18. <li>Modules contributors can embeds their documentation in their modules: documentation access in 1 click by model or action.</li>
  19. <li>End users can also produce some html documentation to complete missing parts.</li>
  20. <li>Documentation can also been edited for a complete base menu: Sales, Purchase, etc.</li>
  21. <li>Documentation can be printed with <kbd>Ctrl + P</kbd> shortcut.</li>
  22. </ul>
  23. <p/>
  24. <h4>How to use it:</h4>
  25. <ul>
  26. <li>When you see on any user interface part <img src="/help_popup/static/description/nodoc.png"/> click on '?'.</li>
  27. <li>Click on edit and fill 'End Users help' field.</li>
  28. <li>When you see <img src="/help_popup/static/description/doc.png"/> click on '?' button to access directly to the documentation.</li>
  29. <li>With the 2 buttons on the right, can either edit help or call the documentation of the whole main menus <img src="/help_popup/static/description/sales.png"/></li>
  30. </ul>
  31. <p>
  32. <h4>How to embedds documentation in your module:</h4>
  33. <ul>
  34. <li>You can insert html with standard Odoo xml data.</li>
  35. <li>Data are inserted with 'ir.actions.act_window' model</li>
  36. <li>If your data concerns a model, then fill the field 'advanced_help_model' of your action.</li>
  37. <li>If your data is specific to 1 action window (i.e. only customers, not suppliers) then fill the field 'avanced_help' with your data.</li>
  38. <li>Example of inserted data
  39. <br/><code>
  40. &lt;record id="base.action_partner_form" model="ir.actions.act_window"&gt;
  41. <br/> &nbsp; &nbsp;
  42. &lt;field name="advanced_help"&gt;&lt;![CDATA[
  43. <p>put your html data here</p>
  44. <br/> &nbsp; &nbsp;
  45. ]]&gt;&lt;/field&gt;
  46. <br/>
  47. &lt;/record&gt;</code>
  48. </li>
  49. <li>You can do of the same way with 'advanced_help_model' field.</li>
  50. <li><b>Several modules can modify a fraction of the same field: remove of data at uninstall is taken account.</b></li>
  51. </ul>
  52. <p/>
  53. <img src="/help_popup/static/description/contributor.png"/>
  54. <p/>
  55. ]]></field>
  56. </record>
  57. <record id="base.action_partner_category_form"
  58. model="ir.actions.act_window">
  59. <field name="enduser_help"><![CDATA[
  60. Hi all,<br><br>
  61. A supplier can have several specialities.
  62. <br><br>
  63. Use these multicategories to classify your partners
  64. ]]></field>
  65. </record>
  66. <record id="base.action_res_bank_form"
  67. model="ir.actions.act_window">
  68. <field name="enduser_help_model"><![CDATA[
  69. Hi all,<br>
  70. <br><br>
  71. Who does not want to rob a bank?
  72. <br><br>
  73. ;-)
  74. ]]></field>
  75. </record>
  76. </data>
  77. </openerp>