Commit Graph
2811 Commits
Author SHA1 Message Date
shreya thakrar 4b73bd25a9 [IMP] doc: form view documentation improvement
Using studio odoo doesn't let user drop notebook in a group since it
generates issues with the notebook. (See https://github.com/odoo/enterprise/commit/ea5ccd548bb6781e5ccdf76cf11255c6fd6aa3cb )

For better understanding, a note for 'notebook' tag is added by this commit.

task -  2060330

closes odoo/odoo#41264

X-original-commit: a2d331af0df859fd29e84bfa30a9086c3d2e0fa8
Related: odoo/enterprise#7009
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-12-03 08:55:00 +00:00
Victor Feyens 51e289dac3 [FIX] doc: force_company isn't supported in master anymore.
New multi-company guidelines for 13.0 documentation explain the use of 
force_company. This is still valid in 13.0, but removed in 13.1 and 
replaced by the with_company mechanism.

closes odoo/odoo#41108

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-11-29 10:56:51 +00:00
Victor FeyensandAntoine Vandevenne 5a1d603c5f [ADD] doc: multi-company howtos
closes odoo/odoo#41038

X-original-commit: eaabad20516a73a97b23343a22357659c29945f7
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2019-11-28 10:16:48 +00:00
Miku Laitinen 6610515929 [CLA] Updates for corporate/avoinsystems
closes odoo/odoo#40689

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-27 20:34:54 +00:00
Damien 8eb4c0d20f [CLA] signature for Kontrolix
closes odoo/odoo#40905

X-original-commit: 1b2df29ed43b1ab465eec6c579e926804b950338
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-26 12:49:27 +00:00
pawa2007 f9412ef3c0 [FIX] doc: update URL to the right article
A second edition is being written but not published yet

closes odoo/odoo#40405

X-Forwardport-of 2b99e0cb59616a0006ef615bbfbc

closes odoo/odoo#40901

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-26 16:30:50 +00:00
Aurélien Pillevesse faee632ff7 [CLA] signature for AurelienPillevesse 2019-11-25 14:08:05 +00:00
Victor Feyens a27c7a59d4 [FIX] doc: remove support for IE 11.
Since Odoo V13, ES6 is supported and we therefore do not support IE 11
anymore.

closes odoo/odoo#40661

X-original-commit: 9071a25394aa7a1749dc497fccea095bc8261181
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-11-21 18:59:58 +00:00
Tran Thanh Phuc a6569824ef [CLA] signature for phuctranerp
closes odoo/odoo#40598

X-original-commit: 4d35059a85780fba998fedbec5602175bd01a11c
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-21 08:59:12 +00:00
pawa2007 af98694eb6 [CLA] signature for pawa2007 2019-11-19 09:15:22 +00:00
Victor Feyens 0bfb695b4f [ADD] ORM: with_company 2019-11-12 16:23:33 +00:00
Alejandro Avilés 6cd14dd033 [CLA] add signature for omegak 2019-11-14 07:05:33 +00:00
Martin Trigaux 7a2d960e51 [FIX] doc: remove outdated warning
In 13.0, we use the IoTBox which handle https correctly
12.0 was still a transition version but people should have switched in
13.0

closes odoo/odoo#39845

X-original-commit: 5d44adcd173cc750b72feb2888613204db5684b4
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-06 10:18:21 +00:00
fr3aker feb58ceb20 [CLA] individual: add agreement for user fr3aker
closes odoo/odoo#40003

X-original-commit: 9cc38820ae082e170bc994716f1f5bb97f160f8a
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-11-08 09:16:09 +00:00
Sebisnow daa693fe93 [CLA] signature for Sebisnow
closes odoo/odoo#39904

X-original-commit: 0b3b95a6a740209ee380bf33fa914e34d6309cc9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-06 16:31:05 +00:00
Nathan Perry 00e2ae76c2 [IMP] doc: add list of possible values for license key
The list comes from the selection values on the field license of
ir.module.module

closes odoo/odoo#39912

X-original-commit: 23f89363b4d9fecb12e3fe1024a36cf9f34ef5d2
Signed-off-by: Nathan Perry <servel333@users.noreply.github.com>
2019-11-06 17:30:01 +00:00
Victor Feyens ea4f8c2591 [FIX] doc: sphinx warning
Followup of #38948

X-original-commit: 2d61a4d08d007db1d62e2d0bf58701b659621b20
2019-11-05 22:07:00 +00:00
Victor Feyens 0a3ca7df7a [FIX] doc: fix sphinx warnings
* Since 
https://github.com/odoo/odoo/commit/8d5da6e4be05428f3243f92c0464d3c1f6a43873#diff-e07cbcffb9fb7b2eafd1ace3c4b1626a, 
post_install and at_install test tags have been removed.

* minor warnings in javascript reference.

closes odoo/odoo#39817

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-11-05 15:17:42 +00:00
Julien Castiaux 95d277966a [IMP] doc: clarify dep installation for linux
Someone new to Linux can run into problems when some system dependencies
are missing. There is a single sentence warning talking about those hard
dependencies and it does not explain how to install them.

Added two § containing the missing `apt` commands required to install
the dependencies on a fresh debian minimal install.

closes odoo/odoo#39774

X-original-commit: f7d0022f11d63777eb88bb5f808be3c5ced88fd6
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
2019-11-04 17:16:02 +00:00
Victor Feyens ae4855fa1e [IMP] base, doc: orm page refactoring.
closes odoo/odoo#39725

X-original-commit: 7ce7c58592c7c7202a37c73767c477be5a835752
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-11-04 11:16:12 +00:00
mreficent d9945494be [DOC] render_html -> _get_report_values
closes odoo/odoo#39616

X-original-commit: 9beebf2b54959727407f3959e26cd1ee874c3307
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-10-30 19:46:15 +00:00
Christophe Monniez 8d5da6e4be [IMP] tests: log a warning when HttpCase test in at_install
When loading a page on an existing starting database, registry is not
fully loaded causing potential error when trying to access model
existing in database (views, menitem, ...) since model added in last
loaded module does not exist in registry.

Thus, executing browser js test may lead to errors when executed during
an update on a database with other modules installed.

HTTPCase should be executed post_install to ensure that registry is
fully loaded to avoid this problem.

Since HTTPCase are slower than other test, it is also a good idea to
execute them at the end, in order to prioritize fast fail.

With this commit, a warning is isued if such a test class is tagged to
run at install time.

While at it, remove deprecated at_install and post_install helpers and
remove the deprecated phantom_js alias.

closes odoo/odoo#39462

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-10-30 12:35:23 +00:00
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