hunk.code_window: {
       'name' : 'Analytic Accounting',
       'version': '1.1',
       'category': 'Hidden/Dependency',
       'depends' : ['base', 'decimal_precision', 'mail'],
       'description': """
   Module for defining analytic accounting object.
   ===============================================
   In Odoo, analytic accounts are linked to general accounts but are treated
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:     'depends' : ['base', 'decimal_precision', 'mail', 'uom'],
  
hunk.file_path: addons/analytic/__manifest__.py
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <odoo>
      <data>
          <record id="view_account_analytic_line_form_inherit_account" model="ir.ui.view">
              <field name="name">account.analytic.line.form.inherit.account</field>
              <field name="model">account.analytic.line</field>
              <field name="inherit_id" ref="analytic.view_account_analytic_line_form"/>
              <field name="arch" type="xml">
                  <data>
                      <xpath expr="//field[@name='tag_ids']" position="after">
                          <field name="ref"/>
                          <field name="partner_id"/>
                      </xpath>
                      <xpath expr="//field[@name='amount']" position="after">
                          <field name="product_id"/>
                          <field name="product_uom_id" class="oe_inline"/>
                      </xpath>
                      <group name="amount" position="after">
                          <group/> <!-- put Accounting group under Amount group -->
                          <group name="accounting" string="Accounting">
                              <field name="general_account_id"/>
                              <field name="move_id"/>
                          </group>
                      </group>
                  </data>
              </field>
          </record>
          <record id="view_account_analytic_line_tree_inherit_account" model="ir.ui.view">
              <field name="name">account.analytic.line.tree.inherit.account</field>
              <field name="model">account.analytic.line</field>
              <field name="inherit_id" ref="analytic.view_account_analytic_line_tree"/>
              <field name="arch" type="xml">
                  <data>
                      <xpath expr="//field[@name='date']" position="after">
                          <field name="ref" invisible="context.get('to_invoice', False)"/>
                      </xpath>
                  </data>
              </field>
          </record>
          <record id="view_account_analytic_line_filter_inherit_account" model="ir.ui.view">
              <field name="name">account.analytic.line.select.inherit.account</field>
              <field name="model">account.analytic.line</field>
              <field name="inherit_id" ref="analytic.view_account_analytic_line_filter"/>
              <field name="arch" type="xml">
                  <data>
                      <xpath expr="//field[@name='date']" position="after">
                          <field name="product_id"/>
                          <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
                      </xpath>
                      <xpath expr="//group[@name='groupby']" position="after">
                          <filter string="Financial Account" name="financialaccount" context="{'group_by':'general_account_id'}"/>
                          <filter string="Product" name="product" context="{'group_by':'product_id'}"/>
                          <filter string="Partner" name="partner" context="{'group_by':'partner_id'}"/>
                      </xpath>
                  </data>
              </field>
          </record>
  
          <record id="view_account_analytic_line_pivot" model="ir.ui.view">
              <field name="name">account.analytic.line.pivot</field>
              <field name="model">account.analytic.line</field>
              <field name="inherit_id" ref="analytic.view_account_analytic_line_pivot"/>
              <field name="arch" type="xml">
                  <field name="account_id" position="after">
                      <field name="partner_id" type="row"/>
                  </field>
              </field>
          </record>
  
          <menuitem
              name="Analytic Entries"
              parent="menu_finance_entries_accounting_entries"
              action="analytic.account_analytic_line_action_entries"
              id="menu_action_analytic_lines_tree"
              sequence="35"
              groups="analytic.group_analytic_accounting"/>
          <menuitem action="analytic.action_account_analytic_account_form" id="account_analytic_def_account"
              parent="menu_analytic_accounting"
              groups="analytic.group_analytic_accounting" sequence="0"/>
  
          <menuitem
              id="account_analytic_tag_menu"
              name="Analytic Tags"
              parent="menu_analytic_accounting"
              action="analytic.account_analytic_tag_action"
              groups="analytic.group_analytic_tags"/>
  
          <menuitem
              id="account_analytic_group_menu"
              name="Analytic Account Groups"
              parent="menu_analytic_accounting"
              action="analytic.account_analytic_group_action"
              groups="analytic.group_analytic_accounting"/>
  
      </data>
  </odoo>
  