Commit Graph
2887 Commits
Author SHA1 Message Date
Commandant Custo 312e02616d [CLA] signature for sve-odoo
X-original-commit: b9d6b548f91311584e36c1d27dec9ce5824f4577
2020-04-27 18:31:59 +00:00
Denis Zhadan bdb89ee4e9 [CLA] Wiserby OÜ signs Odoo CCLA
closes odoo/odoo#49867

X-original-commit: 54becce444578b6b934b7888fca0679cc0f122c9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-04-21 12:44:07 +00:00
Lucas Perais (lpe) 4c1feefd13 [IMP] web: Numeric fields can be non-formatted
This commit introduces a new option in fields inheriting from type Numeric
which is `format`.

By default, Numeric fields are formatted according to their subtypes and locale
Adding, in a view, the option format set to a falsy value
will prevent the field's value from being formatted.

```
<field name="int_field" options="{\'format\': false}"/>
```

Task 2050119
2020-04-17 13:56:08 +00:00
ryv-odooandThibault Delavallée 186cfb5ebd [REF] mail: make alias mixin multi-enabled
Purpose of this commit is to allow multi-create in alias mixin by correctly
creating / updating aliases in batch.

Task ID 1919277
Community PR odoo/odoo#41160
Enterprise PR odoo/enterprise#6983
Upgrade PR odoo/upgrade#872

