[PS] Purchase : invoice opened from the purchase order (second tab) only proposes the journal "sales"

Bug #718616 reported by Francois Pietquin (OpenERP)
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 2

Bug Description

6.0.1
GTK and Web clients

Purchases/Purchase Management/Purchase Orders :
- I create a new purchase and I validate it.
- (So the invoice has been created by the system in draft status.)
- I open the purchase invoice FROM the second tab of the purchase order.
- The only financial journal available is "sales".

==> The journal should be "purchase"

Francois Pietquin
OpenERP Professional Services

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Sunny Sheth(OpenERP) (sunny-openerp) wrote :

Here the problem is in context, which is fixed in :
Branch-> lp:~openerp-commiter/openobject-addons/dev-addons2-sus03
revision no->4414
but the problem still persists because of widget selection .
so,transferring it to gtk-team for the problem of widget selection

affects: openobject-addons → openobject-client
Changed in openobject-client:
status: In Progress → Confirmed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Sudhir,

It is not problem of gtk client it is problem of purchase module only.

We need to pass context:
context="{'journal_type':'purchase'}" in invoice_ids field on purchase order it should work.

Thank you,
mra

affects: openobject-client → openerp-addons
Amit Parik (amit-parik)
affects: openerp-addons → community-addons
affects: community-addons → openobject-addons
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

hello,

it has been commit in lp:~openerp-dev/openobject-addons/trunk-bug-718616-ksa
Revision no : 4446
Revision ID: <email address hidden>

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
Changed in openobject-addons:
status: Fix Committed → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

hello,

it has been commit in lp:~openerp-dev/openobject-addons/trunk-bug-718616-ksa
Revision no : 4447
Revision ID: <email address hidden>

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks,
It has been fixed on stable by revision 4429 <email address hidden>.

Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: 6.1 → 6.0.2
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.