summaryrefslogtreecommitdiff
path: root/doc/reference
AgeCommit message (Collapse)Author
2019-09-03[MERGE] forward port branch 12.0 up to 82c0e9b620bChristophe Simonis
2019-09-02[MERGE] forward port branch saas-11.3 up to 79ff916b596Christophe Simonis
2019-09-02[MERGE] forward port branch 11.0 up to 61a85ccf8f9Christophe Simonis
2019-09-02[MERGE] forward port branch saas-15 up to dc934d67ddeChristophe Simonis
2019-09-02[MERGE] forward port branch 10.0 up to c7c68bab842Christophe Simonis
2019-08-30[MERGE] forward port branch 12.0 up to 52f6e38cea8Christophe Simonis
2019-08-29[MERGE] forward port branch saas-11.3 up to ede253f1b2eChristophe Simonis
2019-08-29[MERGE] forward port branch 11.0 up to d61873ac4a3Christophe Simonis
2019-08-29[FIX] doc: explanation for pg_pathRichard Mathot
opw-2060249 closes odoo/odoo#36223 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-08-28[FIX] doc: add parent_of operatorFlorent de Labarre
closes odoo/odoo#32558 Signed-off-by: vfe <Feyensv@users.noreply.github.com>
2019-08-28[IMP] web: remove m2o from supportedTypes in selection widgetMohammed Shekha
currently widget selection is not working in m2o in editable list view and to fix this issue it need a lots of changes to make it work properly, i.e. make '_fetchSpecialRelation' use correct domain for each record, batch requests as much as possible, also make all '_fetchSpecial...' work in the list case. So to avoid major changes remove supportedTypes from selection widget so user can not tempted to apply selection widget on many2one field. task-1871698 closes odoo/odoo#33485 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-08-19[MERGE] forward port branch 11.0 up to 1e4de19cd49Christophe Simonis
2019-08-19[MERGE] forward port branch 12.0 up to 32039b2ab44Christophe Simonis
2019-08-19[MERGE] forward port branch saas-11.3 up to 121034f79a6Christophe Simonis
2019-08-14[IMP] doc: add t-name t-extend to QWeb JSSébastien Theys
task-2040835 closes odoo/odoo#35116 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2019-07-22[MERGE] Forward port of 11.0 to saas-11.3 up to eb4700f17f5Martin Trigaux
closes odoo/odoo#35054 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-18[IMP] doc: add some documentation of the attributes operationDhawal Limbuwala
closes odoo/odoo#20818 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-07-25[FIX] web: properly handle (grouped list) pagerGéry Debongnie
when last field is numeric closes odoo/odoo#35176 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-07-24[FIX] web: improve editable list column widthsJulien Mougenot
Changed the way some field types are displayed. Before this commit, column width in a list were calculated according to a given factor (integer), determining their weight. Now, some specific fields have an hardcoded width instead. This task also slightly tweaks some width factors, in order to try to have a better layout in most list views Task 1985916 closes odoo/odoo#35147 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-07-24[MERGE] Forward port of saas-12.2 to saas-12.3 up to 860ab5a1c28baMartin Trigaux
closes odoo/odoo#35119 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-23[FIX] web: allow groupby buttons in list view at any levelGéry Debongnie
The initial implementation of the special group by buttons in list groups only supported the first level of groupby. So, if one grouped a list view by field A, it worked (if A had a groupby defined). However, if we want to group by B/A, this no longer works. opw 2040725 closes odoo/odoo#35090 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-07-23[MERGE] Forward port of 12.0 to saas-12.2 up to 5e4c1b370123deeMartin Trigaux
2019-07-22[MERGE] Forward port of saas-11.3 to 12.0 up to 06f8f046991Martin Trigaux
closes odoo/odoo#35064 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-08[MERGE] forward port branch 11.0 up to d01db480872Christophe Simonis
2019-05-08[MERGE] forward port branch saas-15 up to 82f88478cf8Christophe Simonis
2019-05-08[MERGE] forward port branch 10.0 up to a48318cb33eChristophe Simonis
2019-05-03[FIX] doc: fix typo in qweb documentationYenthe666
closes odoo/odoo#32670 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-13[MERGE] forward port branch saas-12.2 up to 243a4ae5cbcChristophe Simonis
2019-05-10[MERGE] forward port branch saas-12.1 up to 330b99f60c0Christophe Simonis
2019-05-09[MERGE] forward port branch 12.0 up to e11bacfe512Christophe Simonis
2019-05-09[MERGE] forward port branch saas-11.3 up to 825fee2626cChristophe Simonis
2019-05-02[FIX] doc: git guidelines, don't use # for task/opwJeremy Kersten
Use task-#xxx is wrong since it will refer to an unexising or wrong hash of github. closes odoo/odoo#33121 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-04-02[IMP] web: editable list: table-layout: fixedAaron Bohy
This rev. changes the layout of *editable* list views to a fixed layout. This means that we are now responsible of the width of each column. To do that, we associate with each field type a factor, and the higher the factor is, the larger the column will be (w.r.t. the others). This default value can be overriden in the arch. The fixed layout allows to remove the absolute positionning of widgets inside editable lists (done in the next commit). Part of task 1915702 Co-authored-by: Martin Geubelle <mge@odoo.com>
2019-04-02[IMP] web,base: put buttons in list group headersMartin Geubelle
It is now possible to put buttons in the list view group headers. When the view is grouped by a many2one field, those buttons appear next to the header title when the group is opened. The buttons are specified in the views in a <groupby> tag in the list arch, with the following structure: <groupby name="groupedField"> <!-- must be a many2one --> <button type="object" name="my_method" string="Button1"/> </groupby> It is also possible to add `field`, inside the `groupby` which can be used for modifiers. These fields thus belong on the many2one comodel, like: <groupby name="partner_id"> <field name="name"/> <!-- name of partner_id --> <button type="object" name="my_method" string="Button1" attrs="{'invisible': [('name', '=', 'Georges')]}"/> </groupby> These extra fields are fetched in batch when grouping on the field. Part of task 1915702
2019-04-02[IMP] web,board: enable pagination in grouped listsAaron Bohy
With this rev., when there are a lot of groups in a grouped list view, groups are displayed under several pages, whereas they were all displayed in the same page before. This is especially interesting with the new 'expand' attribute, to ensure that we don't read records for a large number of groups. By default, the groups limit is set to 80 (like records), and to 10 is the 'expand' attribute is set to true. This limit can be overriden with the 'groups_limit' attribute. Part of task 1915702
2019-04-02[IMP] web: list: add expand attrsAaron Bohy
When this attribute is set to true on the <tree> root node, in a grouped list view, first level groups are automatically opened. Part of task 1915702
2019-04-02[IMP] web: list: import attrsAaron Bohy
The 'import' attrs is valid according to the rng definition of the list view. It is used in a few views in Odoo. However, it didn't actually work (in most cases, it worked by chance because it is set to "0" in addition to create="0", and create="0" already disables the import feature). With this ref, the 'import' attrs is taken into account and we can now disable the import feature even if the create one is enabled. Moreover, it is now documented.
2019-04-02[REF] base,account: list: remove deprecated attrsAaron Bohy
The 'toolbar' attribute is not referenced in the documentation, and it has no effect since at least v10. The 'on_write' attribute was referenced in the documentation, but is no longer used in Odoo and has no effect since at least v11. The 'colors' and 'fonts' attributes are deprecated since v9, and have no effect since v10. The 'string' attribute is deprecated since v8 and has no effect since v9. However, it is widely used in Odoo, so we must remove all occurrences before removing it from the rng.
2019-03-19[MERGE] forward port branch 12.0 up to 82c4393fd02Christophe Simonis
2019-03-05[IMP] guidelines: remove actually wanted PEP8 optionsThibault Delavallée
Task-1817988 closes odoo/odoo#28714 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-03-05[IMP] guidelines: improve xml ids naming sectionThibault Delavallée
* rewording of XML naming section * remove the convention of suffixing inherited XML ids with `_inherit_my_module, as the information is in the complete XML id name (prefixed by module name). This will avoid too long XML ids. * extend convention for the name of groups, views, ... Task-1817988
2019-03-05[IMP] doc: add guidelines for window actions namingThibault Delavallée
Rewording of "action" naming section. Task-1817988
2019-03-05[IMP] doc: rewrite part of module structure and js references guidelinesjem-odoo
This commit * removes deprecated guidelines for static file and assets struture; * fixes some typo and mistakes; * correctly links JS guidelines section; * adds a running example to ease understanding; * adds missing section about security files; * adds text blocks for each directory to show directly the expected result of each section; * perform some rewording; Thanks to @pedrobaeza for its review. Task-1817988
2019-03-21[MERGE] forward port branch saas-12.1 up to 6878c9f3424Christophe Simonis
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-02-20[MERGE] forward port branch 11.0 up to de8cefcef4dChristophe Simonis
2019-02-19[MERGE] forward port branch 10.0 up to 6cf4f4924b0Christophe Simonis
2019-03-27[IMP] web: allow multiple fields in form viewsSarah Van Bogaert
This feature was already working in the actual version of Odoo but it is now tested. The following features are supported: - When the value of one widget is modified, the other ones change accordingly - The modifiers 'invisible' and 'readonly' are applied correctly if they differ between widgets. However, the modifiers 'required' must be equal for the several fields, otherwise the behavior is not guaranteed. closes odoo/odoo#32158 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
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>