Commit Graph
143436 Commits
Author SHA1 Message Date
root 905d2963ff [CLA] add CLA for Mainframe Monkey
closes odoo/odoo#68995

X-original-commit: d81973ab79dec066b3b6f98b473e73c6d41f0d34
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-08 15:44:41 +00:00
fja-odoo 04138cc3ad [FIX] website_form: remove dynamic values on save
This fix was not forward ported when introduced: #50745

closes odoo/odoo#68980

X-original-commit: 3e5130d90127d9634c48e5301e96ddcad9b66e17
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-04-08 14:38:25 +00:00
Rémy Voet (ryv) a31f57a002 [IMP] codeowners: add codeowners for logistics team
closes odoo/odoo#68954

X-original-commit: 2d114f8722ca4be1d81ac2f221ee45aa927c76dd
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
2021-04-08 11:14:19 +00:00
Xavier BOL (xbo) dd2aa12c2c [IMP] project: filter burndown chart by project
Before this commit, burndown chart displayed all changes of stage for
all active tasks in all projects. The problem is when the database
contains many projects and tasks over many years, the user can have a
timeout page rather than the burndown chart view, because we take all
active tasks in all projects, if the user doesn't archive his projects
and tasks, the data retrieved for the burndown chart is too huge to
quickly have a visual result.

This commit filters the burndown chart by the active project to retrieve
only the active tasks in a project and not all projects in the database.

task-2458017

closes #68343
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) 642fb2e6dd [IMP] project,{hr,sale}_timesheet: review dropdown in project kanban card
Before this commit, we add various buttons in the bottom of each card with a
certain condition, the problem is the lack of place to display more and
more information in each project kanban card.

This commit reviews the dropdown menus in each project kanban card.
Two sections is added one for another 'Views' to redirect to documents,
timesheets, sales order and planning, for instance. And the last section
for 'Reporting' like burndown chart.

task-2458017

closes #68343
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) 41a81aef24 [IMP] project: move the burndown chart button in the project form view
Before this commit, the burndown chart button is displayed in the
reporting menu, the problem is when the database contains many projects
and many tasks over many years, the user has a timeout page rather than
view the burndown chart, because we take all active tasks in all
projects, if the user doesn't archive his projects and tasks, the data
retrieved for the burndown chart is too huge to have a visual result.

This commit moves the burndown chart button in the project form view, in
this position, the data will be for only one project and not all active
projects.

task-2458017

closes #68343
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) a8e92d73e9 [IMP] sale_timesheet: remove deprecated code in kanban view
Before this commit, the code removed has a `t-if="1 == 0"`, it means
the content is never visible in the kanban view.

This commit removes this deprecated code.

task-2458017

closes #68343
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) b450a93441 [IMP] project: add unit test in js for burndown chart
This commit adds some unit tests in JS to check to check the line chart
for the burndown chart. If this view can be stacked as bar chart and the
stacked button is hidden only when the mode is pie chart in the graph
view.

task-2458017
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) 6ca9baf278 [IMP] project: add staked in line chart to create burndown chart
Before this commit, the stacked is not available in the line chart but
only in the bar chart.

This commit adds the "Stacked" button in the line chart and add the
possibility to stack in this line graph.

Additional features:

 - add same color for the background color when stacked

when we want to stacked in the line chart, the
background color is grey or black by default and we play with the
opacity of this color.

This commit takes the borderColor of each dataset and gives the same
color with opacity set to 0.4 for the background color when we want to
stack the line chart.

 - hide the pie chart button

task-2458017
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) 5072b68f95 [MOV] web: move the utils function in own JS module
Before this commit, we must to copy paste the functions useful for the
GraphRenderer when we override this model.

This commit moves the functions and the global variables in a new module
called graph_utils.

task-2458017
2021-04-08 08:27:49 +02:00
Xavier BOL (xbo) c94c08a941 [IMP] project: add burndown chart in reporting menu
Before this commit we have reports that depict the status of a
project at a certain point in time, but we don't have any reports
representing the actual progress of the project in time.

This commit adds a burndown chart, this chart would help users see
the evolution of the project and determine whether it is on the
right track or not.

task-2458017
2021-04-08 08:27:49 +02:00
Nicolas Lempereur 50b8333d05 [FIX] project: kanban select in selectionMode
The custom code for project.project kanban view prevented the kanban to
works in selectionMode (eg. kanban view to select a many2one record in
mobile).

opw-2490912

closes odoo/odoo#68918

