Commit Graph
2789 Commits
Author SHA1 Message Date
Victor Feyens f09e7fbaa8 [IMP] doc: build a module links
closes odoo/odoo#39395

X-original-commit: af66df3337e3a5cbf3cb7b7832460f0af1d97cc7
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-10-25 15:25:01 +00:00
Victor Feyens 5eec683183 [IMP] doc: guidelines references + minor corrections
X-original-commit: c83e999c6a8b16f78dfd9f944936439a53d2b52f
2019-10-25 15:25:01 +00:00
Victor Feyens 1b87271106 [IMP] doc: controllers organisation + minor correction
X-original-commit: c58751f21b49173cb51afd9ff2f01077f7610fb5
2019-10-25 15:25:00 +00:00
Victor Feyens 3917aa5fa2 [IMP] doc: views column_invisible info
X-original-commit: 82a90aa23c3d64b2d2e0cfa9d545b34fb33ec337
2019-10-25 15:25:00 +00:00
Victor Feyens 74a5b93fc3 [REM] doc: views business guidelines
Old outdated Odoo screenshots, and UI guidelines have no worth in the doc...

X-original-commit: c260f4af275d2b5b745f97274a7571bd1211eb0e
2019-10-25 15:25:00 +00:00
Nathan Perry b4e3635b9a [CLA] signature for servel333
closes odoo/odoo#39348

X-original-commit: 7ae417a935388a64c0ce94c611b85fae52f0dcc9
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-10-24 14:27:31 +00:00
Adrien Horgnies 3681b19106 [FIX] doc: configuration section to use for cli args 2019-10-24 08:16:39 +00:00
jacksun111 ad877d352f [CLA] add new employees to Inspur CCLA
closes odoo/odoo#38918

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-17 14:11:15 +00:00
Debauche Stéphane e981e3312d [IMP] web: many2many_binary, binary, image, add the option `accepted_file_extensions`
Purpose
=======
We want to add an option on the widgets
- many2many_binary,
- binary,
- image

This option specifies what file extensions the user can pick from the file input dialog box.

Examples
========
```xml
<field widget="many2many_binary" options="{'accepted_file_extensions': 'image/*'}"/>
<field widget="many2many_binary" options="{'accepted_file_extensions': '.png,.jpeg'}"/>
<field widget="many2many_binary" options="{'accepted_file_extensions': 'application/pdf'}"/>
<field widget="image" options="{'accepted_file_extensions': '.png,.jpeg'}"/>
<field widget="binary" options="{'accepted_file_extensions': '.pdf,.svg'}"/>
```

How
===
Add an option (accepted_file_extensions) in the template ``HiddenInputFile`` (the widget many2many_binary is using this template)
So, we can also use this new option in others widgets using ``HiddenInputFile``
In the many2many_binary, read the ``nodeOptions`` and set the widget attribute ``accepted_file_extensions``

