Skip to content

Instantly share code, notes, and snippets.

View m3asmi's full-sized avatar

Rachid m3asmi

  • tetouan, Moroco
View GitHub Profile
View gist:33502a9595686e8c077eb136a4a8251b
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', '=',,
View gist:a18a0115e1631a4ac115e26c1cbcd628
# 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