X-original-commit: f03a690f09b07755cf4172524cf99f7ded5e7681
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-04-07 17:32:20 +00:00
Pedro M. Baeza 6b142e3142 [IMP] l10n_es: Add taxes for 'Retención 24%'
In https://www.agenciatributaria.es/AEAT.internet/Inicio/La_Agencia_Tributaria/Campanas/Retenciones/Cuadro_informativo_tipos_de_retencion_aplicables__2020_.shtml
we can check that this retention fee is applied for
'Rendimientos del art. 75.2.b): cesión derecho de imagen   (art. 101.1 RIRPF)'

It's not the regular retention, but there are cases where it can be
used, so we need to support it the same as others.

closes odoo/odoo#68953

X-original-commit: 192654675f4a87a62c17b501d7da0c0ee57f61cf
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-04-08 11:08:07 +00:00
Leonardo Gavidia fab70f4a09 [CLA] signature for leogavidia
closes odoo/odoo#68948

X-original-commit: 73430f2cf2dd9ffa128ad192dc586cc6e647bccc
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-08 10:35:16 +00:00
Hardik Prajapati 05c1104991 [FIX] sale_stock: fix incoterm column width in sales order report
Before this commit, the class col-auto was missing from the element
representing the incoterm code on sales orders' reports.
When more than four fields were shown at once in the containing table,
the columns' width was no longer equal.

closes odoo/odoo#68694

Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2021-04-08 10:24:12 +00:00
ren-odoo 9131a40de5 [IMP] l10n_cl: Update website reference
The website is now referenced to Odoo's website, with the most updated documentation.

closes odoo/odoo#68936

X-original-commit: ad692a438acbe4054c91626a0088220611bd8f2a
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-04-08 09:33:10 +00:00
Sébastien Geelen (sge) 92d0713478 [IMP] web_editor, mass_mailing: activate undo/redo button in mail edition
closes odoo/odoo#68912

X-original-commit: 2b12674fcfdebf362e5bd806bc8374d82c30de82
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2021-04-07 15:44:43 +00:00
Adrien Widart 6a48fd9237 [FIX] mrp: set qty produced on operation
When marking an operation as done, the quantity produced may be zero.
Therefore, the duration computation will not work.

To reproduce the error:
1. In Settings, enable "Work Orders"
2. Create two products P_prod and P_compo
    - P_compo is consumable and its cost is 100
3. In Manufacturing, edit/create a Work Center WC
    - Cost per hour must be 60
4. Create a Bill of Materials BM
    - Product: P_prod
    - Component: P_compo
    - Operation:
        - Work Center: WC
        - Duration Computation: Compute based on tracked time
        - Based on last 3 work orders
        - Default Duration: 10:00
