Wrong Journals when creating an invoice from picking
Bug #667246 reported by
Harmel Delphine (OpenERP)
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
OpenERP R&D Addons Team 2 |
Bug Description
* Using demo data, create a purchase order (in extended view) and set the invoicing control as "from picking", confirm it
* In Incoming Shipments, process it and create the invoice
* Select the "Purchase Journal"
=> The system opens the "New picking invoices" view with correct information except the "Journal" which is empty. Only the "Sales Journal" and "Sales Journal (test)" are selectable
Related branches
lp:~openerp-dev/openobject-addons/ron-dev-addons2
- OpenERP Core Team: Pending requested
-
Diff: 54 lines (+9/-3)2 files modifiedmrp_operations/mrp_operations.py (+8/-2)
product/product.py (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → DHS(OpenERP) (dhs-openerp) |
Changed in openobject-addons: | |
assignee: | DHS(OpenERP) (dhs-openerp) → OpenERP R&D Team (openerp-dev) |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Team (openerp-dev) → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
Changed in openobject-addons: | |
status: | New → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I think I've found a similar bug when I create act_window action that will open invoices from sale order with code: "[('origin' ,'=',name) ]" id="sale_ order_invoice_ view" view_id= "account. invoice_ form" name="Invoices" res_model= "account. invoice" src_model= "sale.order" />
<act_window domain=
I will be able to open the created list in a tree view, but when I go into that invoice (into form view) I will only be able to select purchase journals even though it is a customer invoice. I think it is a problem because it is opened in the account.invoice view for suppliers, and not for customers. Adding context="{'type': 'out_invoice'}" doesn't help.
The same thing is in the normal installation of OpenERP. When you install minimal configuration and you add sale module (and other modules that are related) you can go to partner form and you'll have an Invoices action that will open invoices for that partner. It opens a tree view with invoices and it works fine but when you go into one invoice (open and invoice form) you will be able to choose only purchase journals (and purchase partners etc...).