typos
parent
039b0b9639
commit
0d18e36a12
|
|
@ -27,7 +27,7 @@ class Config():
|
||||||
'vat_check_vies': True,
|
'vat_check_vies': True,
|
||||||
'tax_calculation_rounding_method': 'round_globally',
|
'tax_calculation_rounding_method': 'round_globally',
|
||||||
#'rml_header' : './ext/addons/custom_reports/report/page.rml', # Report File
|
#'rml_header' : './ext/addons/custom_reports/report/page.rml', # Report File
|
||||||
'logo': './ext/addons/cam_reports/logo.png',
|
'logo': '../ext/custom-addons/cam_reports/logo.png',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Nur für Lager
|
# Nur für Lager
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ class CamadeusFunctions():
|
||||||
return False
|
return False
|
||||||
journals = self._execute('account.journal', 'read', j_ids, ['sequence_id'])
|
journals = self._execute('account.journal', 'read', j_ids, ['sequence_id'])
|
||||||
s_ids = [t['sequence_id'][0] for t in journals]
|
s_ids = [t['sequence_id'][0] for t in journals]
|
||||||
if not self._execute('ir.sequence', 'write', s_ids, seq_dict.get('account.invoicer')):
|
if not self._execute('ir.sequence', 'write', s_ids, seq_dict.get('account.invoice')):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
@ -228,6 +228,7 @@ class CamadeusFunctions():
|
||||||
|
|
||||||
vals = {
|
vals = {
|
||||||
'groups_id': groups,
|
'groups_id': groups,
|
||||||
|
'tz': 'Europe/Vienna',
|
||||||
}
|
}
|
||||||
|
|
||||||
return self._execute('res.users', 'write', [user_id], vals)
|
return self._execute('res.users', 'write', [user_id], vals)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue