You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							56 lines
						
					
					
						
							2.8 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							56 lines
						
					
					
						
							2.8 KiB
						
					
					
				| <?xml version="1.0" encoding="UTF-8" ?> | |
| <odoo> | |
|     <!--        Form view of invoice approval model--> | |
|     <record id="invoice_approval_view_form" model="ir.ui.view"> | |
|         <field name="name">invoice.approval.view.form</field> | |
|         <field name="model">invoice.approval</field> | |
|         <field name="arch" type="xml"> | |
|             <form class="oe_form_configuration"> | |
|                 <sheet> | |
|                     <div class="oe_title oe_read_only"> | |
|                         <h1> | |
|                             <field name="name"/> | |
|                         </h1> | |
|                     </div> | |
|                     <group> | |
|                         <group string="Customer Configuration"> | |
|                             <field name="approve_customer_invoice"/> | |
|                             <field name="invoice_approver_ids" | |
|                                    widget="many2many_tags" | |
|                                    invisible="approve_customer_invoice == False" | |
|                                    required="approve_customer_invoice == True"/> | |
|                             <field name="approve_customer_credit"/> | |
|                             <field name="cust_credit_approver_ids" | |
|                                    widget="many2many_tags" | |
|                                    invisible="approve_customer_credit == False" | |
|                                    required="approve_customer_credit == True"/> | |
|                         </group> | |
|                         <group string="Vendor Configuration"> | |
|                             <field name="approve_vendor_bill"/> | |
|                             <field name="bill_approver_ids" | |
|                                    widget="many2many_tags" | |
|                                    invisible="approve_vendor_bill == False" | |
|                                    required="approve_vendor_bill == True"/> | |
|                             <field name="approve_vendor_credit"/> | |
|                             <field name="vend_credit_approver_ids" | |
|                                    widget="many2many_tags" | |
|                                    invisible="approve_vendor_credit == False" | |
|                                    required="approve_vendor_credit == True"/> | |
|                         </group> | |
|                     </group> | |
|                 </sheet> | |
|                 <chatter/> | |
|             </form> | |
|         </field> | |
|     </record> | |
|     <!--Action for invoice approval model--> | |
|     <record id="invoice_approval_action" model="ir.actions.act_window"> | |
|         <field name="name">Invoice Multi Approval</field> | |
|         <field name="type">ir.actions.act_window</field> | |
|         <field name="res_model">invoice.approval</field> | |
|         <field name="res_id" | |
|                ref="invoice_multi_approval.default_invoice_multi_approval_config"/> | |
|         <field name="view_mode">form</field> | |
|         <field name="target">inline</field> | |
|     </record> | |
| </odoo>
 | |
| 
 |