summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorRohan Patel <rop@odoo.com>2018-01-10 12:54:39 +0000
committerYannick Tivisse <yti@odoo.com>2019-01-24 13:08:27 +0000
commit4ba8f51d87be394988e6e2889cf03f351afea1a0 (patch)
tree0d7a6c49f3c494789d0c99a4cb4ae7bb9b24bc98 /doc/reference/javascript_reference.rst
parentaf1728fddf61c0bc35c4fd7a9c139ab7b1feefd0 (diff)
[IMP] hr_expense: improve mail gateaway
1/ Send mail notification if expense is registered successfully Before this commit, when user submits the expense via email, user is not getting information about whether expense is registered or not. After this commit user will get a confirmation email. Few other usability improvements, - Improved tooltip for the field 'default_code' in expense's form and in the 'Emails' config setting. - Added product's default code in product's kanban view - Filtered uom based on category of product's uom. 2/ Better parsing of expense mail subject Criteria for matching expense product from email subject is changed, - The product code should be the first word of the subject. - Only expense products are allowed, previously there was no filter and user was able to select any product in expense via mail. Currency support is added, - Now user can specify currency symbols and ISO code in expense mail subject. - If subject contains multiple numbers in that case, number with currency will get higher priory, and it selected as an amount in expense. - If multi currency is active, user can use any active currency symbol/ISO code in mail subject. Respective currency will be selected in registered expense. - If multi currency is not active, user can only pass company currency. Other currencies are ignored and expense will be registered as default company currency - If user pass non active currency in subject then that currency will be ignored and expense will be registered as default company currency Examples: PROD_CODE 2 foo $1205.91 baz Added python test cases for mail subject parsing. Related to task #35093 closes #22168 Co-authored-by: Lucas Lefèvre <lul@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions