summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
AgeCommit message (Collapse)Author
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-16[REF] web,*: ActionManager/ViewManager refactoringAaron Bohy
This rev. is the first part (out of 3) of the refactoring of the ActionManager and ViewManager layer of the webclient. The main changes are: - there is no ViewManager anymore, its work is now handled by the ActionManager itself, but isolated in a specific file ; this eases a lot of things, as the breadcrumbs handling for example. - the ActionManager code is converted to the new coding principles and guidelines ; mainly, children widgets communicate with it by triggering events up, and not by function calls anymore. - the ActionManager layer is now testable, and a lot of tests have already been written. - the code in other addons has been adapted consequently. What's coming next: - introduce the 'AbstractAction' Widget, and make client actions and view controllers inherit from it ; this widget will implement a common API that could be used uniformly by the ActionManager (e.g. restore(), canBeLeft(), renderButtons(), getTitle()...). - move the ControlPanel handling from the ActionManager to the AbstractAction.
2018-01-12[MERGE] forward port branch 11.0 up to 3b80a059ff4Christophe Simonis
2018-01-12[FIX] web: binaryfile field in list viewsAlexandre Kühn
Revert partially 255e8ca3d92e3a77d7c2a145677623518bc2f978 Removed widget 'download_link', as it was a sub-version of widget 'binary': it did the exact same thing (representation of binary fields by means of a download link) in a much better-looking way (download icon + filename as text of the download link, instead of just a download link with text "Download"). Also, the values of binary fields might be already a human-readable binsize (e.g. 2.52 MBs), instead of its plain textual string representation in base64: The contextual parameter 'bin_size', when set to true, does not download the data of binary fields. As a consequence, the server provides the sizes of the binary, instead of their value.
2018-01-10[MERGE] forward port branch 11.0 up to ff0abd214c8Christophe Simonis
2018-01-09[MERGE] forward port branch saas-16 up to 4c410ee6a17Christophe Simonis
2018-01-09[FIX] web: properly format translatable stringMartin Trigaux
'Edit <type>View' makes untranslatable content as it is split in 3 and the type is not translated. e.g. 'Editer FormVoir'
2018-01-08[FIX] web: binary field format in list viewAlexandre Kühn
Binary fields were simply shown simply by their textual representation in list views, e.g. the base64 string. There was no formatter for binary fields, therefore it has been implemented so that it displays its estimated size. Binary fields in list views had a download link in v10.0. We provide this feature back by means of a widget called 'download_link'. It is also possible to define an option to set the field name having the filename as its value. Example: <tree> <field name="fname"/> <field name="datas" widget="download_link" options="{'filename': 'fname'}"/> </tree> with the following record: {fname: 'document.txt', datas: 'Cg=='}, we get a file named "document.txt" by clicking on the download link. Closes #21996
2018-01-04[FIX] mail,web: adapt email in m2m tags b92aaf1Nicolas Lempereur
Adapt commit b92aaf1 for framework changes in saas-16. That commit made Many2ManyTagsEmail widget display name_get gotten dynamically. This allow to have 'show_email' context key working and having the email displayed. This commit use the new views (as of saas-16) to do the same change. opw-801558 fixes #21812 fixes #21523 closes #21969
2017-11-28[MERGE] forward port branch 11.0 up to 8fb25e185bbChristophe Simonis
2017-11-22[FIX] web: correctly display modifiers in tooltipMartin Geubelle
Since odoo/odoo@da136d8 the modifiers in the widget attrs are parsed. `stringify` thus needs be to used when displaying them in the debug tooltip (to avoid to display [Object object]).
2017-11-20[IMP] web: hide in kanban tag's color (#20815)Alexandre Kühn
New feature: - New Transparent tag visual (grey border & text, white bg), - By default, newly created kanban tags are transparent, - Tag's colorpicker has now a 'Hide in Kanban' checkbox, to select the transparent color. Toggling off 'Hide in Kanban' sets the color of the tag as follow: - Previous color, if 'Hide in Kanban' was toggled on on the same formview session. - Color 1 (dark orange), otherwise.
2017-11-10[MERGE] forward port branch 11.0 up to 350973ff366Christophe Simonis
2017-11-10[FIX] web(_editor): enable mobile testsAaron Bohy
This rev. introduces a new test suite meant to test the webclient components on mobile devices. The key 'config.device.isMobile' is forced to true in this test suite, so that mobile specific JS files are properly executed, which isn't the case in the classic JS test suite (setting isMobile to true in the test definition is too late, as the JS files are already processed). For now, this new test suite contains a single test, which was skipped until this rev. as it couldn't be executed in the classical JS test suite. Both suites are executed at each build of the runbot, and they can be manually executed from the webclient as well (via the debug manager).
2017-10-21[MERGE] forward port branch 11.0 up to d70518d04f8Christophe Simonis
2017-10-20[MERGE] forward port branch saas-16 up to dc2a6c6cd2aChristophe Simonis
2017-10-20[FIX] web: correctly render the field imageMartin Geubelle
Before this commit, the image was directly built without using the corresponding template, which set some properties on the image (class, width, etc.).
2017-10-19[IMP] web: Improve alert banner to update translationsDhawal Limbuwala
Purpose ======= Simplify / reduce the warning message when we update a record in multi-languages Specification ============= 1/ Make the translation banner little bit lighter in design 2/ Make it still visible when coming back from breadcrumb
2017-10-18[IMP] web: Regenerate assets from debug menuKhoi Nguyen
This commit adds a "Regenerate Assets Bundles" entry in the debug menu, whose role is to unlink all assets from ir.attachment, forcing their regeneration.
2017-10-18[FIX] document: display create_date of attachment timezone aware (#20242)Lucas Perais
Before this commit, when putting the mouse over an attachment in the attachment drop menu list, the date time displayed was UTC only. After this commit, we convert that value to the correct timezone datetime. OPW 776704
2017-10-18[REF] web: remove dead template/code/filesGéry Debongnie
We sometimes need to clean up stuff. I am actually surprised that there were no more dead templates. We should do the same for css/less.
2017-10-13[MERGE] forward port branch saas-16 up to 8ee9024a4c8Christophe Simonis
2017-09-29[FIX] res_config: Don't lose left panel when clicking on links or actionsDeep Patel
1/ Lint 2/ Follow new .js guidelines (mainly re-sequence function alphabetically) 3/ Introduce BaseSetting.SearchHeader template for search header instead of replicating html code 4/ Add some comments in code 5/ When we close a modal or come back using breadcrumb, left panel is lost and all the settings are displayed. This commit fix the issue 6/ Remove the fact that the current app is in top of the app list 7/ Improve search
2017-09-28[FIX] web: review UI tag color systemqsm-odoo
- Kanban colors and tag colors are now the same - Tag color 0 (default) is now back to be the invisible kanban one - Same colorpicker for kanban and tags - Define correct number of colors (12 not 13) - Color 0 should be a neutral one (gray) - ...
2017-09-25[REF] web: preliminary work for the mobile Burger MenuAaron Bohy
2017-09-15[IMP] web: reference field: add 'hide_model' optionYannick Tivisse
It allows to see only records from a given model without allowing to change the model. It gives a better experience to users that choose records using a reference field when the model comes from some other choice and should not be changed.
2017-09-14[IMP] im_livechat: add copy to clipboard for the website live chat widget codeMitali Patel
This commit adds 2 buttons to copy directly the code needed to add the livechat in the website.
2017-09-06[REF] web: review form view layoutqsm-odoo
The goal of this review is to have a layout which is correct to implement the enterprise side-chatter. This also removes/fixes deprecated community rules and xml templates.
2017-09-05[REF] web, mail: change minors top-menu designstefanorigano
- Remove carets - Fix badges position - Vertical align user avatar - If a dropdown is open, the menu-toggle should appear active - Dropdown menus' widths should be at least as the dropdown-toggle
2017-09-01[IMP] web,account,...: Regroup settings, add a nav and search barDeep Patel
Purpose ======= Settings are often way too long and hard to scan and sometimes you don't know where to find the settings you're looking for. By adding a left navigation, you can already have an overview of the settings, and switch easily between them. Specification ============= - Add a search bar on all the apps that have settings which can search results from all the installed apps. (If i'm on sales settings,and I search anything then it shows results from sales settings and also shows all the other matching results from all the other apps such as, Inventory...etc) with app name. - Able to activate feature from the current page results (no matter if the searched result is from another apps). - Highlight searched word in results - Delete the sheet, have a full white background - Add left navigation bar on setting - Left navigation bar fixed - List displayed based on installed apps - On right panel, by default display current app setting and change accordingly - [Mobile] Left navigation bar displayed on top - Add Breadcrumb on top of the page: have the name "Settings" + Save / discard CTA + Search - Add General Settings on the nav bar - remove "save this page..." notif in all settings - Delete all recommanded apps section + all checkbox that install app should disappear: payroll: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrSkMzWVpuZ0ZoaFE/view?usp=drivesdk Events: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrYXlHMHd2NTM2blE/view?usp=drivesdk Manufacturing: Delete Repair - Quality Control - Maintenance - Product Lifecycle Management [LAP][ok] Timesheets: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdFg5XzNydkd2TlU/view?usp=drivesdk project: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrraWo3NE04TktwcTQ/view?usp=drivesdk inventory: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrQkRaVUR5ekFQYTQ/view?usp=drivesdk recruitment: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrbDdqLWQweF80UkE/view?usp=drivesdk purchase: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrRlAyUDBnb0trQWs/view?usp=drivesdk email marketing: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrOUZONjhvX2k3Y2s/view?usp=drivesdk expenses: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrR0JpN1ZpQmtxU3M/view?usp=drivesdk attendances: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrralpjZ1VJclNpMWs/view?usp=drivesdk - About duplicate settings: Docsaway: Delete from Sales + delete Default Print Provider Attributs & Variants: Delete from Purchases - Manufacturing Multi-currencies: delete from Sales Unit Of Measures: Delete from Purchase & Expenses - Add a scroll bar on the left bar when there's too many apps - Keep the navbar visible even when you search - Move General Settings to the bottom of the list - Update on Settings: - Accounting: - rename automatic rates - Anglo Saxon Account: Should be in technical feature - Place Accounting Reports section before Taxes section - CRM: - Phone Validation: Enforce international format becomes - Local Numbers: (2 radio buttons proposals) Add international prefix / No prefix - Fleet: typo " ... a new car if ..." + text is too long <br> - project: fix tooltip for colab pads
2017-08-24[MERGE] forward port branch saas-17 up to 877e7098719Christophe Simonis
2017-08-23[MERGE] forward port branch saas-16 up to aec6248bb37Christophe Simonis
2017-08-23[FIX] web: reimplement conditions in the "Set Default" dialogMartin Geubelle
The rev. https://github.com/odoo/odoo/commit/49f0413290821cb123e75b4546873cf98edf1d25 reintroduced the "Set Default" dialog but forgot the conditions part. This rev. reintroduces the missing part.
2017-07-26[MERGE] forward port branch saas-17 up to 3d4238f71e4Christophe Simonis
2017-07-24[FIX] web: frontend does not need X.tooltip templatesqsm-odoo
WidgetLabel.tooltip and WidgetButton.tooltip are backend static xml templates. They should never have been in base_common.xml.
2017-07-13[FIX] web: move 'SwitchCompanyMenu' xml in the right fileqsm-odoo
Since commit https://github.com/odoo/odoo/commit/09659cca30a98dd9a522c53918e389e0d8f667eb: The switch company menu feature has been introduced, which is a backend one. The associated static XML was placed in the common xml file by mistake.
2017-07-11[FIX] web,odoo: Remove remaining workflow related codeMehul Patel
2017-07-07[MERGE] forward port branch saas-16 up to 0f2b2c4e2b9Christophe Simonis
2017-07-07[FIX] web: explicit color attribute for m2m_tagsMartin Geubelle
Before this fix, the field 'color' was hardcoded in the m2m_tags widget, which means that: - one couldn't specify another field (problem for custom models, with x_...) - if the related model didn't have the field 'color', a warning was raised by the server Now, the color attribute needs to be specified on the widget options if one wants to display colored tags. If the color is not specified, the tags will be displayed in grey.
2017-06-29[FIX] web: handle 'domain' key returned by onchangesAaron Bohy
Onchange RPCs return an object that may contain a 'domain' key. When it does, its value is an object whose keys are field names and values are the new domain for the corresponding field. Before this rev., the 'domain' key was totally ignored by the BasicModel. This feature is used for example in the account.payment form view (go to an open invoice, click on 'Register payment'): the domain of field payment_method_id is updated by the onchanges (e.g. when changing the journal_id). As the domain was ignored, it always displayed all possible payment methods.
2017-06-28[FIX] web: deal with reference fieldsMartin Geubelle
The reference fields haven't been correctly implemented with the new views. This commit restores their behaviour. Note that an small improvement has been introduced in this commit. Before saas-16, a `name_get` was done for each record (so 80 if the field was displayed in a full list view), which is not optimal. The calls are now batched by model (so one `name_get` by model appearing in the field values).
2017-06-27[MERGE] forward port branch saas-16 up to 278e478d552Christophe Simonis
2017-06-20[IMP] base_automation: Improve field labels naming in automated actionPrakash Prajapati
Purpose ======= Some field labels are not very explicit Specification ============= - Rename "Base Model" into "Model" - Change "Trigger condition" (Condition Frist char(C) uppercase) - Rename Domain into Apply on
2017-06-19[FIX] web: use 'o_input' class on search view elementsqsm-odoo
Since the new views, the 'o_input' class has to be set explicitely on <input/> and <select/> elements to have the proper styling.
2017-06-09[MERGE] forward port branch saas-16 up to cc38b93ab2aChristophe Simonis
2017-06-09[MERGE] forward port branch saas-15 up to 49f819a7a79Christophe Simonis
2017-06-09[MERGE] forward port branch saas-14 up to b6c7d718995Christophe Simonis
2017-06-09[MERGE] forward port branch 10.0 up to cd1a8f62527Christophe Simonis
2017-06-08[FIX] web: CrashManager can crash if trying to show an empty messagexmo-odoo
If `d.message` is an empty string, `!!d.message` is false and the crashmanager will try to display `d.error.data.message`… which does not exist as it's a warning with an empty message not an upstream error. That causes the crashmanager itself to crash, and even the warning name/title to be lost.
2017-06-07[FIX] project: fix traceback while setting cover imageHarshad Modi
from project task kanban view (PR #17165)