← Back to team overview

clearcorp team mailing list archive

lp:~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_account_voucher_check_bcr into lp:openerp-costa-rica/6.1

 

Ronald Rubi has proposed merging lp:~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_account_voucher_check_bcr into lp:openerp-costa-rica/6.1.

Requested reviews:
  CLEARCORP drivers (clearcorp-drivers)

For more details, see:
https://code.launchpad.net/~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_account_voucher_check_bcr/+merge/152720

Move view of account.invoice to openerp-ccorp-addons, module rent
-- 
https://code.launchpad.net/~rr.clearcorp/openerp-costa-rica/6.1-l10n_cr_account_voucher_check_bcr/+merge/152720
Your team CLEARCORP development team is subscribed to branch lp:openerp-costa-rica/6.1.
=== modified file 'l10n_cr_account_voucher_check_bcr/l10n_cr_account_voucher_check_bcr_view.xml'
--- l10n_cr_account_voucher_check_bcr/l10n_cr_account_voucher_check_bcr_view.xml	2012-06-08 17:19:18 +0000
+++ l10n_cr_account_voucher_check_bcr/l10n_cr_account_voucher_check_bcr_view.xml	2013-03-11 16:34:23 +0000
@@ -1,83 +1,33 @@
 <?xml version = "1.0" encoding = "UTF-8"?>
 <openerp>
-	<data>
-
-		<!--
-		======================================
-					accounts
-		======================================
-		
-		
-		<record model="ir.ui.view" id="view_check_form">
-			<field name="name">account.voucher.check.form</field>
-			<field name="model">account.voucher</field>
-			<field name="type">form</field>
-			<field name="inherit_id" ref="account_voucher.view_vendor_payment_form"/>
-				<field name="arch" type="xml">
-					<data>
-						<field name = "company_id" position = "after">
-							<field name = "amount_text" required="1"/>
-						</field>
-					</data>
-				</field>
-		</record>
--->
-			<record id="action_check_payment" model="ir.actions.act_window">
-				<field name="name">Check Payment</field>
-				<field name="res_model">account.voucher</field>
-				<field name="view_type">form</field>
-				<field name="domain">[('journal_id.type', 'in', ['bank']), ('type','=','payment')]</field>
-				<field name="context">{'type':'payment'}</field>
-				<field name="view_id" eval="False"/>
-				<field name="search_view_id" ref="account_voucher.view_voucher_filter_vendor_pay"/>
-				<field name="target">current</field>
-				<field name="help">The Check payment form allows you to track the payment by check you do to your suppliers. When you select a supplier, the payment method and an amount for the payment, OpenERP will propose to reconcile your payment with the open supplier invoices or bills.</field>
-			</record>
-			<record id="action_check_payment_tree" model="ir.actions.act_window.view">
-				<field eval="1" name="sequence"/>
-				<field name="view_mode">tree</field>
-				<field name="act_window_id" ref="action_check_payment"/>
-			</record>
-			<record id="action_check_payment_form" model="ir.actions.act_window.view">
-				<field eval="2" name="sequence"/>
-				<field name="view_mode">form</field>
-				<field name="view_id" ref="account_voucher.view_vendor_payment_form"/>
-				<field name="act_window_id" ref="action_check_payment"/>
-			</record>
-            
-            <record model = "ir.ui.view" id = "rent_invoice_form_view">
-                <field name = "name">check.invoice.supplier.form</field>
-                <field name = "model">account.invoice</field>
-                <field name = "type">form</field>
-                <field name = "inherit_id" ref = "account.invoice_supplier_form"/>
-                <field name = "arch" type="xml">
-                    <data>
-                        <field name="date_invoice" position="before">
-                            <field name = "name" />
-                        </field>
-                    </data>
-                </field>
-            </record>
-            
-<!--
-            <record model = "ir.ui.view" id = "rent_invoice_tree_view">
-                <field name = "name">check.invoice.supplier.tree</field>
-                <field name = "model">account.invoice</field>
-                <field name = "type">tree</field>
-                <field name = "inherit_id" ref = "account.invoice_tree"/>
-                <field name = "arch" type="xml">
-                    <data>
-                        <field name="company_id" position="after">
-                            <field name = "name" />
-                        </field>
-                    </data>
-                </field>
-            </record>
--->
-            
-
+    <data>
+        
+        <record id="action_check_payment" model="ir.actions.act_window">
+            <field name="name">Check Payment</field>
+            <field name="res_model">account.voucher</field>
+            <field name="view_type">form</field>
+            <field name="domain">[('journal_id.type', 'in', ['bank']), ('type','=','payment')]</field>
+            <field name="context">{'type':'payment'}</field>
+            <field name="view_id" eval="False"/>
+            <field name="search_view_id" ref="account_voucher.view_voucher_filter_vendor_pay"/>
+            <field name="target">current</field>
+            <field name="help">The Check payment form allows you to track the payment by check you do to your suppliers. When you select a supplier, the payment method and an amount for the payment, OpenERP will propose to reconcile your payment with the open supplier invoices or bills.</field>
+        </record>
+        <record id="action_check_payment_tree" model="ir.actions.act_window.view">
+            <field eval="1" name="sequence"/>
+            <field name="view_mode">tree</field>
+            <field name="act_window_id" ref="action_check_payment"/>
+        </record>
+        <record id="action_check_payment_form" model="ir.actions.act_window.view">
+            <field eval="2" name="sequence"/>
+            <field name="view_mode">form</field>
+            <field name="view_id" ref="account_voucher.view_vendor_payment_form"/>
+            <field name="act_window_id" ref="action_check_payment"/>
+        </record>
+            
         <menuitem action="action_check_payment" icon="STOCK_JUSTIFY_FILL" sequence="12"
             id="menu_action_vendor_payment"  parent="account.menu_finance_payables"/>
-	</data>
+            
+    </data>
 </openerp>
 


Follow ups