Skip to content

Instantly share code, notes, and snippets.

View alt-odoo's full-sized avatar
👻
"We will all be archived one day, one way or another." Odoobot

Alex Tuyls alt-odoo

👻
"We will all be archived one day, one way or another." Odoobot
View GitHub Profile
@alt-odoo
alt-odoo / pos_check_payments.py
Created May 26, 2020 21:56 — forked from jev-odoo/pos_check_payments.py
POS - Check Payments
# FOR VERSION 10,11,12,13,...
# Set sessions ids between the brackets, separated by a coma
# I.E. SESSION_ID = [12, 18, 132] or SESSION_ID = [4]
SESSION_ID = []
MODE = 'check'
# DO NOT MODIFY
VALID_VERSIONS = (10, 11, 12, 13,)
VALID_SESSION_STATES = ('opened', 'closing_control')
VALID_MODES = ('check', 'repair')
@alt-odoo
alt-odoo / pos_compare_orders.py
Created May 26, 2020 21:56 — forked from jev-odoo/pos_compare_orders.py
POS - Compare Orders
# FOR VERSION 12, 12.3, 13
# Set sessions ids between the brackets, separated by a coma
# I.E. SESSION_ID = [12, 18, 132] or SESSION_ID = [4]
SESSION_IDS = []
FIELDS_TO_DISPLAY_IN_CSV = [ # Comment the field you don't want to see
'name',
'price_unit',
'tax_is',
'tax_should_be',
'diff_tax',