[trunk/7.0] Asset category not visible on supplier invoice lines

Bug #1104038 reported by Antoine(OpenERP)
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

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... ?

Related branches

tags: added: profserv
tags: added: asset invoice
tags: added: 7.0
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
summary: - [7.0] Asset field not visible on invoice lines
+ [trunk/7.0] Asset field not visible on invoice lines
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rajesh Prajapati (OpenERP) (rpr-tinyerp) wrote : Re: [trunk/7.0] Asset field not visible on invoice lines

It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-1104038-rpr
Revision ID: <email address hidden>
Revision No: 8522

Thanks.
RPR

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Jānis (janisjanis) wrote :

v7
Tested on runbot instance 7-0-4260 (addons 8736)

Asset category field is missing for supplier invoice line (Accounting / Suppliers / Supplier Invoices - open or create new invoice).

Module account_asset is instaled and user (admin) has Financial Manager rights.

Changed in openobject-addons:
status: Fix Committed → In Progress
Revision history for this message
Jānis (janisjanis) wrote :

Problem is still actual.

tags: added: maintenance
Revision history for this message
Dharti Ratani(OpenERP) (dhr-openerp) wrote :

Hello,

For version 7.0 it has been fixed in the following branch : https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-592349-dhr with revision number: 9103 and revision id : <email address hidden>

Revision history for this message
Lorenzo Battistini (elbati) wrote :
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

Hello,
When we can enjoy this fix?

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

You can download the branch and used it otherwise download only the patch and apply it at your addons code.

Thank you!

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote : Re: [Bug 1104038] Re: [trunk/7.0] Asset field not visible on invoice lines

NO WAY Amit.

Please merge it.... for GOD sake.... +3 month to merge just 1 FIELD.

Do you know the time consuming for everybody that is dont have this field
merged already????

PLEASEEEEEEEEE----

BTW, this bg has been reported in MY OPW:.... it is really tired being care
of this kind of unimportant but vary useful things.

2013/6/6 Amit Parik (OpenERP) <email address hidden>

> Hello,
>
> You can download the branch and used it otherwise download only the
> patch and apply it at your addons code.
>
> Thank you!
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Project Group.
> https://bugs.launchpad.net/bugs/1104038
>
> Title:
> [trunk/7.0] Asset field not visible on invoice lines
>
> Status in OpenERP Addons (modules):
> In Progress
> Status in OpenERP Addons 7.0 series:
> Fix Committed
> Status in OpenERP Addons trunk series:
> In Progress
>
> 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
>

--
--------------------
Saludos Cordiales

Nhomar G. Hernandez M.
+58-414-4110269
Skype: nhomar00
Web-Blog: http://geronimo.com.ve
Servicios IT: http://vauxoo.com
Linux-Counter: 467724
Correos:
<email address hidden>
<email address hidden>
twitter @nhomar

Revision history for this message
Amit Parik (amit-parik) wrote : Re: [trunk/7.0] Asset field not visible on invoice lines

Hello Nhomar,

Please Calm down, You are right. Our core team will merge it soon.

Thank you!

@Core team : please review it asap.

no longer affects: openobject-addons/trunk
no longer affects: openobject-addons/7.0
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The fix has landed in addons 7.0 at revision 9208[1] and will be forward-ported to trunk soon.

Thanks for your patience!

[1] addons 7.0 rev.9208 revision-id: <email address hidden>

Changed in openobject-addons:
milestone: none → 7.0
status: In Progress → Fix Released
summary: - [trunk/7.0] Asset field not visible on invoice lines
+ [trunk/7.0] Asset category not visible on supplier invoice lines
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.