Co-Authored-By: Rémy Voet <ryv@odoo.com>
Co-Authored-By: Thibault Delavallée <tde@odoo.com>
2020-04-17 06:52:09 +00:00
Romeo Fragomeli fbd1d7584a [FIX] tests,tools: remove unused code
Due to this commit: odoo/odoo@0ea67467b1 ( https://github.com/odoo/odoo/blob/0ea67467b1301b39a263a386a622e931784eb0de/odoo/tools/config.py#L521 )

the screencasts value is not a string anymore but a valid PATH.

So now you can't set '1', 'true' or 't' to force to have the
same directory as the screenshot dir.

Steps to reproduce:
odoo-bin ... --screencasts 1 (with a failed JS test to produce a screencast)

closes odoo/odoo#49665

X-original-commit: ab1bf59a3b78f3c0857755cb2439636b6df297c3
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Signed-off-by: rfr-odoo <rfr-odoo@users.noreply.github.com>
2020-04-16 13:28:07 +00:00
clementmbr c5cf9e9e5e [CLA] Update Akretion - Add clementmbr
closes odoo/odoo#49487

X-original-commit: 8ba9507070c262d137115f475cda9e046bbb1cb8
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-04-14 08:46:02 +00:00
Payam Yasaie de322086eb [CLA] signature for Yasaie
closes odoo/odoo#49481

X-original-commit: 1a0efff25d22f5ee973553ff4b0c15b58baf2577
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-04-14 08:33:34 +00:00
Christian Hattemer 7de2bb97c9 [CLA] signature for KrilleGH
closes odoo/odoo#49374

X-original-commit: d82f1256b3ce1910576b03552fee03de337d72a5
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-04-10 09:08:16 +00:00
Julien Mougenot ed38c2adb8 [FIX] web: flatten t-call-assets in test assets bundle
Before this commit, the test assets were called with a `t-call-assets` and contained
themselves some other `t-call-assets` to the back-end assets. According to the current
specification, having nested `t-call-assets` will result in a compilation of the
lower levels regardless of the current debugging mode.

Now, the test bundles (desktop & mobile) have been arranged so that their `t-call-assets`
are all called on the same level.

closes odoo/odoo#49306

Related: odoo/enterprise#9797
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-04-09 14:59:54 +00:00
ggros ebe7fabf98 [FIX] doc: themes tutorial
* Outdated xml

See https://stackoverflow.com/questions/53160591/extending-default-template-odoo-12/53162439#53162439

Courtesy of EvgenijjKum from #41970.

* Outdated javascript

See https://stackoverflow.com/questions/41061604/odoo-10-how-to-create-snippets-javascript-option#41062045

closes odoo/odoo#49308

X-original-commit: bdf8ef755a0462871bc907c68597a56d332876e9
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-04-09 10:53:35 +00:00
ggros b3c62611d6 [CLA] signature for ggros
X-original-commit: 45c0f78128d3d62592ff40bf121c74b178b98971
2020-04-09 10:53:35 +00:00
xO-Tx 4a1bd8fe79 [IMP] doc: Update Js control panel
Update information in JS doc for 13.0 (replace control panel mixin with the hasControlPanel attribute).

closes odoo/odoo#49291

X-original-commit: 0d46f49a00c6ecb62725ab97c1f337d1b0666852
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-04-09 09:36:21 +00:00
Victor Feyens 57eb964182 [IMP] base: document all field types.
closes odoo/odoo#49135

X-original-commit: cc653d3f1a49e2b7b2cc0ec833097bd7cf3528a1
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-04-07 12:11:57 +00:00
Florent de Labarre 857aaef011 [FIX] doc : missing state on ir.actions.server examples
closes odoo/odoo#48871

X-original-commit: 7f806fd661f373201396861b77b64a71decf52a9
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-04-02 11:29:04 +00:00
Adrian Torres 5952928b42 [REM] *: remove various unused import shims
Before this commit, a lot of leftover import shims existed in the
codebase for py2-py3 compatibility, these are no longer needed since
Odoo 13.0+ doesn't support Python 2 anymore and is (finally) in EOL.

With this commit, these shims are dropped, making the code cleaner,
easier to read and with one less dependency.

Queue -> queue -> py2-py3 compatibility
xmlrpclib -> xmlrpc.client -> py2-py3 compatibility
ConfigParser -> configparser -> py2-py3 compatibility
itertools.izip_longest -> itertools.zip_longest -> py2-py3 compatibility
urllib -> urllib.request -> py2-py3 compatibility
__builtins__ -> builtins -> py2-py3 compatibility
_winreg -> winreg -> py2-py3 compatibility

mock -> unittest.mock -> merged into CPython

The debian/fedora packages and requirements.txt have been updated accordingly

closes odoo/odoo#44601

Related: odoo/enterprise#8141
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-04-01 12:45:40 +00:00
Dhruv PatelandAaron Bohy ae610d0e20 [IMP] web: graph: drill down to records in bar/pie charts
After this commit, in the graph view, when the user clicks on parts
of the bar and pie charts, it opens the list view of the concerned
records (like what was already done in the pivot view).

This is the default behavior, but it can be deactivated by setting
the attribute 'disable_linking' to true in the view.

Task 2198461

closes odoo/odoo#47796

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Co-authored-by: Aaron Bohy <aab@odoo.com>
2020-03-31 19:15:10 +00:00
Tiffany Chang (tic) 1ac243c21c [IMP] various: Replace incorrect use of "edition"
"Edition" is a French-English false friend word. "Edition" in English
means "version" whereas "edition" in French means "editing". This commit
updates user facing strings/documents that incorrectly use "edition" instead
of "edit" or "editing". Attempts were made to clean up English around
"edition" usage so please excuse any errors from lack of context
knowledge. Code comments and names incorrectly using "edition" were NOT
updated.
2020-03-31 10:31:35 +00:00
Yenthe666 307263c22d [FIX] doc: no longer use customer in API
Before this commit the documentation had quite some samples with 'customer', '=', True. Since in V13 this field on the res.partner model no longer exists we've removed it.

closes odoo/odoo#48453

X-original-commit: 2215d803aa35cdd13ab7f989c807bc7f575aaa8e
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-03-26 16:02:39 +00:00
Mario Krajacic 4d9d90bae0 [CLA] signature for mkrajaci
closes odoo/odoo#47775

X-original-commit: 2b81684a0a472303a40e3c1487fd5f4334658737
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-17 09:48:34 +00:00
Jesús Alan Ramos Rodríguez d0bb42916f [CLA] update cla for Jarsa
closes odoo/odoo#47734

X-original-commit: 815d8894b638685fe106e585f0f353587d1593da
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-16 20:42:24 +00:00
bart.vanbossche cd8a25c20a [CLA] add bartvanbossche to DynApps CLA
closes odoo/odoo#46819

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-16 07:57:09 +00:00
fw-bot 13c326f6dc [FIX] doc: increase requirement
Partial cherry pick of e4b75149f7
Sphinx 1.6.7 is the minimum in debian stable and ubuntu LTS

X-original-commit: 516e7854fd61c75865bb444e3614cad20283275e
2020-03-10 15:24:11 +01:00
sbejaoui 2b5ef9f63f [CLA] add signature for sbejaoui
Done at odoo/odoo#46379

closes odoo/odoo#47262

X-original-commit: 0741c8c13fa5e47e59d03cdaa77f166b03be7b7b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-10 09:55:06 +00:00
Daniel Stenlöv a0f0cdd70e [IMP] l10n_se: introducing swedish accounting
task-2073735
closed-40937

closes odoo/odoo#46607

X-original-commit: d7134b631c47dabc75dc6a6297f0a5cb8aa87407
Related: odoo/enterprise#8911
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-02-28 17:40:18 +00:00
Siddarth Gajjar 8b88f743b7 [ADD] doc: gantt view cell_create attribute.
closes odoo/odoo#46205

Related: odoo/enterprise#6327
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-02-25 12:22:20 +00:00
lejeune quentin 1dfda363a9 [FIX] doc: For IoT add reference for longpolling
Add details in IoT for the release of a event with the longpolling

closes odoo/odoo#46215

X-original-commit: 0ce8ab484d03ea2fdb318a7427fc20c0028bb964
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2020-02-25 11:26:07 +00:00
Denis Ledoux 7a928bbdfb [FIX] doc: backend, internationalization, load a translation no longer exists
It has been replaced by a button in the languages list & form views
`Activate Language and Update Translations`

closes odoo/odoo#46070

X-original-commit: d451924dc79e84bb556ca7bc63b9f2908c4d077e
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-02-24 11:13:23 +00:00
Sayan Bhowmik 49c87c2705 [FIX] doc: correct typo
Ko is in French

closes odoo/odoo#45984

X-original-commit: abdfba83f1f7aa16235ee6479e93a09e5edd2239
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-21 17:21:44 +00:00
Antoine Prieels 4a6d3ae934 [IMP] doc: Add reference for IoT
Add documentation for development of new Drivers for the IoT Box.

closes odoo/odoo#45990

Taskid: 2092878
X-original-commit: 246060c0757b52725ebd93164c8151fa8db2c6b9
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
2020-02-21 18:07:11 +00:00
Denis Ledoux c59aefb783 [FIX] doc: backend, internationalization, renamed menus
closes odoo/odoo#45946

X-original-commit: 08df477c819aab1c91b04fada285ae1aae340800
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-02-21 13:42:11 +00:00
Paul Morelle 8ec5ab0078 [FIX] doc: gantt view no longer support date_delay
Use date_stop instead, and remove the instruction to remove the computed
field.

closes odoo/odoo#45669

X-original-commit: 3650adbac52d19ecc6265d90babeb6fc270d3ac2
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-02-18 19:20:14 +00:00
Paul Morelle 67b114da55 [FIX] doc: add missing tag in documentation exercise
The diff was truncated earlier because the amount of lines has not been
incremented.

X-original-commit: ea4dc2e0f266e26d9596a8128b2e3a1fe6a325a4
2020-02-18 19:20:14 +00:00
Kirill Sudnikovich cc7f89bee7 [CLA] signature for 0311snitch
closes odoo/odoo#45632

X-original-commit: cc817f54a02c834f4c151e3191cc479ee348ecf0
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-18 13:19:16 +00:00
Santiago Acosta y Lara fe8036537d [FIX] stock: move line: uom mismatch in _action_done
Before this patch, validating an unreserved move of a dozen while 12
units were reserved resulted in a quant with 0 unit as quantity and 11
units as reserved quantity.

closes odoo/odoo#45132

X-original-commit: bf7d76a7127521ba17f29bc470c3d551cc9988d5
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-02-11 18:33:25 +00:00
Sebastien LANGE 479cb5bfcd [CLA] Update Subteno IT CLA
closes odoo/odoo#44823

X-original-commit: 633d1f3e661fe5f0f8ef1098ece9aa69b39bf26d
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-02-07 08:05:15 +00:00
Denis Ledoux 6caecbc86d [FIX] doc: typo in 398a3d7efeef379c524d2c417f5dbec94fb2915a
closes odoo/odoo#45025

X-original-commit: ba1acb26608eed6c1eeff7effc07451efe4dfa79
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-02-10 16:23:48 +00:00
fda-odoo 53dc9208e0 [FIX] documentation: typical command to launch odoo is not usable
The typical command to launch odoo in the install documentation is usable as it is after following the complete instructions.
There is two changes done here:
- Remove the ../my_modules from the command, as it is a directory not used in the page at all.
- Remove the db-filter option not mandatory since the 11.0 version and add a '-d' argument. This will create the db instead of showing the database selector to the reader.

closes odoo/odoo#44899

X-original-commit: 6a5d43dac042d76a12d1757962a0aec641fa1ae8
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-02-07 16:33:14 +00:00
Victor Feyens bfad367afe [IMP] doc: some precisions/fixes
closes odoo/odoo#44869

X-original-commit: c8c311b8d463d1db7f3700c1bb5dac076abab905
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-02-07 14:00:13 +00:00
Victor Feyens 3e9b73b1ee [IMP] doc: document the api.model decorator
X-original-commit: efa3a148cb178693b73af054cd6e19870d068454
2020-02-07 14:00:12 +00:00
Victor FeyensandAntoine Vandevenne 6d0c8788e4 [REF] doc: views documentation rework
closes odoo/odoo#44530

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2020-02-05 14:00:39 +00:00
Victor Feyens 59a7738be2 [IMP] doc: orm page missing information + UI
* Some fields types were missing
* Add information on multi-record field access
* UI finetuning
2020-02-05 14:00:15 +00:00
Dhruv Patel d5d2c5524c [FIX] base,web: url widget: add protocol in href
With this commit, the url widget automatically prefixes the href
url by http:// if no protocol is specified, so that clicking on
the url will by default redirect to an external website.

To prevent this behavior, one can still specify the new option
'website_path: true' on the url field node in the view arch.

Thanks to this, we can remove a similar logic (only implemented on
res_partner model) which automatically altered the value saved in
database to force its 'http://' prefix.

task-2153184

closes odoo/odoo#42118

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-01-30 14:03:36 +00:00
Simon Lejeune 1f6f76e7ef [REF] web: gantt documentation: delete attribute
Enteprrise pr 6836 will allow disabling the delete button on gantt
views. Document it is possible.

task-2088954

closes odoo/odoo#40716

Related: odoo/enterprise#6836
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-01-29 10:02:03 +00:00
Ankita Raval 0052222b54 [REF] web: calendar: allow disabling the delete button
In this commit, we add a new attribute "Delete" for user conveniency
if he don't want 'Delete' button on popover card they easily achive
by "delete=false" attribute and also add a testcase for it.

task-id:2088954
2020-01-29 09:57:23 +00:00
Adrien Horgnies 3dc7a7355e [ADD] doc: document manifest active attribute
closes odoo/odoo#44107

X-original-commit: dc1f3f99ad9e9eea963d27c86b4162fd4cf947fa
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-01-28 13:04:48 +00:00
Blueflash41 99f4e9a9b2 [CLA] signature for Blueflash41
closes odoo/odoo#44199

X-original-commit: 7b259eb48ec0eed01a8a75f62c7ec232e70647a6
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-29 13:03:07 +00:00
lockhaty c51b027019 [FIX] pos_restaurant: add missing import
When there are no items in the cart, pressing the print bill button
may result in an error due to the translation (_t) module not being
imported

closes odoo/odoo#43937

X-original-commit: f4ef43e98613c2e916402eb35375a3d39481832f
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-24 14:38:05 +00:00
jbm-odoo fa48e05f42 [IMP] calendar: Improve color and filters
Now in a calendar view, if we use the color, attribute, it will use
the same color as Gantt views and the color picker widget.

The attribute color isn't more set as default in filter because it make,
in most situation, no sense to filter by color.

Now, we can add new filters in the right panel. To do that, we must
add the attribute "filter='1'" in the corresponding field line.
And if the filter has no direct link with the color of the model,
we can specify an attribute 'color' for this filter line block.
(for example color='color', and the color of the related model
will be used)

TaskID: 2153249
2020-01-27 16:08:34 +00:00
Bertus Kruger 177cec0241 [FIX] stock: correct typo in error message
closes odoo/odoo#43863

X-original-commit: fd33eb4eb20d3d2985656333c3711bba34fb8dc5
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-24 07:34:34 +00:00
Antoine Vandevenne (anv) 4a19e48e4a [IMP] doc: require installation of implicit packages in install page
closes odoo/odoo#43872

X-original-commit: c08ce0ae46a78d4be517ad150ce729a61c4f226a
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-01-23 17:30:13 +00:00