hi
plz ,how to get my custom field in view_picking_out_form ? this my function :
def dispatch(self, cr, uid, ids, context=None):
if not ids: return []
dummy, view_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'stock','view_picking_out_form')
inv = self.browse(cr, uid, ids[0], context=context)
return {
'name':_("Dispatcher"),
'view_mode': 'form',
'view_id': view_id,
'view_type': 'form',
'res_model': 'stock.picking.out',
'type': 'ir.actions.act_window',
'nodestroy': True,
'target': 'new',
'domain': '[]',
'context': {
'default_invoice_state':'2binvoiced',
'default_move_lines_product_id':inv.test_id.product_id,
}
}
i want o put my product_id selected in move_lines in the view :view_picking_out_form ???
thanks
can you please explain the need of your field,,,? so that we can understand what to do and help you..