Commit Graph
140385 Commits
Author SHA1 Message Date
Sébastien Theys 5b24206091 [IMP] mail_bot: auto install the module again
Its most glaring issues have been fixed.

task-2291904

closes odoo/odoo#56921

X-original-commit: b1efd7965a3b185b95bd30beca3d1b7f08165c8a
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-02 08:46:22 +00:00
Simon Lejeune c065d5b92d [REF] mrp: is_planned and is_partially_planned
the `planned` state was removed but still used in a bunch of places
make `is_planned` stored and use it instead

closes odoo/odoo#54845

Related: odoo/upgrade#1710
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-09-02 08:04:18 +00:00
Laurent Smet ca815e9a10 [FIX] account,stock_account: Fix bad bug fixes
https://github.com/odoo/odoo/commit/5309c252f6d0bc4994265a4c39259b70e7507fb1

This fix isn't working when using the 'modify' refund_method.
Also, you can't change the behavior of the whole invoices when there is only one move dealing with the auto_post feature.

https://github.com/odoo/odoo/commit/c9cd83e538a0be9d626d7587c465924146327cb2

This fix is only fixing the reversal wizard but must be done everytime a journal entry is duplicated.

closes odoo/odoo#56904

X-original-commit: 3057ee6cdd63c0adb5037041492427268b5e7549
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-09-02 07:25:57 +00:00
Ipsita Borisagar 6b6c0aba70 [IMP] mail, im_livechat: helper message for canned responses
PURPOSE

When typing the /help command in discuss, a helper message that is mentioning
the shortcut for canned responses is displayed. The issue is that canned
responses are available to the users after 'im_livechat' module installation.

SPECIFICATION

Display the "Type :shortcut to insert canned responses in your message." part in
the helper when livechat is installed.

LINKS

Task-2264981
PR https://github.com/odoo/odoo/pull/52600

closes odoo/odoo#52600

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-02 04:54:50 +00:00
Laurent Smet f25e0f1737 [FIX] account: Fix currency of tax_base_amount
The tax_base_amount field on account.move.line is expressed using the company currency but the current code is storing an amount expressed using the move currency.

closes odoo/odoo#56905

X-original-commit: 09c59012bf80d2ccbafe21c39e604d6cfda72924
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-09-01 16:43:39 +00:00
Siddarth Gajjar 9fd602bffa [IMP] website_slides: allow to delete slide category from frontend
- Before this commit, deleting slide category from frontend was not possible

- After this commit, there is a 'trash' icon on the category while hovering
  on it (just like slides), clicking which will delete that category and
  reload the page to re-arragne the content. If there are slides under the
  category being deleted, they will be uncategorized and move to the top.

Task: 2093671
Closes #49646

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-01 10:13:56 +00:00
Jorge Pinna Puissant d7af73dcb1 [FIX] base_address_city: avoid showing city and city_id field together
Before this commit, when the city_id field was set and then removed,
both city and city_id were shown, you would see 2 city fields in a weird
way.

opw-2312641

closes odoo/odoo#56896

X-original-commit: b381fb0b644cf3c94e798319ceecf5d6b97df9ad
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
2020-09-01 14:02:17 +00:00
Martin Trigaux ba693a7e02 [FIX] base: keep evaluation context unchanged
Before this commit, the evaluation context was forced with sudo(False)
as the call to _render_qweb_html was made with sudo(True). The sudo
was removed to prevent rendering a report on any object.

This was problematic for reports such as sale.order portal page where
the public user does not have access to the record but uses a custom
verification mechanism using an access_token field and then calling
_render with sudo.

This commit moves the sudo call to keep the _get_evaluation_context
with the same environment and allow to call _render with sudo

Add tests with sale portal building the report as low-priviledge user

closes odoo/odoo#56890

X-original-commit: 57665a02f7b4cd113f8f40ec47c58a518fe8669c
Related: odoo/enterprise#12845
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-01 12:50:44 +00:00
Benjamin Vray a108987c7c [FIX] website_hr_recruitment: fix read button on job description
Before this commit the class btn-outline-alpha was still used in a
button on the job description template. This class is no longer
available in Odoo so we replace it with btn-outline-primary.

