summaryrefslogtreecommitdiff
path: root/addons/document
AgeCommit message (Collapse)Author
2018-12-06[REF] document, attachment_indexation: renames the module documentThanhDodeurOdoo
This commit renames the module document into attachment_indexation to provide a more descriptive name and avoid confusion with enterprise's documents module. task: #1908896
2018-12-06Revert "[FIX] document: JS feature disabled"ThanhDodeurOdoo
This reverts commit 1dbb555a Bring the sidebar attachment dropdown feature back. This feature was removed due to be considered as useless, but since some models can have attachement without a mail_thread, this feature is still necessary. task: #1908896
2018-12-05[MERGE] forward port branch 12.0 up to 053bb45706fChristophe Simonis
2018-12-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-29[MERGE] forward port branch 12.0 up to 82a1e1dcc33Christophe Simonis
2018-11-23[MERGE] forward port branch 12.0 up to b3052b690faChristophe Simonis
2018-11-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-19[REF] *: update js test suite to use helpersGéry Debongnie
This rev. introduces robust helpers to use in the JS tests suite to interact with DOM and components, and starts using them (almost) everywhere. All the helpers are exposed though testUtils.js. There are 2 kinds of helpers: 1. Assertions ------------- * assert.containsNone, containsN, containsOnce check that the DOM (or a specific part of the DOM) contains a `selector`. It generates a correct error message automatically. ex: assert.strictEqual(form.$('.o_form_editable'), 1, "msg"); -> assert.containsOnce(form, '.o_form_editable'); * assert.isVisible, isNotVisible check that the DOM has an element visible or not. They also check that the element is actually in the DOM (before most tests didn't verify this). * assert.hasClass, doesNotHaveClass, hasAttrVAlue, check specific properties of a DOM element, and also validate that it is applied on a single existing DOM element (before most tests didn't verify this). ex: assert.notOk(form.$('button').hasClass('btn-primary')); -> assert.doesNotHaveClass(form.$('button'), 'btn-primary'); 2. Utilities ------------ The goal of the utilities is to centralize the definition of many standard components and interactions, ensuring that when we refactor the JS framework, we do not need to change all the tests. Existing mock utilities (addMockEnvironment, intercept, path, patchDate, unpatch and fieldsViewGet) are moved to 'testUtils.mock.*'. Existing DOM utilities are moved to 'testUtils.dom.*'. New dom utilities are created for opendDatePicker, click, clickFirst and clickLast. Helper `click` verifies that there is exactly 1 element visible in the DOM you click on, `clickFirst` and `clickLast` verify that there are more than one element on the DOM. ex: form.$('button').click(); -> testUtils.dom.click(form.$('button')); New Form utilities: (testUtils.form.*) clickEdit, clickSave, clickCreate, clickDiscard, all clicks on the control panel buttons of the form. `reload` reloads the form data. New modal, graph, kanban and pivot utils (testUtils.pivot.*, testUtils.kanban.*, etc.). New fields utils: (testUtils.fields.*) * editInput, editSelect: allow to change the value of a field, using a selector to identify it. They validate that the input exists and trigger the change event automatically. * editAndTrigger: allow to modify a field and trigger specific events after the value change * many2one (testUtils.fields.many2one.*) clickOpenDropdown, clickHighlightedItem, clickItem, searchAndClickItem: use a field name instead of a selector and do all the complex mechanism to open, filter and highlight many2one fields. Joint work with aab, dam, ged, mge, svs and vsc.
2018-11-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-10[FIX] document: JS feature disabledThanhDodeurOdoo
Reason: This feature currently has unfixed bugs, does an unnecessary RPC and was functionally replaced by a button inside the chatter in commit 7f97c9f and the menu inside the debug manager in commit d12b88315. This commit disables the JS part of the document module to prepare for the complete removal of the whole module and the MOV of the indexation to base. Closes #27613
2018-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-01[MERGE] forward port branch saas-11.4 up to 57e387b6452Christophe Simonis
2018-10-01[MERGE] forward port branch saas-11.3 up to e980af9df00Christophe Simonis
2018-10-01[MERGE] forward port branch 11.0 up to a9a556178d5Christophe Simonis
2018-09-27[FIX] document: update environment before attachments updatelen-odoo
Fine-tuning of commit: b3a3ad80991265c50f38fd20588df9a69b6bcf67 ac1e187eea33266095f49a9e1e1ea6b0698be865 The environment should be updated before the call to _updateAttachments, as it depends on the env active_id. opw 1888651 closes odoo/odoo#27277
2018-09-26[MERGE] forward port branch 11.0 up to fd122aec521Christophe Simonis
2018-09-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-21[I18N] export saas-11.5 source termsMartin Trigaux
2018-09-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-18[I18N] export saas-11.5 source termsMartin trigaux
To match new model_terms syntax
2018-09-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-08-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-08-26[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-08-22[MERGE] forward port branch saas-11.4 up to ef6b574eda3Christophe Simonis
2018-08-21[MERGE] forward port branch saas-11.3 up to 6cc7d3f9451Christophe Simonis
2018-08-21[MERGE] forward port branch 11.0 up to fbfb91799eeChristophe Simonis
2018-08-17[FIX] document: no query attachment out of form viewNicolas Lempereur
Since cce70fd4 the attachment menu is only displayed for form view. But if in another view there is active_ids (eg. selecting record in a list view), we will still make a query to ir.attachment without using the result. Without the code change, the added test would fail when doing a search_read RPC call to ir.attachment model. related to #26213
2018-08-17[IMP] document: added QUnit testcaseKirti Choudhary
note: backport 562d467 from saas-11.2 to 11.0 to add a similar test related to #26213
2018-08-17[I18N] resynchronise all translations with .potMartin Trigaux
Regenerate all child translations based on the .pot Remove the terms that are either equal to the parent, either equal to the source term. Remove empty translation files
2018-08-12[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-08-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-08-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-21[FIX] document: updateEnv->redraw on not form viewNicolas Lempereur
In ac1e187ee some unecessary code and RPC were removed by ignoring attachments in the sidebar when they would never be shown. But there was an regression since `updateEnv` function would not longer call redraw (which is also called in _super function). report: https://github.com/odoo/odoo/commit/ac1e187eea3#r30569171 related to opw-1865736 closes #27146
2018-07-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-06-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-06-25[I18N] export saas-11.3 translationsMartin Trigaux
To odoo-master Transifex project
2018-07-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-06-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-05-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-05-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-05-20[I18N] Update translation terms from TransifexOdoo Translation Bot