Sales user "Create Final Invoice" fails when Multiple Analytic Plan Installed

Bug #868084 reported by Mjes
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

1) Steps to reproduce the issue you have observed
Create new database, install multiple analytic plan, as sales user create Sales Order, and click on "Create Final Invoice"
2) The result you observed
A pop up complaining permissions.
You can not read this document (account.analytic.default) ! Be sure your user belongs to one of these groups: Accounting / Accountant, Accounting / Manager, Accounting / Invoice

3) The result you expected
The sales user should be able to create "Final Invoice" then to be validated by accounting groups

4) The platform your are using
Ubuntu

5) The OpenERP version you are using (e.g. 5.0.15, 6.0-dev), if possible including the specific revision (e.g. rev. 2824) if you take the sources directly from Bazaar
OpenERP Web
Version 6.0.3

You can follow the discussion in
http://www.openerp.com/forum/topic27863.html

Related branches

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

I have checked this issue with trunk . For Demo User I haven't give account groups (Ex Accounting / Accountant, Accounting / Manager, Accounting / Invoice) after that create sale order and it showing me button "Create Final Invoice". The Problem is that If don't give any account groups to user then the button "Create Final Invoice " Should not be display.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
jlinkels (jlinkels) wrote :

> The Problem is that If don't give any account groups to user then the button "Create Final Invoice " Should not be display.

I have confirmed this bug as well.

But IMHO the problem is not that the button Create Final Invoice is shown.
Create Final invoice should always be visible for a user belonging to the sales group.

The problem is not that innocent.
As soon as "multiple analytic plan" is installed (just installed)
it is not possible anymore to create an invoice from an ordinary sale.
Even if products are used which have nothing to do with multiple analytic plan.
This seriously breaks the system.

jlinkels

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Mjes,

Thanks for reporting, the solution of this bug will be merged in main addons soon.
Following are the Revision ID and Number of the proposed branch:

Revision ID : <email address hidden>
Revision Number : 5486

Thanks & Regards,
Devnani Bharat R.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Mjes,

The solution of this bug is fixed in lp:~openerp-dev/openobject-addons/trunk-bug-868084-bde branch with above mentioned Revision ID and Number in comment #3.

Thanks & Regards,
Devnani Bharat R.

Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

 Merged into lp:openobject-addons at revision 5557

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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