[IMP] account, account_bank_statement_import: onboarding tips. Added 2 data files...
authorJay Patel <jpa@openerp.com>
Tue, 26 Aug 2014 06:39:48 +0000 (12:09 +0530)
committerThibault Delavallée <tde@openerp.com>
Tue, 2 Sep 2014 10:05:20 +0000 (12:05 +0200)
addons/account/__openerp__.py
addons/account/account_tip_data.xml [new file with mode: 0644]
addons/account_bank_statement_import/__openerp__.py
addons/account_bank_statement_import/account_import_tip_data.xml [new file with mode: 0644]

index 42cb8c8..76e4991 100644 (file)
@@ -112,6 +112,7 @@ for a particular financial year and for preparation of vouchers there is a modul
         'edi/invoice_action_data.xml',
         'account_bank_view.xml',
         'res_config_view.xml',
+        'account_tip_data.xml',
         'account_pre_install.yml',
         'views/report_vat.xml',
         'views/report_invoice.xml',
diff --git a/addons/account/account_tip_data.xml b/addons/account/account_tip_data.xml
new file mode 100644 (file)
index 0000000..bb75053
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record model="web.tip" id="account_tip_1">
+            <field name="title"><![CDATA[<b>Reconciliation on bank statement</b>]]></field>
+            <field name="description">Click here to automatically reconcile your bank statements with the related entries. Do it later by clicking on "Reconcile Bank Statement" under periodical processing menu.</field>
+            <field name="action_id" ref="account.action_bank_statement_tree"/>
+            <field name="model">account.bank.statement</field>
+            <field name="type">form</field>
+            <field name="mode">form</field>
+            <field name="trigger_selector">header button span:contains("Reconcile"):visible</field>
+            <field name="highlight_selector">header button:nth-child(1)</field>
+            <field name="placement">bottom</field>
+        </record>
+
+        <record model="web.tip" id="account_tip_2">
+            <field name="title"><![CDATA[<b>Generate PDF file</b>]]></field>
+            <field name="description">Click here to generate a PDF files of your financial reports (like Balance Sheet, Profit <![CDATA[&amp;]]> Loss, Ledgers, etc...)</field>
+            <field name="action_id" ref="account.action_bank_statement_tree"/>
+            <field name="model">account.bank.statement</field>
+            <field name="type">form</field>
+            <field name="mode">form</field>
+            <field name="trigger_selector">header button span:contains("Close"):visible</field>
+            <field name="highlight_selector">span.oe_menu_text:contains('Legal Reports')</field>
+            <field name="placement">right</field>
+        </record>
+    </data>
+</openerp>
\ No newline at end of file
index 6ac599c..b0f535e 100644 (file)
@@ -8,6 +8,7 @@
     'description' : """Generic Wizard to Import Bank Statements. Includes the import of files in .OFX format""",
     'data' : [
         'account_bank_statement_import_view.xml',
+        'account_import_tip_data.xml'
     ],
     'demo': [
         'demo/fiscalyear_period.xml',
diff --git a/addons/account_bank_statement_import/account_import_tip_data.xml b/addons/account_bank_statement_import/account_import_tip_data.xml
new file mode 100644 (file)
index 0000000..c1652c9
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record model="web.tip" id="account_import_tip_1">
+            <field name="title"><![CDATA[<b>Import Statement</b>]]></field>
+            <field name="description">Click here to import your electronic bank statements. This will import of all movements in and out across all your accounts.</field>
+            <field name="action_id" ref="account.action_invoice_tree1"/>
+            <field name="model">account.invoice</field>
+            <field name="mode">form</field>
+            <field name="trigger_selector">.oe_form_buttons_view:visible, header > button.oe_button:nth-child(8):not(.oe_form_invisible)</field>
+            <field name="highlight_selector">span.oe_menu_text:contains('Import Bank Statements')</field>
+            <field name="placement">right</field>
+        </record>
+    </data>
+</openerp>
\ No newline at end of file