task-2312878

closes odoo/odoo#56880

X-original-commit: 5be022b5231cecf82ed30651917c52282df42ebc
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-01 12:10:30 +00:00
Mohammed Shekha 75f6dcb8b1 [FIX] web: do not display nocontent help if empty
Have an action which help field has the value:
```
<p></p>
```
Display an empty list or kanban

Before this commit, the nocontent helper was displayed even though there was
nothing to display.

After this commit, an empty html tag is the same as an empty string,
so the helper is not displayed.

task-2320318

closes odoo/odoo#56883

X-original-commit: 3d6bdc5b01a4a94de9baa9bae230e6b34f38dbc9
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
2020-09-01 12:14:05 +00:00
Alexandre Kühn de57a2db14 [FIX] mail: message/activity link with dataset oe-id and oe-model
Task-2328718

closes odoo/odoo#56872

X-original-commit: 430aa0c2ffe242992fb935733d81f6e05a6d2458
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-01 11:28:05 +00:00
Martin Trigaux 90d85eb9c5 [I18N] export saas-13.5 source terms
Without demo data

closes odoo/odoo#56869

X-original-commit: 33f251b6489455cd7221f2c62dee0400a69784b8
Related: odoo/enterprise#12836
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-01 11:18:00 +00:00
shivam shah f0868efc23 [FIX] hr_attendance: Fix barcode image path in kiosk mode
Currently, when we open kiosk mode in attendance then the barcode
image is broken in community due to wrong img path.

So in this commit, Fix the barcode image as path to display
barcode image properly.

closes odoo/odoo#56868

Taskid: 2327526
X-original-commit: 4bfe8136f7cec853c1339c6d27754b8f1bc1c72d
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-09-01 11:17:33 +00:00
Nisha patel fac0380c37 [IMP] base: Move the private address, group to technical category
Currently, the access to private addresses group show in the other
category in user form view and due to that it is visible in non-debug
mode too.

So in this commit, Move the private addresses group to tehcnical
category so it should visible in  debug mode only.

closes odoo/odoo#56811

Task-id: 2318509
X-original-commit: 5f0ef2e36c33343a6beada36ef121de4b8767089
Related: odoo/enterprise#12803
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-31 14:00:13 +00:00
Victor FeyensandAlex Comba e8697f6093 [FIX] sale_coupon: batch confirmation of sales orders
`_send_reward_coupon_mail` is defined as `ensure_one` but is called on
`self` in `action_confirm` which supports multiple records in self, thus
raising a ValueError when confirming multiple sales orders together.

This commit adapts the method to handle multiple records.

FW-Port of odoo/enterprise#12161

closes odoo/odoo#56861

X-original-commit: 99c230c1c167d7369f8003c0219386799f92097d
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Co-authored-by: Alex Comba <alex.comba@agilebg.com>
2020-09-01 10:44:08 +00:00
Laurent Smet 39358b9564 [FIX] account_edi(_facturx): Don't spam the chatter with xmls
When using FacturX, the user shouldn't see any XML. Indeed, the XMLs are embedded inside the PDF.
Then, this is confusing to see all this XML attachments directly in the chatter.
To avoid that, FacturX is now creating the attachments without any link to the account.move.

Also, when reseting to draft/post multi-times, the old attachments are unlinked because if we want to retrieve it, we could look directly inside the old PDFs.

closes odoo/odoo#56844

X-original-commit: ea1a690d9859eca7df478a6b4de3ed704f13e0f8
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-09-01 10:50:43 +00:00
Laurent Smet 16a75f7e6b [FIX] account_edi: Process edi_document wo web services when cancelling
When calling 'button_cancel', the EDI documents that don't need any web-services must be cancelled directly.

