summaryrefslogtreecommitdiff
path: root/addons/note
AgeCommit message (Collapse)Author
2019-04-05[MERGE] forward port branch saas-12.2 up to f2be461f090Christophe Simonis
2019-04-05[MERGE] forward port branch saas-12.1 up to f2d0995362cChristophe Simonis
2019-04-04[MERGE] forward port branch 12.0 up to 251021796c2Christophe Simonis
2019-03-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-20[I18N] export saas-12.2 source termsMartin Trigaux
closes odoo/odoo#31985 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-02-22[MERGE] forward port branch saas-12.1 up to 0f4abc5c228Christophe Simonis
2019-02-21[MERGE] forward port branch 12.0 up to 84143a34b31Christophe Simonis
2019-03-25[MERGE] forward port branch saas-12.2 up to 230ad8c381eChristophe Simonis
closes odoo/odoo#32088 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-03-06[REF] note: adapt code after jQuery updateVincent Schippefilt
Part of task 1896658 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com> Co-authored-by: svs-odoo <svs@odoo.com> Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
2019-02-19[IMP] *: Add progress bar on kanban views based on activitiesVandan Shah
Purpose ======= If the activities are available on a model (i.e. inherits mail.activity.mixin), add a progress bar based on the activities if nothing is defined yet. closes odoo/odoo#24777
2019-02-19[FIX] note: display date picker in activity menuXavierDo
The date picker should be displayed when clicking on the fa-calendar when creating a note from activity systray. The test was missing the assertion checking that the date picker was displayed, but fixing this issue breaks the test. The datepicker looks to be asynchronously initialized, and the blur event raises an error because of that. Since it is difficult to test external libs behaviour, this step is simply removed from the test. Task: 1942850 closes odoo/odoo#31241
2019-02-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-04-03[FIX] note: user on stageNicolas Martinelli
Set the user as admin instead of root, othrewise the stage list looks empty. opw-1963212 closes odoo/odoo#32361 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-03-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-29[I18N] *: export 12.0 source termsMartin Trigaux
Some changes were not reflected in 12.0. Changes made in .pot in previous versions were not forward ported Closes odoo/odoo#32238
2019-03-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-15[I18N] export 12.0 source termsMartin Trigaux
Mostly following changes at 7f8631a913de7 closes odoo/odoo#30072
2019-01-06[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-16[I18N] export saas-12.1 source termsMartin Trigaux
To reflect fixes at ec2263080abba and cd4080839f501a closes odoo/odoo#30253
2018-12-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-12[MERGE] forward port branch 12.0 up to 047e2b28de4Christophe Simonis
2018-12-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-05[MERGE] forward port branch 12.0 up to 053bb45706fChristophe Simonis
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-21[I18N] Update translation terms from TransifexOdoo Translation Bot
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.
2019-01-28[MERGE] forward port branch saas-12.1 up to d3b8422c9c4Christophe Simonis
closes odoo/odoo#30614
2019-01-17[IMP] mail: upload a file to mark activity as donejem-odoo
This commit introduces the "upload file" activity type category. For an activity of that time, uploading a file will mark the activity as done (and maybe create the forced next activities). This activity type is seen as a shortcut to upload a file with a reminder. Task-1915004 closes odoo/odoo#29861
2019-01-17[IMP] web_editor,*: Refactoring the wysiwyg editor and 'html' fieldChristophe Matthieu
* Creating a new structure by transforming all the plugins in the library using the odoo inheritance system. Plugins are easier to implement with the AbstractPlugin to add Odoo behaviors. * From now on, the methods of the library (in this case Summernote) can no longer be called by other modules or files. Only the wysiwyg widgets can access it, to simplify the updating process. The wysiwyg object serves as an interface. * Depending on the options the snippets will be loaded or not, the editor will be in an iframe or not... all of this is transparent from the outside. * Regarding iframes, all controllers related to editing have been removed: the new API no longer needs them. This speeds up loading, eases testing and removes complexity for the same features. PUBLIC FEATURES There are several public methods on the Wysiwyg class: * Wysiwyg.prepare (WidgetParent): returns a deferred resolved when the library (xml, lazy, assets...) is loaded. * Wysiwyg.getRange (DOM): returns the range (selection in the dom) * Wysiwyg.setRange (startNode, startOffset, endNode, endOffset): creates a range (selection in the dom) * Wysiwyg.setRangeFromNode (DOM, options) that creates a range from an element (option available to select all, start or end) A jQuery selector was added: :o_editable, which indicates whether the current element is editable. That is, if it is contained in a tag with the attribute 'contentEditable = "true"' or in a tag with the class o_editable. Several methods are also present: * focusIn: makes a focus and places the cursor at the beginning of the element * focusInEnd: makes a focus and places the cursor at the end of the element * selectContent: makes a focus and selects the content HTML FIELD The HTML field can receive different options: * style-inline: {boolean} transforms a class into an inline style when saving and vice versa when reading. * no-attachment: {boolean} prevents the use of attachments (in media dialog) * cssEdit: {xml_id} to use a template containing the css to loaded in an iframe when editing * cssReadonly: {xml_id} to use a template containing the css to load into an iframe when viewing in readonly * snippets: {xml_id} snippets template (can be used with or without cssEdit) * wrapper: {template} qweb static template (containing a tag: id = "wrapper") that will include the content during editing (removed on save) MASS MAILING A widget was created for mass mailing. There are now two fields: body_html and body_arch. body_arch contains the code with the class without conversion into inline style, useful when editing and one with the inline style that is visible in readonly mode and sent by email. Advantage: no spreading errors, able to update css/theme, able to do more changes when converting to inline style so that a maximum of mail clients have an impeccable rendering. Co-authored-by: Antoine Guenet <age@odoo.com>
2018-11-12[MERGE] forward port branch 12.0 up to a403155dec7Christophe Simonis
2018-11-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-06[MERGE] forward port branch 12.0 up to dd70c684268Christophe Simonis
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