[VIEW] +button to sent invoices by email although they are paid
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Mon, 31 Aug 2015 09:12:59 +0000 (11:12 +0200)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Mon, 31 Aug 2015 09:12:59 +0000 (11:12 +0200)
         -analytic accounting customizations

i18n/fr.po
i18n/lhc_custom_oe.pot
view/account.xml

index 445da2b..ad9dd9b 100644 (file)
@@ -5,46 +5,16 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: OpenERP Server 6.0.4\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2014-10-03 08:49+0000\n"
-"PO-Revision-Date: 2014-10-03 10:51+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-08-31 11:11+0200\n"
+"PO-Revision-Date: 2015-08-31 11:12+0200\n"
 "Last-Translator: Ludovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>\n"
 "Language-Team: \n"
+"Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 1.5.4\n"
-
-#. module: lhc_custom_oe
-#: view:account.invoice:0
-msgid "Customer"
-msgstr "Client"
-
-#. module: lhc_custom_oe
-#: model:ir.actions.act_window,name:lhc_custom_oe.action_wiki_bequille
-msgid "Bequille Groups Wiki Pages"
-msgstr "Pages Wiki du groupe Béquille"
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_address_form
-msgid "Addresses"
-msgstr "Adresses"
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_contact_form
-msgid "Contacts"
-msgstr "Contacts"
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book_partner
-msgid "Partners"
-msgstr "Partenaires"
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_res_partner
-msgid "Address book"
-msgstr "Annuaire"
+"X-Generator: Poedit 1.8.3\n"
 
 #. module: lhc_custom_oe
 #: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_admin
@@ -68,9 +38,35 @@ msgid "Ateliers membres (en attente, facturés, payant ou libre)"
 msgstr "Ateliers membres (en attente, facturés, payant ou libre)"
 
 #. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_rg
-msgid "Béquille"
-msgstr "Béquille"
+#: view:account.invoice:0
+msgid "Sent by Email"
+msgstr "Envoyer  par courriel"
+
+#. module: lhc_custom_oe
+#: model:res.groups,name:lhc_custom_oe.group_ca
+msgid "Administration council members"
+msgstr "Membres du conseil d'administration"
+
+#~ msgid "Customer"
+#~ msgstr "Client"
+
+#~ msgid "Bequille Groups Wiki Pages"
+#~ msgstr "Pages Wiki du groupe Béquille"
+
+#~ msgid "Addresses"
+#~ msgstr "Adresses"
+
+#~ msgid "Contacts"
+#~ msgstr "Contacts"
+
+#~ msgid "Partners"
+#~ msgstr "Partenaires"
+
+#~ msgid "Address book"
+#~ msgstr "Annuaire"
+
+#~ msgid "Béquille"
+#~ msgstr "Béquille"
 
 #~ msgid "Partenaires"
 #~ msgstr "Partenaires"
index 8dd2ea8..8d8f92c 100644 (file)
@@ -4,10 +4,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.4\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2014-10-03 08:49+0000\n"
-"PO-Revision-Date: 2014-10-03 08:49+0000\n"
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-08-31 09:10+0000\n"
+"PO-Revision-Date: 2015-08-31 09:10+0000\n"
 "Last-Translator: <>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -15,37 +15,6 @@ msgstr ""
 "Content-Transfer-Encoding: \n"
 "Plural-Forms: \n"
 
-#. module: lhc_custom_oe
-#: view:account.invoice:0
-msgid "Customer"
-msgstr ""
-
-#. module: lhc_custom_oe
-#: model:ir.actions.act_window,name:lhc_custom_oe.action_wiki_bequille
-msgid "Bequille Groups Wiki Pages"
-msgstr ""
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_address_form
-msgid "Addresses"
-msgstr ""
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_partner_contact_form
-msgid "Contacts"
-msgstr ""
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_address_book_partner
-msgid "Partners"
-msgstr ""
-
-#. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_res_partner
-msgid "Address book"
-msgstr ""
-
 #. module: lhc_custom_oe
 #: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_admin
 #: model:ir.filters,name:lhc_custom_oe.bikecoop_expired_or_non_members_baptiste_guyomarch
@@ -68,7 +37,12 @@ msgid "Ateliers membres (en attente, facturés, payant ou libre)"
 msgstr ""
 
 #. module: lhc_custom_oe
-#: model:ir.ui.menu,name:lhc_custom_oe.menu_rg
-msgid "Béquille"
+#: view:account.invoice:0
+msgid "Sent by Email"
+msgstr ""
+
+#. module: lhc_custom_oe
+#: model:res.groups,name:lhc_custom_oe.group_ca
+msgid "Administration council members"
 msgstr ""
 
index 926c86d..afb6032 100644 (file)
@@ -1,23 +1,13 @@
 <openerp>
     <data>
-        <record id="view_account_analytic_account_form" model="ir.ui.view">
-            <field name="name">account.analytic.account.form</field>
-            <field name="model">account.analytic.account</field>
-            <field name="inherit_id" ref="account.view_account_analytic_account_form"/>
+        <record id="view_invoice_form" model="ir.ui.view">
+            <field name="name">account.invoice.form</field>
+            <field name="model">account.invoice</field>
+            <field name="inherit_id" ref="account.invoice_form"/>
+            <field name="priority" eval="8"/>
             <field name="arch" type="xml">
-                <xpath expr="//field[@name='partner_id']" position="before">
-                    <field name="state"/>
-                    <newline/>
-                </xpath>
-            </field>
-        </record>
-        <record id="view_account_analytic_tree" model="ir.ui.view">
-            <field name="name">account.analytic.account.tree</field>
-            <field name="model">account.analytic.account</field>
-            <field name="inherit_id" ref="account.view_account_analytic_account_tree"/>
-            <field name="arch" type="xml">
-                <xpath expr="//field[@name='currency_id']" position="after">
-                    <field name="state"/>
+                <xpath expr="//button[@name='action_invoice_sent']" position="after">
+                    <button string="Sent by Email" icon="gtk-ok" type="object" name="action_invoice_sent" attrs="{'invisible': ['|', ('sent','=', True), ('state', '!=', 'paid')]}"/>
                 </xpath>
             </field>
         </record>