← Back to team overview

account-payment-team team mailing list archive

lp:~angelmoya/account-payment/fix-account_payment_extension-install into lp:account-payment

 

Angel Moya - Domatix has proposed merging lp:~angelmoya/account-payment/fix-account_payment_extension-install into lp:account-payment.

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

For more details, see:
https://code.launchpad.net/~angelmoya/account-payment/fix-account_payment_extension-install/+merge/135939

FIX error installing account_payment_extension

account_payment_extension.action_create_payment_extension_order not found
-- 
https://code.launchpad.net/~angelmoya/account-payment/fix-account_payment_extension-install/+merge/135939
Your team Account Payment is requested to review the proposed merge of lp:~angelmoya/account-payment/fix-account_payment_extension-install into lp:account-payment.
=== modified file 'account_payment_extension/wizard/account_payment_order_view.xml'
--- account_payment_extension/wizard/account_payment_order_view.xml	2012-11-01 21:49:33 +0000
+++ account_payment_extension/wizard/account_payment_order_view.xml	2012-11-23 16:08:22 +0000
@@ -1,25 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <openerp>
     <data>
-    <!-- FORM SEARCH-->
-
-    <record id="view_payment_order_form_ext1" model="ir.ui.view">
-        <field name="name">payment.order.form.ext1</field>
-        <field name="model">payment.order</field>
-        <field name="type">form</field>
-        <field name="inherit_id" ref="account_payment.view_payment_order_form"/>
-        <field name="arch" type="xml">
-            <button name="%(account_payment.action_create_payment_order)d" position="replace">
-                <field name="payment_type_name" invisible="1"/>
-                <field name="type"/>
-                <field name="create_account_moves"/>
-                <group colspan="2" col="1" attrs="{'invisible': [('create_account_moves', '=', 'bank-statement')]}">
-                    <field name="period_id" attrs="{'required': [('create_account_moves', '!=', 'bank-statement')]}"/>
-                </group>
-                <button colspan="2" name="%(action_create_payment_extension_order)d" string="Select invoices to pay/receive payment" type="action" attrs="{'invisible':[('state','=','done')]}" icon="gtk-find"/>
-            </button>
-        </field>
-    </record>
+    
 
 
         <record id="view_create_payment_extension_order" model="ir.ui.view">
@@ -52,6 +34,7 @@
             </field>
         </record>
 
+    
      <!-- ACCION -->
         <record id="action_create_payment_extension_order" model="ir.actions.act_window">
             <field name="name">Seleccionar facturas a Pagar/Cobrar</field>
@@ -62,5 +45,25 @@
             <field name="view_id" ref="view_create_payment_extension_order"/>
             <field name="target">new</field>
         </record>
+        
+    <!-- FORM SEARCH-->
+
+    <record id="view_payment_order_form_ext1" model="ir.ui.view">
+        <field name="name">payment.order.form.ext1</field>
+        <field name="model">payment.order</field>
+        <field name="type">form</field>
+        <field name="inherit_id" ref="account_payment.view_payment_order_form"/>
+        <field name="arch" type="xml">
+            <button name="%(account_payment.action_create_payment_order)d" position="replace">
+                <field name="payment_type_name" invisible="1"/>
+                <field name="type"/>
+                <field name="create_account_moves"/>
+                <group colspan="2" col="1" attrs="{'invisible': [('create_account_moves', '=', 'bank-statement')]}">
+                    <field name="period_id" attrs="{'required': [('create_account_moves', '!=', 'bank-statement')]}"/>
+                </group>
+                <button colspan="2" name="%(action_create_payment_extension_order)d" string="Select invoices to pay/receive payment" type="action" attrs="{'invisible':[('state','=','done')]}" icon="gtk-find"/>
+            </button>
+        </field>
+    </record>
     </data>
 </openerp>


Follow ups