Commit Graph
93181 Commits
Author SHA1 Message Date
Bhumi Patel e8eced9f36 [IMP] project: project form view cleaning, project stage form view
overhaul: usability improvements, better user experience.

By the way: fixed the column tooltips display in kanban view.
2015-01-19 16:39:31 +01:00
Jeremy Kersten fe7b6ef900 [FIX] planner: remove console.log and add default value for menu_id.
Add default value because top menu 'Website' from backend don't have a data menu-parent, and toString from undefined displays a traceback.
2015-01-19 16:23:40 +01:00
Jeremy Kersten 4a499efcf4 [IMP] website_customer: display filter by tag first, and sort tags by classname before the name. 2015-01-19 16:23:30 +01:00
Géry Debongnie 81588efe26 [FIX] web: remove typo in views.js 2015-01-19 14:17:19 +01:00
Arthur Maniet 0c98b8b311 [FIX] account: fautly behaviour introduced by 16e6919abc 2015-01-19 12:37:23 +01:00
Christophe Matthieu f70c1f0c3c [IMP] website: the black bar menu should be visible when the user scroll 2015-01-19 12:09:39 +01:00
Arthur Maniet 2925561337 [FIX] account: bank statement reconciliation: there is no reason to prevent the reconciliation proposition to mix open and paid entries anymore 2015-01-19 11:47:43 +01:00
qdp-odoo 4b06dd6864 [IMP] stock: added sequence field to sort stock move + copy sequence from sale order line on creation from a procurement 2015-01-19 11:34:48 +01:00
Arthur Maniet 16e6919abc [FIX] account: bank statement reconciliation: correctly create journal entries when using a tax on a write-off 2015-01-19 11:22:33 +01:00
Aaron Bohy f163cbe0f8 [FIX] Website_slides: whitespaces in a .png filename
Replace whitespaces in the .png filename by underscores as
whitespaces in a filename produce an error for RPM packaging.
2015-01-19 10:45:46 +01:00
Julien De Coster da5d11ef12 [I18N] Merge email_template *.po files into mail
All the translation files from the email_template module are merged into the mail module.
Comments are untouched because there are extracted from the .pot file
2015-01-19 10:07:37 +01:00
Jeremy Kersten ba294e2318 [REF] website_crm_score: migrate code to be compatible with master.
Courtesy Review : xmo, mat
2015-01-19 09:53:31 +01:00
Jeremy Kersten 8b407a41a4 [ADD] website_crm_score: Import new module 2015-01-19 09:50:47 +01:00
Jeremy Kersten b8e7a5fd77 [FIX] website_crm_score: force commit, because too many bad gateway (too long). Remove unused field from read 2015-01-19 09:45:59 +01:00
Jeremy Kersten e4bbd010f0 [FIX] website_crm_score: Merge pageview and score as superuserid to allow non salemanager to merge some lead. 2015-01-19 09:45:59 +01:00
Jeremy Kersten b6cdb81b37 [IMP] website_crm_score: add scrore to opportunities views (form and tree) 2015-01-19 09:45:59 +01:00
Jeremy Kersten ab4d4e17c5 [IMP] website_crm_score: don't send email with auto assignation + don't send mail for each pageview. Salesmen are spammed 2015-01-19 09:45:59 +01:00
Jeremy Kersten 511dce3a7d [FIX] website_crm_score: some improvements to make assign_date automatic
crm_lead:
        overwritte create and write from crm_lead to force assign_date to be computed according to the field user_id is updated.
        Else when the assignation was done manually, this field was not updated and so the lead not added in the instant pipe from the saleman (section_user)
    sales_team:
        Add context when assignation is done by cron to avoid to spam the sales. Notification of assignation will be only done via a log on the lead/opportunity.
        Don't force to write assign date since write of crm_lead is overwritted to do it
        Misc improve - check that leads exists before to make useless call to browse/write on nothing