5. In Structure & Cost, notice that BoM Cost is 110
    - 100 (P_compo's cost)
    - 10 (OP's cost based on default time)
6. Do the following 3 times:
    - Create a MO with P_prod using BM, Confirm
    - In Work Orders, click on Start, then Done
    - Edit the Real Duration of OP: 20:00
    - Mark as Done
7. Back to BM, open Structure & Cost again

Error: BoM Cost is 110, this is incorrect: OP's cost is still 10, it
should be 20 (from step 6).

The problem is the quantity produced for each operation. Since this
quantity is never defined, it remains at 0. Therefore, when computing
the duration, since there is no quantity, the module keeps the default
value.

This fix changes the behavior. When the user marks the operation as done
from the form view, the module defines the quantity produced using the
quantity in production (this quantity may have been defined by the user
through the tablet mode). If this value is also 0, the module will use
the quantity expected by the MO.

`('qty_produced', '>', 0)` is added to avoid lines with zero quantity
produced, which was possible before this fix. Otherwise, the duration
calculation will give wrong values.

OPW-2453996

closes odoo/odoo#68917

X-original-commit: 93be6c6cfcfb3c4e52790569632dbdcdb1a3ae54
Related: odoo/enterprise#17540
Signed-off-by: Adrien Widart <adwid@users.noreply.github.com>
2021-04-07 17:27:39 +00:00
Nicolas (vin) 648117bb93 [FIX] account: allow to display the line currency when exporting to xlsx
Currently, when exporting move lines via for example the partner ledger,
we are not displaying the currency in any way in the xlsx.

For some company, this can be limiting since they may want to do
post-treatment inside the file after export, which can require such
information.

This change will add the 'always_set_currency_id' field as optional
into the list view of the amls, allowing to keep the information about
the currency when exporting if needed.

task id #2381355

closes odoo/odoo#68911

X-original-commit: 62bad5e50aa1fe579ecc07242a22ec6ab6031e71
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: Nicolas Viseur <vin-odoo@users.noreply.github.com>
2021-04-07 15:44:23 +00:00
Julien Mougenot 3e3dce0eb8 [REF] *: rename assets 'glob' to 'path'
Rationale:
The majority of cases where an ir.asset is manually declared
outside of manifest files is to specifically add a single asset file.
This means developers are specifying a single asset *path*, and not a
glob expression. In this context, it seems better to name the filepath
field `path`, and document that it can be specified with a glob
expression when (seldom) needed, rather than making the exception appear
to be the norm - possibly puzzling many developers (What's a glob and
why do I need one?)

The doc is updated as well, and some spell-checking and wording
improvements were done too.

This required some adaptations to the existing `ir.asset` declarations:
- odoo/enterprise#17465
- odoo/design-themes#459

closes odoo/odoo#68695

Related: odoo/upgrade#2348
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2021-04-07 20:39:10 +00:00
xO-Tx 0af36ab87d [FIX] website_sale,*: fix shop_buy_product tour
*: website_sale_product_configurator

The goal of this commit is to fix the tour : "shop_buy_product"
by adding the "goToCart" step to work with the new "add to cart"
scenarios (adding products in the same page is default behaviour).

closes odoo/odoo#68889

X-original-commit: ccc1584cd5ee9156e96e373997765b94831a828d
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-04-07 12:48:41 +00:00
Bruno Zanotti (ADHOC) 5d295cb73d [IMP] website_sale: small refactor to adapt the module to the inheritance of the localizations
* New method _get_vat_validation_fields to set the fields used
   in vat validation.
 * New method _get_country_related_render_values that returns all
   the fields related to the country to be rendered in the address form.

These methods are necessary to allow the different localizations
(see l10n_ar_website_sale) to adapt the ecommerce to their own needs.

closes odoo/odoo#68851

X-original-commit: 3b01c249a8d2b9673992942c2c5ea50ef0488708
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-04-07 13:45:20 +00:00
Bruno Zanotti (ADHOC) 8af1b9fd39 [ADD] l10n_ar_website_sale: new module
New module that adds argentinean requirements to the website ecommerce

 * Add fields to the checkout form
   * Identification type field
   * AFIP responsibility type field
 * Add logic to validate the new fields
 * Take into account the identification type when validating the VAT in the checkout form
 * Add validation of the combination between identification type and AFIP responsibility fields
 * Change label name for the vat field, to show "Number" instead of "VAT number".
 * Add demo data to display an argentinean website and show products with taxes
 * Add module translations

X-original-commit: e23b9bfd47b2a8aee4468fdd3f35aced81761eb3
2021-04-07 13:45:20 +00:00
Nicolas (vin) a2d5c63bed [FIX] account: Fixes the losing of company_id in account move
Currently, the company_id of an account move is related to its journal.
This means that if you empty the journal field, the company_id is also
emptied.
This is then causing a traceback when adding a new line, for example.

This change will transform the related company_id in a computed field,
making sure to not lose the company_id if the journal_id is emptied.

task id #2392004

closes odoo/odoo#68886

X-original-commit: c3c6ec69a0c50daf0b33df62144b6cd2f254a4f5
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Nicolas Viseur <vin-odoo@users.noreply.github.com>
2021-04-07 12:34:08 +00:00
Sébastien Geelen (sge) 510da70768 [FIX] web_editor: adapt $.tranfo() to be iframe compatible
closes odoo/odoo#68878

X-original-commit: c180c8d76862cd65df413f40787e05bad76367b5
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2021-04-07 10:25:49 +00:00
Romain Derie b1b516eb97 [FIX] website: fix wrong string interpolation
Without this, the website selector was not working

closes odoo/odoo#68877

X-original-commit: 967132be52d259eaa89b7c0d32b8e4a116d4ad9e
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-04-07 10:25:29 +00:00
oco-odoo e68873fe89 [FIX] base_vat: Don't always pass VAT check when validating the VAT of a partner without country_id
Before this, when making a partner without any country_id, any VAT could be set to it, which was inconsistent with the module's purpose.

closes odoo/odoo#68815

X-original-commit: 72606f14d0c1d86d7a205fd29aec8d66d3e98678
Related: odoo/enterprise#17505
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2021-04-07 09:46:58 +00:00
wan 33bba28e87 [FIX] account: resequence journal entry in purchase journal
The resequence wizard should consider that the sequence is shared for
invoices, journal entries and receipts; only refunds have a separate
sequence.
You could have journal entries in the purchase journal for expense
reports for instance. In that case, we want to be able to resequence all
of it at once.

closes odoo/odoo#68871

X-original-commit: 365da2a0aca1503133433f9dc66b6866e7867974
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: William André (wan) <wan@odoo.com>
2021-04-07 09:22:26 +00:00
Christophe Monniez ed3f25c145 [FIX] web_editor: fix scss typo
last-of-type pseudo class does not need parentheses [0].

This typo throws an exception only with recent versions of libsass.

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/:last-of-type

closes odoo/odoo#68866

X-original-commit: 2b55306c3ad69f8b7588b2223c94e0db6449e5df
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-04-07 08:37:11 +00:00
Younn Olivier dcd60f8de2 [FIX] website_sale, *: make the product image container not editable
*: web_editor

It prevents user writing in the image preview of products.
Also, the product image view now fit its container so that the user can
click wherever in the frame to change the picture.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

closes odoo/odoo#68850

X-original-commit: e4f06666307e79b9a5b26357a1545a56e6bd40b2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-04-06 17:50:19 +00:00
Younn Olivier f6786a9fe6 [FIX] website: add loader when installing a new module from frontend
The eCommerce module installation is sometimes taking over 30 seconds,
to manage the user wait a loader is now displayed during the
process.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: 9a75b8cc09b3210e0a555f225ac347801b584d3a
2021-04-06 17:50:18 +00:00
Younn Olivier 04824fc8ec [FIX] website: decrease moving blocks speed by 35%
When moving blocks up and down, the speed has been decreased by 35%, as
it was too fast for the user before.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: cbbaa74fe15efd19e0614d984247995af9a64247
2021-04-06 17:50:18 +00:00
Younn Olivier e3d86cfd2a [FIX] website_blog: hide content width button in blog context
The user was not able to change the width of the first content of a blog
because it's not part of a blog.

This commit will hide content width option for every content in a blog
post.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: 85051e88707e61b7d3756a666236386c5056ed19
2021-04-06 17:50:17 +00:00
Younn Olivier 30db617bc8 [FIX] website: make the team snippet image container not editable
It prevents users accidentally writing below the image when they modify
the snippet.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: b6684fcdf6b62b6d12dd500ca5f9c2187a91fe97
2021-04-06 17:50:17 +00:00
Younn Olivier 5f6e0866ed [FIX] website: remove title by default on share snippet
The option to add the label "Share" before the social media icons is
still usable.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: c5c601ec18ad415320ccfa9012b9a1c17e080040
2021-04-06 17:50:17 +00:00
Younn Olivier e901b29c99 [FIX] website: fix share snippet icons vertical alignment
Icons were not centered in the share snippet.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: 6b2a6b3d6730b320f673ee544b2be607a258f914
2021-04-06 17:50:17 +00:00
Younn Olivier 27c7f9eac7 [FIX] website: make carousel arrows not editable
Added o_not_editable class to carousel-control-prev and
carousel-control-next container divs so that the user can't add text
when sliding carousel items

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: a6d52aed947180bf73718aa95ac3b4e0016e4a9f
2021-04-06 17:50:16 +00:00
Oussama MESSAOUDIandqsm-odoo b3240f1a4e [FIX] website: properly retrieve gray parameters from gray values
- Retrieve the correct value for hue and extra-saturation parameters.
- Dynamically set the max, min value of the extra-saturation slider.

Linked PR: https://github.com/odoo/odoo/pull/66428

Part of https://github.com/odoo/odoo/pull/68488

closes odoo/odoo#68849

X-original-commit: 9f5b9dd3a9659283708a32885b49618364798cac
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
2021-04-06 17:49:33 +00:00
Oussama MESSAOUDI 875bbc287b [FIX] web: review rounding of HSL color values
Change the conversion to HSL system to return floating values and leave
the rounding to the caller (for instance when converting to RGB system).

Part of https://github.com/odoo/odoo/pull/68488

X-original-commit: eab46cb2fdc55cf4951977bfc32751a33374fe1d
2021-04-06 17:49:32 +00:00
Swapnesh Shah 71452c3873 [IMP] account: remove orphan repartition lines
When a tax is deleted,
remove the `account.tax.repartition.line` linked to it as well.

closes odoo/odoo#68847

X-original-commit: 0731976cf0e3c6d47658ed1cbfbb8ace7428994e
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2021-04-06 17:20:36 +00:00
Thibault Francois 02b0fdded4 [FIX] calendar: Fix ir.cron access error on calendar.event
Problem
-------
Writing on a calendar.event trigger _setup_alarms that may need
to read on an ir.cron depending on the alarm setup.

Non admin user are not allow to read ir.cron and thus an access
error is trigger.

Solution
--------
Read the cron in sudo mode

closes odoo/odoo#68592

X-original-commit: a039bfdf6bc0548d5ed1910f195bf0c62d77d6d0
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-04-07 07:53:03 +00:00
Goffin Simon a9cd07585d [FIX] account: Journal Entry displayd as invoice
Steps to reproduce the bug:

1/ Create an opening balance Journal Entry with debit 100$ "121000 Account Receivable" and credit 100$ on another account
2/ Create an invoice for 150$
3/ Register a payment of 250$ for this invoice
4/ Reconcile the Journal Item of the payment (with "121000 Account Receivable" as account) with the opening balance => this line should be now fully reconcile
5/ Go to the payment and try to print the payment receipt

Bug:

The opening balance was shown as an invoice

opw:2448349

closes odoo/odoo#68809

X-original-commit: fda784cd6a831fb799767a486320574e754d20df
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2021-04-06 10:15:50 +00:00
Sébastien Theys 637684fb50 [FIX] web: ignore recursiveCallMounted on not yet rendered children
This should hopefully fix the race condition that is described in the related
task. The issue is that our mounted callbacks are legitimately relying on the
component to be actually rendered.

task-2481713

closes odoo/odoo#68838

X-original-commit: 8782de993d922b321d3be479dbb84e9d20a0c87a
Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-04-06 14:22:26 +00:00
Julien CHEVREAU (JCU) e208da9372 [FIX] account: Cash Basis - recompute tax exigibility on move creation
Beforehand, tax exigibility was not systematically recomputed upon
move creation.

Now, as soon as an account move line is created on a move, tax exigibility
is recomputed.

closes odoo/odoo#68832

X-original-commit: df14e157fc7a80a1675b9581e0105891b4228f40
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2021-04-06 13:29:01 +00:00
Sébastien Geelen (sge) 8b2cff3f78 [FIX] web_editor: have a default icon for media align toolbar button
closes odoo/odoo#68830

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2021-04-06 13:09:43 +00:00
Sébastien Geelen (sge) 7ccc011833 [FIX] web_editor: fix traceback when selection is null
closes odoo/odoo#68827

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2021-04-06 12:39:47 +00:00
Bruno Zanotti (ADHOC) 3778e8fc01 [IMP] l10n_ar: move account groups data to a csv template
closes odoo/odoo#68791

X-original-commit: 5677115c7627e9e78c5ca9f007ae62f628b54cba
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-04-05 20:57:17 +00:00
Bruno Zanotti (ADHOC) 3c10e1429f [FIX] l10n_ar: account group removed
Create again the removed account group "Otros créditos"

X-original-commit: 85294c4c3677208f963714f3da779959233a4e76
2021-04-05 20:57:17 +00:00
Pedro M. Baeza 50518ee676 [FIX] l10n_es: Create tax group for non deductible VAT
Previously on v12, every tax was added in an account.invoice.tax line,
being clear about the amount of each one.

Now on v13, that table has dissappeared, and the tax summary at the
footer grouped by tax group, resulting in a mix of all taxes with the
same percentage. This is not usually a problem, as the same percentage
taxes are not included at the same time in the same invoice, except
an exception: non deductible VAT.

For this case, we can have several lines with the same percentage as
deductible or non deductible, and all being mixed in the footer.

For avoiding the problem, we create a new tax group, and use it for
non deductible VAT taxes. We can consider to add 3 groups, one per
percentage of non deductible VAT, but it's an overhead that doesn't add
too much value (the 95% percent of the non deductible is 21%), and even
if having several of them in the same invoice, to see the total amount
grouped as "IVA no deducible" is not a big deal.

closes odoo/odoo#68789

X-original-commit: fb6e0d5962963fbf22fbe56864a10aec7868292b
Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-04-05 20:29:13 +00:00
Younn Olivier 0a0341ee6a [FIX] web_editor: update the media search bar layout
Before, depending on the screen size, it was not always clear for the
user that he can use the search bar to find library images.

The upload buttons and search bars have been switched in order to make
the search the first choice for the user. Also, make the arrow pointing
at the searchbar more understandable.

task-2446852

closes odoo/odoo#68821

X-original-commit: 4237916d1f103baef5760e8508c9ebd5e91ac163
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-04-06 12:08:35 +00:00