<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
    	<record id="view_account_statement_from_invoice" model="ir.ui.view">
            <field name="name">account.statement.from.invoice.form</field>
            <field name="model">account.statement.from.invoice</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Import Invoices in Statement">
                	<group colspan="4" >
						<field name="date"/>
						<newline/>
	                	<field name="journal_ids"  domain="[('type','in',['sale','purchase','cash'])]"/>
                	</group>
                    <group colspan="4" col="6">
                       	<label string ="" colspan="2"/>
                    	<button icon="gtk-cancel" special="cancel" string="Cancel"/>
                    	<button icon="terp-gtk-go-back-rtl" string="Go" name="search_invoices" type="object"/>
                   </group>
               </form>
            </field>
        </record>

		<record id="action_view_account_statement_from_invoice" model="ir.actions.act_window">
        	<field name="name">Import Invoices in Statement</field>
            <field name="res_model">account.statement.from.invoice</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
           	<field name="view_id" ref="view_account_statement_from_invoice"/>
           	<field name="target">new</field>
        </record>

        <record id="view_account_statement_from_invoice_lines" model="ir.ui.view">
            <field name="name">account.statement.from.invoice.lines.form</field>
            <field name="model">account.statement.from.invoice.lines</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Import Entries">
                	<group colspan="4" >
	                	<field name="line_ids" />
                	</group>
                    <group colspan="4" col="6">
                       	<label string ="" colspan="2"/>
                    	<button icon="gtk-cancel" special="cancel" string="Cancel"/>
                    	<button icon="gtk-execute" string="Ok" name="populate_statement" type="object"/>
                   </group>
               </form>
            </field>
        </record>
		<record id="action_view_account_statement_from_invoice_lines" model="ir.actions.act_window">
        	<field name="name">Import Entries</field>
            <field name="res_model">account.statement.from.invoice.lines</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
           	<field name="view_id" ref="view_account_statement_from_invoice_lines"/>
           	<field name="target">new</field>
        </record>


	</data>
</openerp><commit_msg>[FIX] account: Bank statements from invoices view<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
    	<record id="view_account_statement_from_invoice" model="ir.ui.view">
            <field name="name">account.statement.from.invoice.form</field>
            <field name="model">account.statement.from.invoice</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Import Invoices in Statement">
                	<group colspan="4" >
						<field name="date"/>
						<newline/>
	                	<field name="journal_ids"  domain="[('type','in',['sale','purchase','cash'])]"/>
                	</group>
                    <group colspan="4" col="6">
                       	<label string ="" colspan="2"/>
                    	<button icon="gtk-cancel" special="cancel" string="Cancel"/>
                    	<button icon="terp-gtk-go-back-rtl" string="Go" name="search_invoices" type="object"/>
                   </group>
               </form>
            </field>
        </record>

		<record id="action_view_account_statement_from_invoice" model="ir.actions.act_window">
        	<field name="name">Import Invoices in Statement</field>
            <field name="res_model">account.statement.from.invoice</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
           	<field name="view_id" ref="view_account_statement_from_invoice"/>
           	<field name="target">new</field>
        </record>

        <record id="view_account_statement_from_invoice_lines" model="ir.ui.view">
            <field name="name">account.statement.from.invoice.lines.form</field>
            <field name="model">account.statement.from.invoice.lines</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Import Entries">
                	<group colspan="4" >
	                	<field name="line_ids" />
                	</group>
                    <group colspan="4" col="6">
                       	<label string ="" colspan="2"/>
                    	<button icon="gtk-cancel" special="cancel" string="Cancel"/>
                    	<button icon="gtk-execute" string="Ok" name="populate_statement" type="object"/>
                   </group>
               </form>
            </field>
        </record>
		<record id="action_view_account_statement_from_invoice_lines" model="ir.actions.act_window">
        	<field name="name">Import Entries</field>
            <field name="res_model">account.statement.from.invoice.lines</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
           	<field name="view_id" ref="view_account_statement_from_invoice_lines"/>
           	<field name="target">new</field>
           	<field name="context">{'statement_id': active_id}</field>
        </record>


	</data>
</openerp>
{'fraction_non_alphanumeric': 0.15513126491646778, 'fraction_numerical': 0.0037504261847937266, 'mean_word_length': 2.1492216854535697, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '979513', 'n_tokens_mistral': 1735, 'n_tokens_neox': 1646, 'n_words': 266}