X-original-commit: cd668909f578a7bbe87ab5e6f73df82855809c3b
2020-09-01 10:50:43 +00:00
Laurent Smet 5081999d52 [FIX] account_edi: Prevent unlinking a EDI document sent to the government
X-original-commit: ea95f62af4faa23880e7c1f1cbe1aad3b2a490da
2020-09-01 10:50:43 +00:00
Éloi Rivard 9d00341850 [CLA] Sign CLA for Éloi Rivard
closes odoo/odoo#56761

X-original-commit: 7cf0f52d97480a26b7d3a88b47f62608cfbec5c5
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-28 19:36:12 +00:00
Éloi Rivard 00907cc609 [FIX] hw_escpos: support for pyusb>=1.0.0b2
This adds support for pyusb dependency after v1.0.0b2 and
 brings a chance to rely upon the system pyusb package instead
 of a custom pip installation.

 By v1.0.0b2 the public API of the library has changed, and the
 'interface' parameter from 'usb.Device.write' method has disappeared.
 This patch sets or avoids this parameter depending on the pyusb version
 used.

X-original-commit: 312a161cacc7a04c2934a34ffb19cbf607462e69
2020-08-28 19:36:12 +00:00
oco-odoo 5e89044c92 [IMP] account_edi: improve test helper
Allowing to filter the type of EDI attachments data we want to filter allows finer testing when multiple EDI modules are installed. Wihtout that, we risk to also consider data from other formats than the one we are testing (it actually happened for l10n_mx_edi).

closes odoo/odoo#56824

X-original-commit: 719ffecb58a7e81089427c9e22b5e5f99246980b
Related: odoo/enterprise#12811
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-08-31 17:30:51 +00:00
wan 55acd311c4 [IMP] account: reduce number of queries of customer/supplier rank
By counting the number of customers/suppliers before doing the query and
updating all at once, we can reduce the number of queries done quite a
lot for big batches of invoices.

closes odoo/odoo#56848

X-original-commit: b0e0035b585f976e912e97e7f95f66b525bc8e43
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: wan <william-andre@users.noreply.github.com>
2020-09-01 09:11:01 +00:00
wan aaf0b65448 [IMP] account: improve perf of sequencing account.move
The peformances were bad when posting a lot of moves at the same time.
This is because a SQL query was executed for each document to retrieve
the last sequence used to build the new one.

By batching the documents to sequence, we can reduce drasticaly the
number of SQL queries done.

X-original-commit: ff26e093c98a5b933620642e242530a8931c1471
2020-09-01 09:11:01 +00:00
Odoo's Mergebot 10e3a2e82e [FW][MERGE][FIX] website_event_*: fix registration and tracks discovering flow
PURPOSE

This merge commit fixes a few wording and view issues on the "event online"
layouts, as well as minor templates adjustments.

SPECS

- Avoid breaking the talk description page when description is very long
- Modify all occurrences of "starts at" to "starts on" (better wording)
- Move the "hide sponsor" concept from _exhibitor to _track_online
  To be able to hide the sponsors on the "registration confirmed" template
- Hide the sponsor block in "mobile" view (breakpoint md)
- Have a common css definition for background color based on color field
- Reorganize track list display
- Make some minor layout adjustments (agenda colors / ...)

See underlying commits for details.

LINKS

Task ID 2325327

closes odoo/odoo#56812

Forward-port-of: odoo/odoo#56530
Forward-port-of: odoo/odoo#56430
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-09-01 09:19:16 +02:00
Thibault Delavallée 78eba76eb6 [IMP] website_event_track(_online/_session): improve talks list display
According to late specifications we are about to loose at least 20K€ in our
marketing actions if we do not

  * add a header 'Book your talks' on track page, as maybe it is unclear
    that a talks list having favorite buttons is there to help you booking
    your talks;
  * put 'Add to favorite' button as standard instead of small;
  * reorganize track card in list display, notably

    * hide tags in mobile as this adds a lot of noise, especially when having
      lot of tracks;
    * use background color as in agenda to highlight important tracks;
    * move favorite button on top of card in mobile;
    * hide duration in mobile, keeping only exact datetime at which is begins;
    * globally align items in desktop / mobile to have a nice display;

Task ID-2325327
PR odoo/odoo#56430

