summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-06-20 14:21:14 +0200
committerYannick Tivisse <yti@odoo.com>2016-06-21 14:09:48 +0200
commitf066b1ec4f979f43467d88380bac4031c2567869 (patch)
tree272f3301ec6a2d3d90973f15edb93e0bbdbd35ae /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parentbd61e9f651e0d4222cf715a27f7b74350e4bc16b (diff)
[IMP] hr_expense: Onboarding improvement + mail gateway
1/ Modify the no content help message for hr_expense with a dynamic part which describe how to create a new expense by mail 2/ Mail gateway mechanism. New customizable email alias expense@domain that creates a new expense by sending an email to it. Check several things - Check that the email_from is the same than one of the employees or than on of the related users to employees. If not, send back an email to say that the expense will not be created. - If the email address is valid, check if something is between brackets '[]' If it is the case, check if it is linked to a product internal reference and set it accordingly. If nothing is found, use a default product 'Fixed Cost' - If one/several float(s) are found in the mail subject, take the last occurence and set it as the expense total amount. 3/ If a product template is created, to not add taxes on it. We don't expect it to have additional taxes 4/ Under Expenses -> Configuration -> Expense Product, use a simplified product view with only the needed fields. 5/ When generating the account move lines, use the account defined on the expense line, not the sheet 6/ When creating a payment, make a reconciliation on the payable account move lines That way, if the total amount on the expense is paid, the expense will be set to paid automatically when registering a payment 7/ Add a one-page planner to explain how to use the email alias 8/ The field account_id on the expense sheet was informative. After some tests, it seems that it's more confusing than helping. So we removed it 9/ Add a domain on the field 'bank_journal_id' to select journals of type 'cash' or 'bank' 10/ If the number of expense lines is equal to 1, the expense summary on the expense sheet should be the same name the line. So the process can be done in one click
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions