openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08501
[Bug 888818] Re: Only backorder picking is displayed: can't invoice partial receipt
This can probably be solved by opening the original picking when a backorder is created.
In a custom development of ours I did the following, probably it can be done in the standard too:
After creating the first back order:
if pick.type=='in':
view = 'view_picking_in_form'
elif pick.type=='out':
view = 'view_picking_out_form'
elif pick.type=='internal':
view = 'view_picking_form'
model_data_ids = obj_model.search(cr,uid,
[('model', '=', 'ir.ui.view'), ('name', '=', view)])
resource_id = obj_model.read(cr, uid, model_data_ids,
fields=['res_id'])[0]['res_id']
views = [(resource_id, 'form')]
And later at the end of the method:
return new_ids and {'name': "Processed Picking",
'view_mode': 'form',
'view_type': 'form',
'views': views,
'res_model': 'stock.picking',
'res_id': new_ids,
'type': 'ir.actions.act_window',
'nodestroy': True,
'domain': '[]',
'context': context} or True
I can't propose a branch with a fix but I hope this helps.
Lionel.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/888818
Title:
Only backorder picking is displayed: can't invoice partial receipt
Status in OpenERP Addons (modules):
Confirmed
Bug description:
V6.0.3 Anglo-Saxon
Raise a PO with invoice control = from picking. In receive shipments/process product moves do a partial receipt by changing quantity and press validate.
The screen displayed is the incoming shipment screen for the backorder, not the incoming shipment screen for what has been received, so there is no button to press to create the draft.
Have checked under the purchasing and accounting menus and there is nowhere to create the invoice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/888818/+subscriptions
References