Commit Graph
2870 Commits
Author SHA1 Message Date
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
Pieter Paulussen 5fdd2b4700 [CLA] CodeSource CLA Agreement
PieterPaulussen changed of company

closes odoo/odoo#43155

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-23 08:55:56 +00:00
370f53d8dc [IMP] web: conditional create/delete options on x2many fields
After this commit, x2many fields can have options like
create/delete which accept a domain, to make create/delete on
x2many conditional, say for example x2many field can have options
like:

options="{'create:' [('foo', '=', True)]', 'delete:' [('foo', '=', True)]'}"

With this when foo field is True, Create and Delete actions will
be available, but if foo is False then they won't.

In case of one2many fields, if 'create' is false, then 'Add a line'
(list) or 'Add' button (kanban) won't be displayed.

In case of many2many fields, 'Add a line' or 'Add' button will
always be displayed even if 'create' condition is false as it
doesn't really create records (but rather links existing ones).
Same applies for delete.

Task-2092953

closes odoo/odoo#42919

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Co-authored-by: Parth Chokshi <pch@odoo.com>
Co-authored-by: Aaron Bohy<aab@odoo.com>
2020-01-22 13:01:33 +00:00
Debauche Stéphane e3ad9c8976 [IMP] web_gantt: add documentation
Add documentation about the new gantt parameter, `dynamic_range`,
The parameters were added in enterprise (odoo/enterprise#7640).

Task #2168740

closes odoo/odoo#43052

Related: odoo/enterprise#7640
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-01-21 07:35:22 +00:00
István Csányi e290a11390 [CLA] signature for fortee
X-original-commit: b3f2659564d5e3db1d1f3feeb29f6d464776b6e1
2020-01-20 15:00:09 +00:00
David Tran b1075b36d1 [CLA] add signature for hoanghavb
closes odoo/odoo#43079

X-original-commit: 6dacdefaf935fe80fc657fbdd870acaa8dd688c0
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-09 15:34:29 +00:00
jerome hanke (jhk) f796e6ee5a [FIX] doc: clarity issue for gantt view precision field
self-explanatory

opw-2161939

closes odoo/odoo#43059

X-original-commit: 05a198bc59e7c51bbdf566d5ed99d57cf6542c20
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-01-09 14:16:56 +00:00
Manuel Vázquez Acosta e7349beb06 [CLA] Add Pitufo to Merchise CLA.
closes odoo/odoo#43028

X-original-commit: c062273cc8c5083461a2e8afccbfad641d5139ae
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-09 11:28:45 +00:00
Lois Rilo 35163f7785 [CLA] ForgeFlow (former Eficent) signs Odoo CCLA
closes odoo/odoo#42984

X-original-commit: f975c8ab867030cb7ff91a791f9ffe4b2bab0dde
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-08 17:09:26 +00:00
malex-emesa b02c46c5ae [FIX] crm: check if name is present in measures
Fix an error which occurs during an attempt to access the string
attribute of a non existing measure
If a pivot view is defined with a "string" attribute of a field of
type "row", e.g.

   <field name="stage_id" string="Stage" type="row"/>

an error was raised "TypeError: measures[name] is undefined"

closes odoo/odoo#42971

X-original-commit: de1dbc9bfba3ec205c75590d3e38b20d30b39c39
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-08 15:47:09 +00:00
Antoine Vandevenne (anv) d670685050 [FIX] doc: correct erroneous installation instructions
This commit corrects erroneous instructions in the documentation page for the installation of Odoo.

Additionally, the following changes are made:
- Add new instructions where the steps were not clear or complete enough.
- Replace some installation flows for an easier onboarding.
- Rework some parts of the page structure and display.
- Add a "running odoo" section for Mac OS.
- Fix display error in views.rst

task-2072822

closes odoo/odoo#42900

X-original-commit: 82471da5d63f07796c6df1639aa30cc4894d5891
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2020-01-08 08:40:04 +00:00
Tonow-c2c 53a7dcea4d [CLA] Add Thomas Nowicki in Camptocamp organisation
closes odoo/odoo#42882

X-original-commit: e3f120963229f587d00389ca1beef82b7b544da1
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-07 17:09:30 +00:00
Jeanphy 22f736ca38 [CLA] Signature for hzh0292
Done at odoo/odoo#40384

X-original-commit: 01fa78fcbe9d93f89d24bfda480637673eeb8418
2020-01-06 13:55:29 +00:00
Tiffany Chang (tic) 76723b98c1 [IMP] doc: add missing kanban attributes
Adding missing attribute values of 'create', 'edit', 'delete' to kanban
view documentation.

closes odoo/odoo#42456

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-01-03 10:34:54 +00:00
Tiffany Chang (tic) 3e37ec8844 [IMP] web: add 'create' attribute to calendar view
Previously it was always possible to create within the calendar view.
For some modules this did not make sense and lead to confusing behavior,
for example: a new model instance created in the calendar view that was
not viewable in the calendar view, but was viewable in other views. By
adding a 'create' attribute (to be used in view xml), we allow users to
choose whether or not they want a calendar view to be able to create.

Note that this change does not affect the edit ability of calendar views
for existing instances.

Part of
Task: 2126530
2020-01-03 10:34:54 +00:00
Yuzifu 74dff2a2e9 [CLA[ sign the Odoo CLA
X-original-commit: deeab8eec3a851f7cf33252a916d4aca420d5578
2020-01-02 16:53:01 +00:00
Daniel Reis a6351bb76c [CLA] Add Daniel Reis to OSI Corporate CLA
Done at #41027

closes odoo/odoo#42384

X-original-commit: bc2a2070def5f489b69b85e7eb8d87d89ceead7e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-26 10:02:25 +00:00
Arnaud Willem 46088e3439 [CLA] signature for serenite24h24
closes odoo/odoo#39621

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-20 12:58:03 +00:00