<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">

	<action-method name="action-invoice-business-project-method-print-annex">
		<call class="com.axelor.apps.businessproject.web.InvoiceController" method="exportAnnex"/>
	</action-method>
	
	<action-method name="action-invoice-business-project-method-update-lines">
		<call class="com.axelor.apps.businessproject.web.InvoiceController" method="updateLines"/>
	</action-method>

    <action-record name="action-invoice-record-printing-fields" model="com.axelor.apps.account.db.Invoice">
        <field name="displayTimesheetOnPrinting" expr="eval: __user__.activeCompany?.accountConfig?.displayTimesheetOnPrinting"/>
        <field name="displayExpenseOnPrinting" expr="eval: __user__.activeCompany?.accountConfig?.displayExpenseOnPrinting"/>
    </action-record>

</object-views>