Welcome!
This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
Filter voor bewerking:
[[u'picking_type_code', u'=', u'outgoing'], [u'state', u'!=', u'done'], [u'state', u'in', [u'assigned', u'partially_available']]]
Filter na bewerking:
[[u'picking_type_code', u'=', u'outgoing'], [u'state', u'=', u'done']]
Python Code:
env['sale.order.line'].search([('product_id.id', '=' , '8663'),('order_id.id', '=', record.sale_id.id)]).write({'qty_delivered': 1})
Python Code: Uitgebreide zoek op meerdere product id:
env['sale.order.line'].search([('order_id.id', '=', record.sale_id.id), '|', '|', '|', '|', '|', '|',
('product_id.id', '=' , '6813'),
('product_id.id', '=' , '6814'),
('product_id.id', '=' , '8663'),
('product_id.id', '=' , '7011'),
('product_id.id', '=' , '7013'),
('product_id.id', '=' , '7014'),
('product_id.id', '=' , '7002')
]).write({'qty_delivered': 1})
Blijf geïnformeerd
Over deze community
Vraag hulpmiddelen
Statistieken
Gevraagd: 25-05-20 09:08 |
Gezien: 472 keer |
Laatst bijgewerkt: 25-05-20 09:13 |