<commit_before><?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_4.0.xsd">
    
    <grid name="invoice-payment-grid" title="Payments" model="com.axelor.apps.account.db.InvoicePayment" orderBy="paymentDate">
	    <field name="paymentDate"/>
	    <field name="amount" aggregate="sum"/>
		<field name="currency" form-view="currency-form" grid-view="currency-grid"/>
    	<field name="paymentMode" form-view="payment-mode-form" grid-view="payment-mode-grid"/>
	    <field name="typeSelect"/>
    	<field name="move" form-view="move-form" grid-view="move-grid"/>
    	<field name="statusSelect"/>
   		<button name="cancel" icon="fa-times-circle" help="Cancel" onClick="action-invoice-payment-method-cancel" readonlyIf="statusSelect == 2"/>
	</grid>
    
	<form name="invoice-payment-form" title="Payment" model="com.axelor.apps.account.db.InvoicePayment" onNew="action-invoice-payment-record-new">
        <panel name="main" readonlyIf="statusSelect == 1">
			<field name="amount"/>
			<field name="currency" form-view="currency-form" grid-view="currency-grid"/>
   			<field name="paymentDate"/>
	    	<field name="paymentMode" form-view="payment-mode-form" grid-view="payment-mode-grid"/>
	 	</panel>
 		<panel showIf="id">
 		    <field name="move" form-view="move-form" grid-view="move-grid"/>
			<field name="statusSelect"/>
			<button name="cancel" icon="fa-times-circle" title="Cancel" onClick="action-advance-payment-method-cancel" readonlyIf="statusSelect == 2"/>
 		</panel>
	</form><commit_msg>RM6233 - fix cancel button issue on invoice payment form<commit_after><?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_4.0.xsd">
    
    <grid name="invoice-payment-grid" title="Payments" model="com.axelor.apps.account.db.InvoicePayment" orderBy="paymentDate">
	    <field name="paymentDate"/>
	    <field name="amount" aggregate="sum"/>
		<field name="currency" form-view="currency-form" grid-view="currency-grid"/>
    	<field name="paymentMode" form-view="payment-mode-form" grid-view="payment-mode-grid"/>
	    <field name="typeSelect"/>
    	<field name="move" form-view="move-form" grid-view="move-grid"/>
    	<field name="statusSelect"/>
   		<button name="cancel" icon="fa-times-circle" help="Cancel" onClick="action-invoice-payment-method-cancel" readonlyIf="statusSelect == 2"/>
	</grid>
    
	<form name="invoice-payment-form" title="Payment" model="com.axelor.apps.account.db.InvoicePayment" onNew="action-invoice-payment-record-new">
        <panel name="main" readonlyIf="statusSelect == 1">
			<field name="amount"/>
			<field name="currency" form-view="currency-form" grid-view="currency-grid"/>
   			<field name="paymentDate"/>
	    	<field name="paymentMode" form-view="payment-mode-form" grid-view="payment-mode-grid"/>
	 	</panel>
 		<panel showIf="id">
 		    <field name="move" form-view="move-form" grid-view="move-grid"/>
			<field name="statusSelect"/>
			<button name="cancel" icon="fa-times-circle" title="Cancel" onClick="action-invoice-payment-method-cancel" readonlyIf="statusSelect == 2"/>
 		</panel>
	</form>
{'fraction_non_alphanumeric': 0.19293245939013964, 'fraction_numerical': 0.008549444286121402, 'mean_word_length': 4.74468085106383, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 2, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4552619', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1148, 'n_words': 171}