<commit_before><?xml version="1.0" encoding="UTF-8"?>
<openerp>
  <data>
    <!--
==============================================
Real Estate Income Tax Statement per location
==============================================
-->
    <record model="ir.ui.view" id="chricar_location_income_tax_list">
      <field name="name">chricar.location.income.tax.list</field>
      <field name="model">location.income.tax</field>
      <field name="priority">1</field>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <tree string="Income Tax Details" editable="bottom">
          <field name="location_id" select="1"/>
          <field name="fiscalyear_id" select="1"/>
          <field name="account_id" select="1" domain="[('type', '!=', 'view')]" />
          <field name="amount" select="1" sum="Amount"/>
          <field name="note" select="1"/>
        </tree>
      </field>
    </record>
    <record id="location_income_tax_search" model="ir.ui.view">
      <field name="name">location.income.tax.search</field>
      <field name="model">location.income.tax</field>
      <field name="type">search</field>
      <field name="arch" type="xml">
        <search string="Search Fiscalyear">
          <group>
            <field name="location_id"/>
            <field name="fiscalyear_id"/>
            <field name="account_id" domain="[('type', '!=', 'view')]"/>
            <field name="note"/>
          </group>
          <newline/>
          <group expand="1" string="Group By...">
            <filter
              context="{'group_by': 'location_id'}"
              icon="terp-stock_effects-object-colorize"
              string="Location"/>
            <filter
              context="{'group_by': 'fiscalyear_id'}"
              icon="terp-stock_effects-object-colorize"
              string="Fiscalyear"/>
            <filter
              context="{'group_by': 'account_id'}"
              icon="terp-stock_effects-object-colorize"
              string="Account"/>
          </group>
        </search>
      </field>
    </record>
    <record model="ir.actions.act_window" id="chricar_location_income_tax">
      <field name="name">Income Tax Details</field>
      <field name="res_model">location.income.tax</field>
      <field name="view_type">form</field>
      <field name="view_mode">tree,form</field>
      <field name="view_id" ref="chricar_location_income_tax_list"/>
    </record>
    <record model="ir.actions.act_window.view" id="chricar_location_income_tax_view">
      <field name="sequence" eval="1"/>
      <field name="view_mode">tree</field>
      <field name="view_id" ref="chricar_location_income_tax_list"/>
      <field name="act_window_id" ref="chricar_location_income_tax"/>
    </record>
    <menuitem
      action="chricar_location_income_tax"
      id="menu_action_location_income_tax"
      parent="chricar_top.menu_chricar_real_estate"
      sequence="18"/>
  </data>
</openerp><commit_msg>[REF] link to tax data<commit_after><?xml version="1.0" encoding="UTF-8"?>
<openerp>
  <data>
    <!--
==============================================
Real Estate Income Tax Statement per location
==============================================
-->
    <record model="ir.ui.view" id="chricar_location_income_tax_list">
      <field name="name">chricar.location.income.tax.list</field>
      <field name="model">location.income.tax</field>
      <field name="priority">1</field>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <tree string="Income Tax Details" editable="bottom">
          <field name="location_id" select="1"/>
          <field name="fiscalyear_id" select="1"/>
          <field name="account_id" select="1" domain="[('type', '!=', 'view')]" />
          <field name="amount" select="1" sum="Amount"/>
          <field name="note" select="1"/>
        </tree>
      </field>
    </record>
    <record id="location_income_tax_search" model="ir.ui.view">
      <field name="name">location.income.tax.search</field>
      <field name="model">location.income.tax</field>
      <field name="type">search</field>
      <field name="arch" type="xml">
        <search string="Search Fiscalyear">
          <group>
            <field name="location_id"/>
            <field name="fiscalyear_id"/>
            <field name="account_id" domain="[('type', '!=', 'view')]"/>
            <field name="note"/>
          </group>
          <newline/>
          <group expand="1" string="Group By...">
            <filter
              context="{'group_by': 'location_id'}"
              icon="terp-stock_effects-object-colorize"
              string="Location"/>
            <filter
              context="{'group_by': 'fiscalyear_id'}"
              icon="terp-stock_effects-object-colorize"
              string="Fiscalyear"/>
            <filter
              context="{'group_by': 'account_id'}"
              icon="terp-stock_effects-object-colorize"
              string="Account"/>
          </group>
        </search>
      </field>
    </record>
    <record model="ir.actions.act_window" id="chricar_location_income_tax">
      <field name="name">Income Tax Details</field>
      <field name="res_model">location.income.tax</field>
      <field name="view_type">form</field>
      <field name="view_mode">tree,form</field>
      <field name="view_id" ref="chricar_location_income_tax_list"/>
    </record>
    <record model="ir.actions.act_window.view" id="chricar_location_income_tax_view">
      <field name="sequence" eval="1"/>
      <field name="view_mode">tree</field>
      <field name="view_id" ref="chricar_location_income_tax_list"/>
      <field name="act_window_id" ref="chricar_location_income_tax"/>
    </record>
    <menuitem
      action="chricar_location_income_tax"
      id="menu_action_location_income_tax"
      parent="chricar_top.menu_chricar_real_estate"
      sequence="18"/>
      
    <act_window
      domain="[('location_id','=',active_id)]"
      id="act_location_income_tax"
      name="Tax Declarations"
      res_model="location.income.tax"
      src_model="stock.location"/>
      
  </data>
</openerp>
{'fraction_non_alphanumeric': 0.19269644603847408, 'fraction_numerical': 0.004238669709814151, 'mean_word_length': 2.868221941992434, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 2, '>': 140, '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': '918853', 'n_tokens_mistral': 1914, 'n_tokens_neox': 1862, 'n_words': 294}