22 lines
		
	
	
		
			711 B
		
	
	
	
		
			XML
		
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			711 B
		
	
	
	
		
			XML
		
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!--
 | |
|   Copyright 2016-2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
 | |
|   License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
 | |
| -->
 | |
| 
 | |
| <odoo>
 | |
| 
 | |
| <record id="invoice_form" model="ir.ui.view">
 | |
|     <field name="name">account_invoice_ubl.customer.invoice.form</field>
 | |
|     <field name="model">account.invoice</field>
 | |
|     <field name="inherit_id" ref="account.invoice_form"/>
 | |
|     <field name="arch" type="xml">
 | |
|         <button name="action_invoice_draft" position="before">
 | |
|             <button type="object" name="attach_ubl_xml_file_button"
 | |
|                 string="Generate UBL XML File" states="open,paid"/>
 | |
|         </button>
 | |
|     </field>
 | |
| </record>
 | |
| 
 | |
| </odoo>
 |