← Back to team overview

account-payment-team team mailing list archive

[Merge] lp:~mikel-martin/account-payment/group-by into lp:account-payment

 

mikel has proposed merging lp:~mikel-martin/account-payment/group-by into lp:account-payment.

Requested reviews:
  Account Payment (account-payment-team)

For more details, see:
https://code.launchpad.net/~mikel-martin/account-payment/group-by/+merge/134433

 [ADD] Group by filters to Accounting->payment->Invoice Payment
 [DEL] Remove old wizard
-- 
https://code.launchpad.net/~mikel-martin/account-payment/group-by/+merge/134433
Your team Account Payment is requested to review the proposed merge of lp:~mikel-martin/account-payment/group-by into lp:account-payment.
=== modified file 'account_payment_extension/payment_view.xml'
--- account_payment_extension/payment_view.xml	2012-11-01 21:49:33 +0000
+++ account_payment_extension/payment_view.xml	2012-11-15 10:42:53 +0000
@@ -393,7 +393,16 @@
                     <field name="payment_type" widget="selection"/>
                     <field name="partner_bank_id"/>
                     <field name="received_check"/>
-               </group>
+                </group>
+                <newline/>
+                <group expand="0" string="Group By...">
+                    <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
+                    <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
+                    <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
+                    <separator orientation="vertical"/>
+                    <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
+                    <filter string="Effective date" icon="terp-go-month" domain="[]" context="{'group_by':'date_maturity'}"/>
+                </group>
            </search>
         </field>
     </record>

=== removed file 'account_payment_extension/wizard/wizard_payment_order_view.xml'
--- account_payment_extension/wizard/wizard_payment_order_view.xml	2012-11-01 21:49:33 +0000
+++ account_payment_extension/wizard/wizard_payment_order_view.xml	1970-01-01 00:00:00 +0000
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
-    <data>
-
-    <!--
-    ===============================================================================================================
-        WIZAR.PAYMENT.ORDER
-    ===============================================================================================================
-     -->
-
-    <!-- FORM -->
-        <record model="ir.ui.view" id="wizard_payment_order_form_view">
-            <field name="name">wizard.payment.order.form.view</field>
-            <field name="model">wizard.payment.order</field>
-            <field name="type">form</field>
-            <field name="arch" type="xml">
-                <form string="Buscar Lineas de Pago">
-                    <group colspan="4" col="2">
-                        <field name="duedate" />
-                        <field name="amount" />
-                        <field name="show_refunds" />
-                    </group>
-                    <group colspan="4">
-                        <button name="cerrar" icon='gtk-no' string="Cancelar"/>
-                        <button name="search_entries" icon='gtk-ok' type="object" string="Buscar"/>
-                    </group>
-                </form>
-            </field>
-         </record>
-
-     <!-- ACCION -->
-        <record id="act_wizard_payment_order" model="ir.actions.act_window">
-            <field name="name">Seleccionar facturas a Pagar/Cobrar</field>
-            <field name="type">ir.actions.act_window</field>
-            <field name="res_model">wizard.payment.order</field>
-            <field name="view_type">form</field>
-            <field name="view_mode">form</field>
-            <field name="target">new</field>
-        </record>
-
-    </data>
-</openerp>


Follow ups