X-original-commit: 366b70f3d4758bbab0a3c16dc0ec48f300f1de8c
2020-08-31 14:01:06 +00:00
Thibault Delavallée cc27d3cb9f [FIX] website_event_track_online: update to new agenda specifications
Some new specifications

  * if a track has no color -> use a light bg instead of color_0 which is a
    hard gray. This is not really nice when having lots of tracks without
    color / some tracks with color;
  * align header badges;

Task ID-2325327
PR odoo/odoo#56430

X-original-commit: c804e8eceef03841aa7001a0b2cb14c58a5146f6
2020-08-31 14:01:05 +00:00
Thibault Delavallée afeb20cbda [IMP] website_event_online: add common CSS for color-based backgrounds
SPECIFICATIONS

Have a common css definition for background color based on color field. This
will be used notably for track agenda and list display.

LINKS

Task ID-2325327
PR odoo/odoo#56430

X-original-commit: 92579eddda3f15eef9d759a910000374a73f4410
2020-08-31 14:01:05 +00:00
Aurélien Warnon afb6749426 [FIX] website_event_*: fix minor view/wording issues
This commit fixes a few wording and view issues, notably:
- Avoid breaking the talk description page when description is very long
- Modify all occurrences of "starts at" to "starts on" (better wording)
- Move the "hide sponsor" concept from _exhibitor to _track_online
  To be able to hide the sponsors on the "registration confirmed" template
- Hide the sponsor block in "mobile" view (breakpoint md)
- Make some minor layout adjustments

Task ID-2325327
PR odoo/odoo#56430

X-original-commit: 342799035911123b609876268a86c1da251f7645
2020-08-31 14:01:05 +00:00
Victor Feyens c482fdbf05 [IMP] various: improve code style and performance by improve `all()` usage
PURPOSE

Clean code. Be more performance oriented.

SPECIFICATIONS

Improvements applied in this commit

  * not all() --> any(not) for earlier returns;
  * all([generator]) --> all(generator) to avoid unnecessary list casting.
    This code construct is better managed by all;

This commit will probably not have a big performance effect on standard
production databases. However each performance and cleaning improvement
is welcomed.

LINKS

Task ID-2328619

closes odoo/odoo#56810

X-original-commit: 1cc6bb1231401ea7f501d2f5b5e9641ec8734850
Related: odoo/enterprise#12802
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-08-31 13:59:27 +00:00
Sébastien Mottet (oms) d0af0ddcc7 [IMP] fleet: add 3 fields specific to bike vehicle type
The three following fields have been added to fleet.vehicle:
	- frame_type (Selection)
	- frame_size (Float)
	- electric_assistance (Boolean)
These fields are specific to bikes and are only displayed in form view when vehicle_type = bike

Number of doors is now set to 0 instead of 5 when the vehicle is a bike.
"plan_to_change_bike" boolean field has been added to the res.partner model and has also been added as related field in fleet.vehicle model.

Task ID: 2238055

closes odoo/odoo#50064

Related: odoo/upgrade#1718
Related: odoo/enterprise#10152
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-31 08:49:03 +00:00
Dhruv Patel 0ee9d0dadb [FIX] base: avoid line break in report header address field
Have a fairly long (but reasonable) address
Print a report

Before this commit, the address line is split into two lines.

After this commit, the address displays on one line.

closes odoo/odoo#56809

Task-id: 2321081
X-original-commit: efd7da201694fdbc4e0370b3275daa676429b9ba
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
2020-08-31 13:12:05 +00:00
jbm-odoo fd6644e4cb [FIX] sale_timesheet: Billable project
taskID 2323997

closes odoo/odoo#56798

Related: odoo/enterprise#12793
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-31 12:02:56 +00:00
shivam shah 8d1918d82c [FIX] hr_recruitment: Fix traceback on applicant quick create
Currently, when got to applicant view and quick create the applicant
in the kanban view there is traceback for department_id.
becasue department_id is computed field which depends on job_id
and it was not set as False due to filter on self.

So in this commit, If job_id is not there then department_id
should be set as False.