2015-01-19 09:45:59 +01:00
Jeremy Kersten 1e71ed4305 [IMP] website_crm_score: hack to use request.host for cookies if in local mode (with port) 2015-01-19 09:45:59 +01:00
Jeremy Kersten e42d989d86 [IMP] website_crm_score: move the call of super create_lead into an overridable function. 2015-01-19 09:45:59 +01:00
Jeremy Kersten 576933ff08 [IMP] website_crm_score: multi improvements
Move section_user before the use of this one in a many2many, else demo data are not installable because field id is never created in db. (same 'issue' that https://github.com/odoo/odoo/issues/2386)
    Add a cron to compute score each hours
    Add merge pageview and merge (clean) score when we merge opportunities via merge_opportunities/merge_dependencies
    Score the lead after the assignation to salesteam. Because when we assign to salesteam, sometimes we call the method merge_opportunities which one delete old scores on this lead, all score rules needs to be recomputed since the fields have been updated. So we compute now the score not at starting, but between assignation to salesteam and salesman.
2015-01-19 09:45:59 +01:00
Jeremy Kersten 14efd71694 [FIX] website_crm_score: be more specific in the domain to select lead to assign to a salesteam. And autocommit after each merge/assign_sale_steam to avoid duplicate mail and too long cron 2015-01-19 09:45:58 +01:00
Jeremy Kersten 0e4f8b8856 [IMP] website_crm_score: fix kanban to display user_id from section (m2m user_ids). Add field min_for_assign in form view. 2015-01-19 09:45:58 +01:00
Jeremy Kersten b08cb60384 [IMP] website_crm_score: add new field to specify the minimum score that a lead need to be allocated. Merge duplicated lead before to assign them to a salesman 2015-01-19 09:45:58 +01:00
Jeremy Kersten 9ba31b513e [FIX] website_crm_score: check that endpoint is set before to use routing to avoid a traceback when session is expired 2015-01-19 09:45:58 +01:00
Jeremy Kersten 53c20649ab [IMP] website_crm_score: new module 2015-01-19 09:45:58 +01:00
Antony Lesuisse ee9e4d3672 [IMP] server: -d create database if non existent 2015-01-18 20:31:41 +01:00
Antony Lesuisse 1d87a4509f [REM] service: remove old http layer 2015-01-18 20:27:06 +01:00
Samus CTO c90aedd04f [IMP] logging: Use the default python logging handler bound to stderr
Avoid messing up actual output with logs. Useful when using odoo shell in a
pipeline. Example:

echo "for i in env['res.partner'].search([]): print i.email" | ./odoo.py shell -d master | xargs -n1 echo cmd
2015-01-18 19:05:01 +01:00
Goffin Simon 9850080eb0 [ADD] Versioning Module.
This module allow to make versioning and A/B testing of the website.
2015-01-16 23:13:58 +01:00
Christophe Simonis 92c94f3ac1 [FIX] website_sale: remove non-working tour steps.
partial revert of eeb8ed165d
2015-01-16 19:33:58 +01:00
Jérome Maes f04280757b [FIX] web : add forgotten lato font direcotry from a279d8a976 2015-01-16 18:52:10 +01:00
qdp-odoo 2ca0f0e5d1 [FIX] account_bank_statement_import: ofx and qif don't save the uploaded file on the server anymore + data_file is now mandatory in _parse_file() 2015-01-16 18:43:09 +01:00
Damien Bouvy a1fac87d25 [IMP] web,website: portal users should be redirected to the frontend on login (and regulars users to the backend) on login 2015-01-16 17:25:07 +01:00
Goffin Simon 0fd773a486 [IMP] Cleanup and refactoring of exception handling
Unify and refactor exception handling in framework and addons.

The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes:
 - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration.
 - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights.
 - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request.
 - `MissingError`: raised when an operation is attempted on a record that does not exist.
 - `ValidationError`: raised when an operation violates a SQL or Python constraint.
 - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback.

All exceptions take a single message argument.

The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions.

A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages.

This commit introduces a more consistent policy for logging errors and warnings:
 - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations.
 - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention.
 - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2015-01-16 17:15:18 +01:00
Yannick Tivisse eeb8ed165d [IMP] Website_sale tour: Added steps to avoid the continue button 2015-01-16 16:56:43 +01:00
Yannick Tivisse ded2962d41 [FIX] web tour.js: data-original-title issue with bootstrap lib, bootstrap take the image name as tip title instead of the title allready defined 2015-01-16 16:55:36 +01:00
Damien Bouvy 50fa3b6ba4 [IMP] portal_claim, portal_project_issue ==> website_crm_claim, website_project_issue: modules are renamed and depend on website, adds Claims and Issues links on the user dropdown menu for portal users 2015-01-16 16:45:52 +01:00
Christophe Matthieu 1d82bb16ca [FIX] tools html_sanitize: While editing mass mailing or other html fields, font size, foreground color/background color are not saved after changing them. 2015-01-16 16:38:10 +01:00
Christophe Matthieu ce1ed62676 [FIX] website editor: Issues with link dialog. After changing style one button from the modal, all its right sibling buttons are dis-appeared.; delete content of the range is wrong 2015-01-16 16:38:10 +01:00
Christophe Matthieu 23a6b2f3e3 [FIX] website editor: change default comportment copy paste for input and textarea 2015-01-16 16:38:10 +01:00
Christophe Matthieu 55e93a122e [FIX] website editor: On click Of edit unable to call start of website.snippet.animationRegistry of the stopped snippet animation 2015-01-16 16:38:10 +01:00
Christophe Matthieu cb7d762db2 [FIX] website editor: the dom is splited in two when press enter just after a picture 2015-01-16 16:38:09 +01:00
Christophe Matthieu e134fc885b [IMP] website editor: designer can add new font like font-awsome (add folder and need to push the new parser in website.editor.fontIcons javascript object) 2015-01-16 16:38:09 +01:00
Christophe Matthieu 9477b838c6 [IMP] website editor: move media style options from the customize menu to the top editor bar 2015-01-16 16:38:09 +01:00
Christophe Matthieu 9dafe51f47 [FIX] website editor: can't select and edit an empty field html or text 2015-01-16 16:38:09 +01:00
Christophe Matthieu db9b7bc825 [FIX] website: Selector for the image and table-handlers are still there even if we've deleted the snippet 2015-01-16 16:38:09 +01:00
Christophe Matthieu e42995b614 [FIX] website_sale: Unable to customize image from grid of products. Add an option for the image qweb widget to resize and the views can add python data in widget options 2015-01-16 16:38:09 +01:00
Christophe Matthieu 031b83d9e7 [FIX] website editor: images removed inside selection when change color 2015-01-16 16:38:09 +01:00
Christophe Matthieu 7c10c9ac27 [FIX] website qweb: wrong encoding when a snippet is called by t-snippet 2015-01-16 16:38:09 +01:00