Greetings ..
Stock.picking.in add fields:
stock_picking_in class (osv.osv)
_inherit = "stock.picking.in"
_columns = {
'purchaser_id': fields.many2one ('res.users', 'Purchaser', select = True),
'customer_id': fields.many2one ('res.partner', 'Customer', select = True),
}
and stock.move:
class stock_move(osv.osv):
_inherit = 'stock.move'
_columns = {
'select_a':fields.related('picking_id', 'purchaser_id', type='many2one', relation='res.users', store=True, string='A'),
'select_b':fields.related('picking_id', 'customer_id', type='many2one', relation='res.partner', store=True, string='B'),
}
I want to do is the following, in the form of stock.picking.in select the buyer and the customer, once you have done this, adding stock.move products, I want the client and the buyer chose in stock.picking . in selecionados may be already in the form of stock, move ..
Any ideas, or any module that does something similar ...
Thank you ...