closes odoo/odoo#56796

Taskid: 2320885
X-original-commit: 2ec35b724e5ac985a4baef85b96dc3411a828762
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-31 11:57:34 +00:00
Kamesh Patel 0e8d2f4f15 [FIX] web: emptylist helper position
Before this commit:

An empty list helper position not centered when search panel sidebar is
there and some issue created while having a droplet on it as the
position will shifting after a few seconds (sign_tour)

After this commit:

Set an empty list helper at a relative position and now it will always be
displayed at the center whenever have a search panel sidebar

LINKS

Task-2323988

closes odoo/odoo#56792

X-original-commit: d50c7f5c88eaef56c757849a64d63f92bd73f2f2
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-31 11:14:27 +00:00
Damien Bouvy 2cc8af737a [FIX] sale,payment: remove useless comments
DBO won't be here anymore 👋

This is my last commit, I had to find something harmless.

Task-NaNNaNNaNNaNNaNNaN

closes odoo/odoo#56789

X-original-commit: fc92728fb2aa306bf0e01a7f9ae1cfa3c1df0e10
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-31 09:59:54 +00:00
Joren Van Onder 44df9e3e09 [FIX] sale: the paid state was removed together with account.invoice
The correct way to check if an invoice is paid is through the
payment_state field.

A similar fix was done in 13.0 with 276b9327b, but in 13.0 the field
was called invoice_payment_state. It was renamed to payment_state in
saas-13.3 with 8e4158af8.

opw-2328046

closes odoo/odoo#56783

X-original-commit: d73b40aa7dc8dcf2ea45da01d98cc5b15b23e677
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-08-31 08:37:11 +00:00
Pierre Collinet (pic) 26ada8aea0 [IMP]hr_recruitment: adjustments for the onboarding tour
- reduce the size of the tooltip box when the tip is short
- display the rainbow message longer on the screen to allow
the user to read it.

closes odoo/odoo#56562

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-26 09:23:18 +00:00
Francois (fge) 093641cd73 [FIX]hr: employee and user image synchronization
Remove the employee's image by default to avoid unnecessary image storage.
Add a placeholder in the kanban view.

closes odoo/odoo#55243

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-13 07:55:07 +00:00
Jeremy Kersten a019479d14 [FIX] website: check website_published exists before use
closes odoo/odoo#56786

X-original-commit: d23899b3c4ea91e4ac80163764c97cb9591d889c
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-08-31 09:17:10 +00:00
Jeremy Kersten e6f8c86572 [IMP] website: Use contact us as default cta in header
X-original-commit: 963215f488d12aa6fbb0c108dfd1c3dc557756d8
2020-08-31 09:17:10 +00:00
Antoine Prieels bbc3f70ece [IMP] pos_restaurant: Open tabs Usability
Improve usability of open tabs in the POS.

closes odoo/odoo#56785

X-original-commit: bbe80dcb30c1f5f028bf05cd14a514c627f4ee92
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
2020-08-31 09:16:46 +00:00
Odoo's Mergebot c433d075b3 [FW][MERGE] mail, various: improve follower subscription in gateway
SPECIFICATIONS: MAIL GATEWAY

Document creation or update is still done without auto subscribe. Indeed user
running mailgateway or owning alias is not necessarily linked to the email
author. That way we avoid auto subscription of irrelevant people.

Posting message based on incoming email is now allowing auto subscription if
there is an author found during email parsing. We also ensure this author is
not root, to be sure he is not added in followers of documents.

SPECIFICATIONS: INACTIVE PARTNERS

Tested flows

  * posting a message through an inactive partner (like automated actions
    posting a message on behalf of an inactive partner);
  * automatic subscription based on parent record (like an archived user and
    partner following a project that should not be added as follower of sub
    tasks);
  * automatic subscription based on responsible field: this is already fixed
    as user has to be active to receive a notification and be added in
    followers;

LINKS

Task ID-2326281
PR odoo/odoo#56560
Closes to odoo/odoo#38383

closes odoo/odoo#56743