We also have to fix some other widget, because an property ``image_only`` was already existing in the template ``HiddenInputFile``
(we just need to replace ``image_only=True`` to ``accepted_file_extensions='image/*'``

The widget ``FieldPdfViewer`` (pdf_viewer) now use the new option to filtrate PDF
(instead of removing the <input/> and adding <input accept='.pdf'/>).

Tests
=====
We also test if the option is correctly set on the <input/>
- binary
- image
- many2many_binary

Impacted widgets
===============
- many2many_binary
- image: this widget use ``options="{accepted_file_extensions='image/*'}"`` instead of ``image_only=True``
- tablet_image: same as ``image``

Task #2082815

closes odoo/odoo#38351

Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-10-16 13:57:49 +00:00
Quentin Nicolay d59b67a915 [FIX] web: add 'no_edit_color' option to many2many_tags
This option, if set to True, prevents the user from modifying the
color of the tags.

Part of task 2070454

closes odoo/odoo#38848

X-original-commit: a62b65a8f9114493064d4efae92825814a880c04
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-10-16 08:26:10 +00:00
Francisco Fernández @PlanetaTIC 607085166d [CLA] PlanetaTIC: Add JMPinyol as contributor
closes odoo/odoo#38829

X-original-commit: 62d7eaf865ca31574b8efb73d3cfb7836ed60da3
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-15 16:40:05 +00:00
Martin Trigaux e7c70e3635 [FIX] packaging,doc: minimum python version is 3.6
In 12.0 it was 3.5 but for 13.0, it is acceptable 3.6.
Debian Buster has 3.7 and Ubuntu 18.04 LTS has 3.6
This will avoid undeterminist errors with OrderedDict

CentOS 7 still does not ship python3 by default but it is possible to
install it and CentOS 8 with python 3.6 was released in septembre 2019

closes odoo/odoo#38827

X-original-commit: 14e3e7524c2edd08ddf19afe512cb4462d070c0b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-15 16:07:07 +00:00
Juan Fernando Cano González 024a0afd9f [CLA] Nanobytes signs Odoo CCLA
closes odoo/odoo#38822

X-original-commit: 17eb935f0999799c694681e9aa9b356525182462
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-15 15:18:57 +00:00
Romeo Fragomeli 547d2d87fc [FIX] web: not possible to show a notification via client action
Before this commit, it was not possible to show a message using a client
action. (e.g. show a success message only with core in Python)

Now, it's possible using a client action. This client action call
displayNotification and so we can use the same options also.

A test is added to be sure that this action do not change the current action

Note: in the future a custom registry may be created in a refactoring
to specific function action registry.

X-original-commit: 8775fd670b6b3ec19a77fc0eab72d2223baa36c8
2019-10-14 12:11:23 +00:00
Denny Biasiolli b8d051a9aa [CLA] signature for Denny Biasiolli
X-original-commit: 4cc757e9d441bbfe348862ff8fce27d33a8442bb
2019-10-11 10:00:08 +00:00
Jigar Patel 7704a56df1 [IMP] doc: update documentation of map view
For simplicity marker popup fields are declared as a direct child of the root
element.
consistency in the name of marker popup fields
added new 'hide_name' and 'hide_address' option in the calendar view

task-2009017

closes odoo/odoo#37433

Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-10-10 12:03:34 +00:00
Christophe Simonis d74b451805 [MERGE] forward port branch 13.0 up to f4105eb9c7 2019-10-09 02:08:17 +02:00
Sébastien Alix 642f9d0064 [CLA] adds sebalix to camptocamp's CLA
Done at #37957
2019-10-08 12:39:22 +00:00
Victor Feyens 09221fe246 [FIX] doc: fix some sphinx warnings.
closes odoo/odoo#38170

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-10-08 09:36:59 +00:00
mreficent 41c434cd5d [FIX] v13 urls
Was still pointing to old links

closes odoo/odoo#37859

Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
2019-10-03 12:48:09 +00:00
Florent de Labarre 7e6e9df12f [IMP] doc: add missing attributes
Add documentation about model attributes
_parent_name
_date_name
_fold_name
_translate

Forward port of #32559 to 13.0

closes odoo/odoo#37840

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-10-03 07:33:17 +00:00
Jean-Charles Drubay 8977ab7d09 [CLA] corporate CLA for Komit
closes odoo/odoo#37841

X-original-commit: 182740fc7be93a5fc928b9a871ea5c4c7ae2b576
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-02 18:04:16 +00:00
Kishan Gajjar f96d6a9911 [CLA] signs the CLA for kig-odoo
Done at odoo/odoo#36271
2019-10-02 10:14:01 +00:00
Andrii Skrypka 92db71ccc4 [CLA] signature for kos94ok-3D
closes odoo/odoo#37746

X-original-commit: fa70ceb4a438cc773ad8c8c7f60959b1861c16aa
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-10-01 19:12:05 +00:00
Muhammad Awais 0c1dbed1bc [FIX] doc: add missing ">"
Unclosed tag

closes odoo/odoo#37744

X-original-commit: a0612f5a17e08e13362034203995944756a7c0be
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-10-01 18:28:57 +00:00
Danuel WIlliams 8c945a8bdf [FIX] doc: Update Kanban Exercise code
Field name was incorrecty spelt. Replace 'openacad.session.kanban'
with 'openacademy.session.kanban'

closes odoo/odoo#37736

X-original-commit: 1043d1622947614d2d4e7f237c73e1b92191d099
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-01 16:52:01 +00:00
Danuel WIlliams 0fa9fcbd1b [CLA] signature for joeycodinja
Done at odoo/odoo#31609

X-original-commit: 26c2ee717f0f81649100bd7b5b271a219aa3054a
2019-10-01 16:52:01 +00:00
Muhammad Awais 750bff8c39 [CLA] signature for herawais
closes odoo/odoo#37685

X-original-commit: 65d8d3fb5e5d592ef0a0cb49c37baf5ed34298fd
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-10-01 11:28:55 +00:00
Yenthe666 3bd70d91fe [CLA] remove Yenthe from Odoo Experts
closes odoo/odoo#37637

X-original-commit: 028def41de94e6f123f816ee6fcd4ef31a7033f0
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-30 19:24:13 +00:00
Eric Channey 3ecd6a6155 [CLA] signature for ezchan
closes odoo/odoo#37628

X-original-commit: ab2655912e017cbe0fcfadc937eaef44eaaa91f7
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-30 15:59:01 +00:00
Vincent Schippefilt e06117bd85 [FIX] web: multi-hell-ditable list
only activate multi-edit on list with specific attribute.
When the attribute multi_edit="1" is set on the tree view the user
can select a/some records and it will activate the multi-edit
with confirmation dialog (even for a single record).
Also, on-change are not applied when using multi-edit

closes odoo/odoo#37525

Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-09-30 08:57:23 +00:00
Christophe Simonis d67b2483e5 [MERGE] forward port branch saas-12.4 up to 9ed4872ea0
closes odoo/odoo#37372

Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-24 17:45:37 +00:00
Christophe Simonis ac4fc6e7c7 [MERGE] forward port branch saas-12.3 up to bd3e510edb
closes odoo/odoo#37314

Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-24 09:44:56 +00:00
Antoine Vandevenne (anv) 06915120ab [IMP] doc: rewrite of the source install page
Prior to this commit, the documentation page for the installation of Odoo had lots of inconsistencies, errouneous information and a bad structure.

This commit restructures the page to split the Source Install chapter into three sections for Windows, Linux and Mac OS.
Each section is entirely rewritten to be accurate, logical, clean, easy to understand and focused on its purpose (removed tutorials of non-Odoo softwares).

task-2072822

closes odoo/odoo#37001

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-09-20 13:00:43 +00:00
Victor Feyens 0a76e75b96 [DOC] cmdline/odoo-bin : add --without-demo, shell + reorganize
closes odoo/odoo#36809

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-18 08:55:01 +00:00
Victor Feyens ffc69127f8 [DOC] Data files : noupdate information + examples
Solves #26818
2019-09-18 08:54:51 +00:00
Victor Feyens ef5251c0d7 [DOC] cmdline scaffold example 2019-09-18 08:54:40 +00:00
Victor Feyens 65093459e9 [DOC] ir actions report minor fixes 2019-09-18 08:54:29 +00:00
Victor Feyens 96e208c191 [DOC] Ir Actions Server documentation
Since commit 8fa9f7d6d4 refactoring the
actions server, the documentation was outdated.

This commit removes and fixes the documentation on ir.actions.server.
Also adds the display of the docstring of the IrActionsServer class from
odoo.addons.base.models.ir_actions.

Solves #31044
2019-09-18 08:54:07 +00:00
Victor Feyens 240e2d51ea [REM] unused odoo/doc/reference/test-report.txt 2019-09-18 08:53:57 +00:00
Victor Feyens b94b08e579 [DOC] ir.actions.act_window.view 2019-09-18 08:53:48 +00:00
Victor Feyens dc350c503a [DOC] sphinx warning removal 2019-09-18 08:53:38 +00:00
Victor Feyens da01e44bb7 [DOC] fix module.rst 2019-09-18 08:53:27 +00:00
Victor Feyens 004f9e09da [DOC] https links for sites supporting https 2019-09-18 08:52:50 +00:00
Victor Feyens 87003e214e [DOC] batch of UI, Https, linter corrections 2019-09-18 08:52:34 +00:00
Victor Feyens 0ddeb22095 [DOC] actions : add ir.cron documentation 2019-09-18 08:48:28 +00:00
Christophe Simonis 080f8b1f96 [MERGE] forward port branch saas-12.3 up to d8ce75466e 2019-09-17 17:49:09 +02:00
Jairo Llopis 5dad570423 [FIX] *: remove buggy calls to with_context
When .with_context() is called with a dictionary as 1st positional
argument, it will replace context (and not modify the referenced keys)
It may create bugs when losing the content of the context (e.g. remove
partner's language)

This is a partial merge of #36164 without the inventory part as
discussed.

closes odoo/odoo#36729

X-forward: 4717ccfa
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-12 06:18:18 +00:00
Saad Thaifa 50e571acf7 [CLA] Corporate signature for Karizma Conseil
closes odoo/odoo#36642

X-original-commit: 8fbb3c4a68bb1ba2f1863c1172b4f50c130a0ed2
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-10 14:22:41 +00:00
Yoshi Tashiro 1eee83c362 [CLA] update quartile CCLA
Add nakometal

closes odoo/odoo#36648

X-original-commit: dea26325f517594d975c3cba8fd90fe707c999ab
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-10 15:07:12 +00:00