summaryrefslogtreecommitdiff
path: root/addons/hr_expense/models/__init__.py
diff options
context:
space:
mode:
authorThomas Carlier <thc@odoo.com>2019-09-17 08:53:31 +0000
committerThomas Carlier <thc@odoo.com>2020-01-28 14:41:37 +0000
commit4eeeb4f172c10f2a8e190fb9afcf440ddaaf5d34 (patch)
tree5ccb655f73dbcf69d576278a49f6ed48380e0250 /addons/hr_expense/models/__init__.py
parentb5d608036654189a1d233236d3b1f1319c92e0e2 (diff)
[ADD] hr_expense : add the ability to install OCR module
- if checked in settings, OCR can be used to get infos from the attached receipt image - set default product to EXP_GEN when created from picture - use "register_as_main attachment" when expenses are created from receipt images - Add the upload button to the kanban view to see it immediately in the mobile version and use it to create expenses from pictures. (with or without OCR installed) closes odoo/odoo#39559 Related: odoo/enterprise#6493 Signed-off-by: Florian Daloze (fda) <fda@odoo.com>
Diffstat (limited to 'addons/hr_expense/models/__init__.py')
-rw-r--r--addons/hr_expense/models/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_expense/models/__init__.py b/addons/hr_expense/models/__init__.py
index af1e04d2dd2..4b256421e3b 100644
--- a/addons/hr_expense/models/__init__.py
+++ b/addons/hr_expense/models/__init__.py
@@ -7,3 +7,4 @@ from . import hr_expense
from . import product_template
from . import res_config_settings
from . import account_journal_dashboard
+from . import res_company