[PS] Not possible to invoice an outgoing packing from the form view

Bug #689675 reported by Harmel Delphine (OpenERP)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
6.0
Fix Released
Low
OpenERP Publisher's Warranty Team
Trunk
Fix Released
Medium
OpenERP R&D Addons Team 2

Bug Description

* Warehouse > Warehouse Management > Outgoing deliveries
* From the list view you can create the invoice for an outgoing delivery by clicking on the "Action" button and selecting "Create Invoice"

=> this action is not available as a wizard from the form view of an outgoing delivery

Tags: profserv

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Changed in openobject-addons:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hello Harmel,
The action of "Create Invoice" is not available as a wizard as we have multi=True,
And this wizard is available by a button "Create Invoice" in "Done" state of picking in bottom right,
Also you can use this wizard on form view the same way as in list view,
Hope this helps,
Thanks

Changed in openobject-addons:
status: Confirmed → Invalid
Revision history for this message
Harmel Delphine (OpenERP) (dha-openerp) wrote :

So Ok that is must not be available in the form view but then remove it as option of the "Action" button on the toolbar menu.

=> inconsistency between actions available from the form view and from the "Action" button

summary: - Not possible to invoice an outgoing packing from the form view
+ [PS] Not possible to invoice an outgoing packing from the form view
tags: added: profserv
Changed in openobject-addons:
status: Invalid → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hello Harmel,
Sorry again, but I am not able to understand your problem,
If we add any wizard for any model, it will be available on the list and form view,
in list:
1. from the action button
2. from any button in the view referring action of that wizard, IF ANY
in form:
1. from the action button
2. from any button in the view referring action of that wizard, IF ANY
3. in the right panel, depending on the value of multi

this is the case of every wizard,
also I am not able to understand why the problem is only for "Create Invoice" wizard,
the same scenario is for "Return Picking" on the same from/list view...(some/many wizards of other modules too)
is there any specific reason for this wizard only?
Beware: If we want to remove if from the action of form it will also be removed from the action of list too...

Please specify your views,
Thanks

Changed in openobject-addons:
status: In Progress → Invalid
Revision history for this message
Harmel Delphine (OpenERP) (dha-openerp) wrote :

test it using stable version 6.0.2 (on windows XP for example)

* Warehouse > Warehouse Management > Delivery Orders, from a delivery order form view click on "Action"

Obtained result : an error is reported (see below)

Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_BE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "osv\orm.pyo", line 1643, in fields_view_get
  File "osv\orm.pyo", line 1326, in __view_look_dom_arch
  File "osv\orm.pyo", line 1133, in fields_get
  File "C:\Program Files\OpenERP 6.0\Server\addons\stock\wizard\stock_invoice_onshipping.py", line 43, in _get_journal_id
IndexError: list index out of range

expected result : it generates the invoice or it warns me it cannot (depending on parameters set)

Changed in openobject-addons:
status: Invalid → Triaged
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Delphine,

Did you have no move lines on the picking?

Thanks.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Delphine,

Fixed it on stable 6.0 by revision 4663 <email address hidden>.

Keeping it open for trunk as it was originally tagged under PS.

Thanks.

Changed in openobject-addons:
status: Triaged → Fix Released
milestone: none → 6.0.3
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Mayur Maheshwari(OpenERP) (mma-openerp) wrote :

Hello,

Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-689675-mma
Revision ID: <email address hidden>
Revision num:4805.

It will be available in trunk soon.

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.