Forward-port-of: odoo/odoo#56560
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-31 10:50:07 +02:00
Thibault Delavallée cc5ccf972d [IMP] mail: subscribe creator of document through mail gateway if not superuser
Document creation or update is still done without auto subscribe. Indeed user
running mailgateway or owning alias is not necessarily linked to the email
author. That way we avoid auto subscription of irrelevant people.

Posting message based on incoming email is now allowing auto subscription if
there is an author found during email parsing. We also ensure this author is
not root, to be sure he is not added in followers of documents.

LINKS

Task ID-2326281
PR odoo/odoo#56560
Closes odoo/odoo#38383

X-original-commit: fe27f9fe0cf9581c15a2a9e45125abe82dd303ad
2020-08-28 14:53:46 +00:00
Thibault Delavallée 285aa27da4 [IMP] mail: do not auto-subscribe inactive partners
Tested flows

  * posting a message through an inactive partner (like automated actions
    posting a message on behalf of an inactive partner);
  * automatic subscription based on parent record (like an archived user and
    partner following a project that should not be added as follower of sub
    tasks);
  * automatic subscription based on responsible field: this is already fixed
    as user has to be active to receive a notification and be added in
    followers;

LINKS

Task ID-2326281
PR odoo/odoo#56560

X-original-commit: 42910ce25f06a31af3cfbc8d5d41e443ee754c34
2020-08-28 14:53:46 +00:00
Thibault Delavallée b4b31d867c [IMP] test_mail: add some followers test about active flag
There is no test ensuring standard message_subscribe API does not subscribe
inactive partners. As this is part of this method purpose, let us add a test
to avoid any regression.

LINKS

Task ID-2326281
PR odoo/odoo#56560

X-original-commit: f45d7ace687911f4090c081bdc0e8127c382bd64
2020-08-28 14:53:46 +00:00
Katherine Zaoral 6b2d2bb18d [IMP] l10n_latam_invoice_document: remove context key
internal_type context key is not used anymore, now use the
debit_origin_id directly to know if the current account.move is a debit note

closes odoo/odoo#56673

X-original-commit: c45edd11a048d4822b1ffd5dcebdb63d0e0e8f45
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-08-27 14:39:23 +00:00
Katherine Zaoral 5bf917bf5b [IMP] account_debit_note: remove context key
internal_type context key is not used anymore, now we use the
debit_origin_id field directly to know if the current document is a
debit note or note.

X-original-commit: 7e6b3027f60aa7b3b183bdf92b751b2621225b4f
2020-08-27 14:39:21 +00:00
Anh Thao Pham (pta) 08bede3d9d [FIX] crm: fix undesired meetings via partner's smart button
- Create a Meeting for Contact X
- Go to Contacts and open Contact X
The Meetings smart button shows 1, but when clicking on it,
all user & partner meetings are displayed.

opw-2320299

closes odoo/odoo#56753

X-original-commit: 70f441a7ee3d46f6ba25cf56529a972b9e7ab29e
Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
2020-08-28 15:56:01 +00:00
Sébastien Theys 590a088750 [FIX] mail, *: fix opens and redirects, adapt messaging menu close
task-2244279
task-2262862
task-2274993
task-2277537
task-2282238

closes odoo/odoo#56755

X-original-commit: 17611f4adc5e950b0a75a2a6615b1da3c956387f
Related: odoo/enterprise#12769
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-28 17:34:13 +00:00
Jorge Pinna Puissant 86221d1f71 [FIX] account: show taxes when they are zero on invoices print
Before this commit, the taxes with amount of zero are not shown on
invoice print. For instance, the 15% tax of a product with value of
€0.01 will not be show on invoice print.

This previous commit 37a0f7acae8aebef35577b178f8aeefed11c9105 allows
showing zero percent taxes on invoice print. This commit, will
fine-tuning the previous commit to also show taxes with zero amount.

opw-2307761

closes odoo/odoo#55665

X-original-commit: b8bb1e12a10477bb31addc6d3cecefa046dd09fe
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-08-28 16:23:42 +00:00