Skip to content

Instantly share code, notes, and snippets.

View m3asmi's full-sized avatar

Rachid m3asmi

  • tetouan, Moroco
View GitHub Profile
quants = env['stock.quant'].search([])
move_line_ids = []
warning = ''
for quant in quants:
move_lines = env["stock.move.line"].search([
('product_id', '=',,
('location_id', '=',,
('lot_id', '=',,
('package_id', '=',,
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
# Odoo Server Config File - TurnKey Linux