summaryrefslogtreecommitdiff
path: root/addons/crm/static/src
AgeCommit message (Collapse)Author
2018-12-03[IMP] crm: usability improvementsGeoffroy Larue
Purpose : Various relabelling and design improvements in crm: - opportunity, lost reason, lead, team, tag forms - hide "convert to opportunity" button for inactive/lost leads (actually nothing happened when clicked anyway) - Checkbox in crm.team to hide all alias related fields - New many2one field appearing in crm.team form to select the user to whom lead created by alias will be assigned. - Set the admin as leader of the initial crm.team closes odoo/odoo#28851
2018-09-17[FIX] *: adapt tours for the new community navbarAlexandre Kühn
*: crm, hr_expense, hr_recruitment, point_of_sale, project, sale, stock, web_tour, test_main_flows, test_new_api To sum up: - Click on "Apps Menu" then the app item. (previously: click on '+' then the app item). - Click on navbar section menu item. (previously: click on sidebar section menu item).
2018-07-27[REF] *: BS4, review breadcrumb structureqsm-odoo
Now, the 'breadcrumb-item' class has to be put explicitely on breadcrumb items.
2018-07-09[FIX] *: fix some side-effects of ↵qsm-odoo
https://github.com/odoo/odoo/commit/9de1bc0eef6f5bfaa2a8d745431caa361ae91548 - JS Modals were not correctly built anymore, their .modal-body element was duplicated and many without-effect JS lines were introduced (as a side effect, the form view design was broken when inside modals) - Tests were changed to make bugs go unnoticed. For example, the media dialog functionnality was entirely broken because the .modal-dialog element was not receiving the correct class anymore. - The JS translation function is _t, not _ - Do not use the <title/> tag as a regular DOM element, it is meant to be unique, in the <head/> section - CSS rules were added to the utils.scss file, which is meant to contain functions and mixins, otherwise, the rule is duplicated in every asset - Some icons were still broken, as missed by https://github.com/odoo/odoo/commit/f90cf060a3cfeb37a67bec83264c0aaab8892b56 - Tests were changed to use [role="dialog"]/footer/header in their selectors without any reason, this commit restores some of that to avoid rebase conflicts with the BS4 work. - ... Note: other elements should still be discussed, like the direct use of the 'o_form_label' class in views definition... but those do not cause direct problems.
2018-06-22[IMP] Improve compatibility with screen readers (accessibility) (#24574)kujiu
Today, Odoo is really tricky to use without seeing the screen, it must be improved to be usable. This PR forbid to use labels without a "for" attribute, add some title, rule and aria attributes in HTML. With that, Odoo will be fully usable with a screen reader. * [IMP] Labels must have a for attribute. Improve accessibility. * [IMP] Better error message when trying to read a missing cached value * [FIX] Add some aria-label and title attributes for screen readers. * [FIX] Template name is not included in the error message in case of SyntaxError in QWeb * [FIX] Improve the Tour failed at step error message to be more explicit. * [IMP] Add aria-labels * [FIX] Add missing aria-label on failing test * [IMP] aria-hidden means hidden. Fix all bad aria-hidden and hide aria-hidden for all. * [IMP] Color names on kanban views and many2many tags * [IMP] Add some checks on views for accessibility. * [IMP] Add `alt` attribute on `img` tags. * [IMP] Add aria-label and title on non-described icons * [IMP] Add button role to widgets with btn class * [IMP] Translate aria and formatted attributes. * [IMP] Remove wrong aria-labelledby * [IMP] Add menu role on dropdowns * [IMP] Buttons must be focusable * [IMP] Add aria attributes on progress bars * [IMP] Improve accessibility of basic widgets * [IMP] Change main layout to more semantic tags * [IMP] Add menuitem role when missing * [IMP] Remove wrong role='presentation' * [IMP] Improve accessibility of tab panels * [IMP] Add aria-invalid on invalid fields * [IMP] Add aria-sort on ordered columns * [IMP] Add role on alerts * [IMP] Use dialog role, header, main and footer tags for modals * [IMP] Add labels on o_status * [IMP] Improve accessibility of kanban view with feeds and articles * [IMP] Add alerts in case of new messages * [IMP] Add widget, navigation or img role to aria-labelled items
2018-05-30[IMP] web, crm: minor copywriting in Kanban and CRM flowFabien Pinckaers
2018-04-23[IMP] crm: Improve tour labelsMitali Patel
Task Id: 1827293
2018-03-15[IMP] web_settings_dashboard,*: improve UXJigar Patel
*crm,project: css selector adapted in tours This rev. improves the UX of the 'Invite users' and 'Pending invitations' part of the Settings dashboard. Task 32804 Closes #19531 Co-authored-by: Aaron Bohy <aab@odoo.com>
2018-01-26[FIX] crm,test_main_flows: adapt tours to flow changesAaron Bohy
The 'crm_tour' and 'main_flow_tour' tours both create a 'crm.lead' record from the Kanban view at some point. Since last commit, this doesn't open a form view in a dialog anymore, but instead opens a form view in the QuickCreate widget. Some steps of those tours had to be adapted accordingly.
2018-01-18[IMP] core: menu tip ux/ui improvementAlexandre Kühn
We would like to make the "no item found" screens more appealing. Before this commit, it shows a small help tip in the top-left corner of the screen, just below the "Create" button. With this commit, these help tips have been replaced by onboarding screens, which consist of a picture and some text below, both of which are horizontally centered. The texts have been slightly changed, so that they are shorter and clearer. Considered modules: (A) account, account_asset, account_budget, account_test, account_voucher, analytic (B) barcodes, base, base_automation, board (C) calendar, contacts, crm (D) delivery (E) event (F) fleet (G) gamification, google_drive (H) hr, hr_attendance, hr_contract, hr_expense, hr_gamification, hr_holidays, hr_payroll, hr_recruitment, hr_timesheet (I) im_livechat (L) l10n_fr_sale_closing, link_tracker, lunch (M) mail, maintenance, mass_mailing, membership, mrp (N) note (P) payment, point_of_sale, post_mercury, pos_restaurant, product, project, purchase, purchase_requisition (R) rating, repair, resource (S) sale, sale_timesheet, sales_team, stock, stock_account, stock_landed_costs, stock_picking_batch, survey (U) utm (W) web, website, website_blog, website_customer, website_event_track, website_forum, website_quote, website_sale, website_sale_digital, website_slides
2018-01-15[IMP] crm: onboardingRomainLibert
- Add missing tour stage in crm creating opportunity and minor fixes - Label, Placeholder and Tip IMP - Restrict Create new sales channel - No Content Help Improvements - Schedule Activity Button Layout Change - Chatter Log IMP
2017-12-06[IMP] mail: add a 'Done & Schedule Next' button in activity wizarddip-odoo
Purpose ======= Users often log an activity and want to schedule another one immediatly. We should limit the number of clicks Specification ============= - Mark as done should be a secondary button - Add a new secondary button : DONE AND SCHEDULE NEXT - It should mark the activity as done and close the modal - It should open a new activity modal Behavior and available options are now the same in the Chatter modal and the wizard itself. It implies correcting the crm_tour flow
2017-11-17[REF] *: renaming AppSwitcher to HomeMenuAlexandre Kühn
Summary: AppSwitcher => HomeMenu AppSwitcherMenu => HomeStudioMenu Details: application_switcher => home_menu application-switcher => home-menu AppSwitcher => HomeMenu appswitcher => home_menu AppSwitcherMenu => HomeStudioMenu appswitcher_menu => home_studio_menu app_switcher => home_menu app-switcher => home-menu app_switcher_menu => home_studio_menu
2017-10-26[REM] web_planner: Remove the moduleYannick Tivisse
Purpose ======= User tests have been made by the Product Owners team. It showed that the planners are not used by new users on Odoo due to several reasons (They are too static, too heavy to use,...) Specification ============= Remove the module and its different applications. The onboarding on the business flow will be improvement in the weeks to come.
2017-08-09[REF] crm,sale: Split the applications into 2 separate appsHaresh Shyara
Purpose ======= You install CRM but you don't see CRM icon (except in English, as long as sales is not installed) -> confusing The dashboard with salesteam is not obvious & not useful for simple users: what are those channel boxes about? why don't I see all my activities?, etc. Specifications ============== Split CRM & Sales + land in business views straight away Default Entry Views ~~~~~~~~~~~~~~~~~~~ - New default view for CRM: Pipeline kanban - New default view for Sales: Quotation list Dashboards ~~~~~~~~~~ - Move sales teams dashboard to Reporting: Sales Channels. - Remove the upper part of the sales team dashboard Menuitems Structure ~~~~~~~~~~~~~~~~~~~ - CRM menu Pipeline: - Leads (optional) - Pipeline (default menu, default filter "My Pipeline") - Next Activities -> to remove (now there is an icon in top bar for next activities) - Quotations (If sale_management installed) Customers Phone Calls (if voip, if not yet removed because there is a BE task to use next activities instead) Leads Management: - Scoring Rules - Leads Assignation - Team Assignation Reporting: - Leads - Scoring page views - Opp. Assignement - Patnerships - Pipeline - Activities - Phonecalls - Sales Channels Configuration: - Settings - Sales Channels - Activity Types - Leads & Opportunities: - Lead Tags - Lost Reasons - Resellers - Partner Level - Partner Activations - Sales menu: Orders: - Quotations - Orders - Customers Invoicing: - Orders to Invoice - Orders to Upsell Catalog: - Products - Promotion Programs - Coupon Programs Reporting: - Sales - Sales Channels - All channels sales orders Configuration: - Settings - Sales Channels - Sales Orders: - Quotation templates - Payment acquirers - Delivery Methods Settings ~~~~~~~~ - Split settings form - Remove recommended apps section - Remove Timesheets section - Remove Inventory Management and move shipping connectors to Shipping section - Remove Integrations section - Move Docsaway option to "Quotations & Orders", right after proforma - Autocomplete and asterix: move to CRM section - Restructure and rename sections this way: - Product Catalog - Pricing - Quotations & Orders - Shipping - Invoicing - eBay (if installed) - Remove all the "Save this page and come back here" when checking a box that installs a new module - restructure a bit the CRM settings, with 3 sections: Pipeline - Leads Contacts - Phone Validation - Customer Autocomplete Integrations - Google Calendar / Synchronize your calendar with Google Calendar (copy from general settings but don't show message "Save this page and come back here...". - Asterisk (VOIP)
2017-05-04[REF] web, *: restore views designqsm-odoo
Since the new views merge, a lot of design elements were broken. This was particularly impacting the fields in the editable list view; indeed the editable list view is not using an inline form view anymore so the fields in the list were not properly styled as the LESS was still defined assuming the form view environment (for example the invalid fields were red for o2m fields in form view but not in editable list view even though they got the right CSS class). This commit refactor the LESS following these rules: - No more division of non-layout and layout rules. Dividing LESS rules in x_layout.less and x.less was a mistake. Many rules can be considered to be layout and not layout at the same time, developers always have to switch from one file part to the other, many CSS selectors (and rules!) are duplicated for nothing, ... - Field style is extracted from x_view.less and put in the new fields.less file. As before, the fields_extra.less will contain the rules specific to community so that the enterprise repo can override those by replacing the whole file. - Many classes have been renamed so that o_form_x_y becomes o_x_y as many classes can now be applied outside of form view. These classes should not be used in templates anyway. The commit also changes the DOM of fields so that it is more minimalist (no useless parent div, etc). Input elements are not automatically styled anymore, they have to get the o_input class explicitely. This allows to fix lots of small style bugs of previous versions (required monetary field had not the proper style, readonly m2m tags appeared as editable, ...). This also improves the LESS code. The editable list view should also completely stop flickering on chrome and firefox. The commit also removes the orange outline on list view dirty cells. The commit also removes deprecated static xml, LESS and other code. Notice there are still styles to restore/fix and LESS to improve.
2017-04-11[REF] web, *: simplify our RPC system (in JS)Géry Debongnie
The RPC system was not completely satisfactory, we decided to prepare the future and do it properly. This commit introduces the new rpc system, which replace the previous new one. We now simply have a method, this._rpc, which takes a dictionary of parameters. The idea is that depending on the parameters, it is able to add correct default value when necessary. For situations where we don't have the this._rpc method, we can use the rpc.query method, which takes the same arguments, but directly calls ajax.rpc instead of triggering up some events.
2017-04-11[REF] *: use _rpc method for all rpcsGéry Debongnie
The _rpc method is now the preferred method to do a rpc, so we need to update all calls.
2017-04-11[REF] web,*: remove 'web.model' and 'web.dataModelGéry Debongnie
Use this.rpc instead of Model object, with web.ajax if necessary. nb: EventDispatcherMixin include now the custom_events managment instead of widget
2017-04-11[REF] web, *: redesign all JS viewsGéry Debongnie
This commit introduce a full redesign of all JS views. We started basically from scratch. The goal was to unify all the various views under a common framework, to make them testable, to make then usable in different conditions (in studio, or in the frontend), and to make our lives easier. Some important points are: - we introduced new coding guidelines (camelCase, 80 chars width, ...) - we have a brand new testing framework (still QUnit based) - kanban view moved to the web addon - calendar view (formerly web_calender) moved to web as well - the tree view was removed - all new code should be documented We hope that this code is the start of a new era for the Odoo web client, we want to have a high quality codebase, well documented, well tested, well designed. Work done by the framework team: mostly aab, ged, chm, dmo, qsm
2017-01-10[FIX] crm: Typo in "Ready to boost you sales?"Frank Petrilli
2016-12-30[MERGE] foward port of 10.0 up to revision ↵qdp-odoo
84a650e33aadb29661121410813e3de37a5ad3e9
2016-12-21[IMP] crm, website_crm: replace support of activitiesRavi Gadhia
crm.lead model now supports activities. Filters have been added to ease their management. Mail activities replace the old crm.activity model. All code related to crm.activity is then removed, including views and custom widget. Standard activities feature is now used widely in Odoo addons and replace those custom activities. A small update is required in website_crm_partner_assign. Now the portal user can only update or create its own activities aka assigned to him. If he has an activity assigned to him it is displayed in the opportunity website view. If not editing the opportunity will create a new activity assigned to him.
2016-11-17[MERGE] forward port branch 10.0 up to 13dc704Christophe Simonis
2016-11-16[FIX] crm: fix tour since kanban state color has been updatedJeremy Kersten
The commit c544aa298 change the color for kanban state, but tour has been not updated.
2016-11-15[REF] web_planner, *: refactor planner codeqsm-odoo
* Share code between website and backend * Do not do a [100ms - 500ms] RPC on each app change in the backend but do it only if the planner is asked to be opened * Use the Dialog class so that the planner is not broken * Simplify/optimize code, use standard conventions, lint files, ...
2016-09-01[IMP] crm: add extra steps to the tour to redirect the user to the plannerThibault Delavallée
2016-08-26[IMP] crm, project: do not assume number of records in column during tourChristophe Matthieu
2016-08-11[IMP] typo: collegues --> coworkers (colleagues would have been good but ↵Fabien Pinckaers
coworkers is more american)
2016-07-18[IMP] *: activate automatic tour testsqsm-odoo
* project, crm, point_of_sale, website, website_sale, website_blog, website_event, website_forum
2016-07-05[FIX] crm, project, sale: make tours work in communityAaron Bohy
The step consisting to go back to the app switcher doesn't work in community, obviously, so this commit make it active in enterprise only. Also make the Settings app selector more robust by accessing it through its xmlid, as we do for other apps and menus.
2016-07-05[IMP] *: web_tour: remove 'Skip tour' link in tipsAaron Bohy
2016-06-29[IMP] toursFabien Pinckaers
2016-06-28[IMP] Expense: tour + employee created by defaultFabien Pinckaers
2016-06-16[ADD] crm: onboarding tourFabien Pinckaers
Also add a simplified form view to create opportunities
2015-08-28[ADD] sales_team: new sales dashboard with figuresMartin Geubelle
A new view type has been created : sales_dashboard. It is used to display some figure in the sales_team_dashboard. Also added in this commit : 3 fields on res.users to fix sales target - target of won opportunities - target of activities done - target of invoiced sale orders
2015-07-23[FIX] crm: planner: bootlint and useless style removalSimon Lejeune
2015-07-14[REVERT] crm: reverted changes introduced in last commitsThibault Delavallée
that should lie in a feature branch and be reviewed. We try not to screw the history and the branches, let us continue like this. Reverted commits : 189c589d762c6abdcc4b68201f1b5da182bed3dd 11b1eb1ce534dc7c4b75ee906426a65978e25d7f f618df931a07c78ea0ad15ca0aff1b5a2a8cf002 c0ee9de360abc2f5c415c81e236b1008db1332d0 a340f0cd2aa5e8c9842e91dedc7e95981d2041ed c6235581ef1b630f5c37bca5bfe1eb8828e22395 51cc853c6190311c5e709dbe78a708215501d17d 7a541b0d070c0b0d3df7f514b5b0387455cf44c8 3f6b92e7b5746116f0ef3a01a5a2e12566c10dd0 ecd410a3eea964ed33c6b706b0a025dfdc99f166 b6418a116d5b1b9e6763bf1886ac94423ae02b68
2015-07-14[IMP] look and reportsFabien Pinckaers
2015-05-18[IMP] project, web_planner, crm : add planner for project moduleJamin Shah
- clean the planner style - add specific class per planner crm (avoiding collisions) - create .o_planner_white_box class used in all planners - add planner for project module
2015-05-15[IMP] website, website_sale, crm, web_planner : add planner for website modulesDarshan Kalola
This commit impact crm, website, website_sale and web_planner modules because it - add planner for website and website_sale - improve planner notebook by setting texterea and input size to 100% and using col-md-* class - split js code into common part (used in backend and frontend) and backend part (only for backend) - adapt some tour, since every page will have the planner modal in its DOM, the tour selectors msut be more accurate - introduce some style fixes and adaptations - ...
2015-04-23[IMP] web_planner : clean the less styleJérome Maes
2015-04-23[IMP] web_planner : planner as data moduledka-odoo
Planner is like web Tips : a data in a module. - Rename planner.planner to web.planner - Rename files according to guidelines - Remove planner_crm module - Make CRM depends on web_planner, and add its planner as crm data - Remove duplicate less style - Add 'active' boolean field on planner (to disabled them), and create planner backend views
2015-01-21[IMP] crm, sales_team : usability onboarding. Improvements in kanban and ↵dka-odoo
form views mainly.
2014-11-12[IMP] *: kanban custom CSS removalrba-odoo
2014-05-14[MOV] crm: moved css / js related to salesteam to sales_team module; ↵Thibault Delavallée
sale_crm: moved data and demo data into sale and sales_team module.
2014-04-17[FIX]bootstrap tooltip cleaned from trunk-tipsy-to-bootstrapCedric Snauwaert
bzr revid: csn@openerp.com-20140417090515-l1ku2kdc0lzadjxg
2013-12-05[CLEAN] crm: cleaned modifications before merging :Thibault Delavallée
- moved css into sass file to standardize the process - commented some records added in the xml file of crm.case.section that do not seem necessary bzr revid: tde@openerp.com-20131205124749-3a1quhetgxq2d224
2013-12-05[MERGE] Sync with trunk, notably for bootstrap that landed in trunkThibault Delavallée
bzr revid: tde@openerp.com-20131205102352-ncx6whb8r0fejgcc
2013-11-26[RMV] remove all currecny related stuff as per the comments of fp sir.Turkesh Patel (Open ERP)
bzr revid: tpa@tinyerp.com-20131126064238-odztahk0kofak3vh