← Back to team overview

openerp-india team mailing list archive

[Bug 1104038] [NEW] [7.0] Asset field not visible on invoice lines

 

Public bug reported:

Take any runbot instance with "all" modules.
0. Configure your admin user so that he has manager rights in accounting
1. Go on a supplier draft invoice
2. Have a look at the lines: not possible to define elements as assets, although:
      a) The module is installed
      b) I'have all the access rights


Possible reason:  (I don't know, just asking):

<record model="ir.ui.view" id="view_account_invoice_asset_form">
            <field name="name">account.invoice.line.form</field>
            <field name="model">account.invoice.line</field>
            <field name="inherit_id" ref="account.view_invoice_line_form"/>
            <field name="arch" type="xml">
                <field name="account_id" position="after">
                    <field name="asset_category_id"/>
                </field>
            </field>
        </record>

there's only a form definition adding the field needed... ?

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 7.0 asset invoice profserv

** Tags added: profserv

** Tags added: asset invoice

** Tags added: 7.0

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1104038

Title:
  [7.0] Asset field not visible on invoice lines

Status in OpenERP Addons (modules):
  New

Bug description:
  Take any runbot instance with "all" modules.
  0. Configure your admin user so that he has manager rights in accounting
  1. Go on a supplier draft invoice
  2. Have a look at the lines: not possible to define elements as assets, although:
        a) The module is installed
        b) I'have all the access rights

  
  Possible reason:  (I don't know, just asking):

  <record model="ir.ui.view" id="view_account_invoice_asset_form">
              <field name="name">account.invoice.line.form</field>
              <field name="model">account.invoice.line</field>
              <field name="inherit_id" ref="account.view_invoice_line_form"/>
              <field name="arch" type="xml">
                  <field name="account_id" position="after">
                      <field name="asset_category_id"/>
                  </field>
              </field>
          </record>

  there's only a form definition adding the field needed... ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1104038/+subscriptions


Follow ups

References