Commit Graph
134267 Commits
Author SHA1 Message Date
Rémy Voet (ryv) ef863e812b [REM] delivery: remove unused field/method
- The volume field of stock.picking extended in delivery was unused,
-> remove it.
- The commit 2ff3749064, add
the 'check_packages_are_identical', which is never used.
- Remove useless variable 'res' of print_return_label in stock_picking

task-2201168

closes odoo/odoo#46516

Related: odoo/upgrade#866
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-02-28 09:23:58 +00:00
Swapnesh Shah 36cec45f43 [IMP] auth_oauth: use sequence field for ordering
A sequence field is present in the model but was not used.
After this commit, the field is used as sorting criteria. This allows to sort providers on the login page.

closes odoo/odoo#43968

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-02 17:13:33 +00:00
Swapnesh Shah 4867c64ae3 [IMP] auth_oauth: Add missing field in form
Field `css_class` was not added on Views.
In this commit, we add this field on form view.
2020-03-02 16:52:09 +00:00
Adrien Dieudonne 464968de36 [FIX] account, hr_expense: amounts on multiple lines in the dashboard
Before this commit, the amount currency could be wrapped on a
second line (on mobile).

To fix this, we had to find a way to have more space:
- Buttons are now displayed at the top (mobile only).
- Amounts can grow (col-auto) and the other column will take the
  space left (col) and add "..." when there is not enough space.
  (mobile + desktop)

We also had to remove a button from a div tag in order to display
the buttons next to each other on mobile (buttons are "inline-block"
but div is a "block").
The main flow tour has been adapted accordingly and the typo has
been fixed too...

closes odoo/odoo#46680

Task-id: 2184243
X-original-commit: 159e3d4cb8a301c908f7718a56138528033e75d4
Related: odoo/enterprise#8963
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2020-03-03 08:09:49 +00:00
Humberto Arocha 39c4d122a2 [FIX] account: extract code into method to allow changing the date of the tax
Before this commit, when two lines belonging to a period that is already
closed a cash basis entry is created at the present date. There are
localizations that could not allow creating the cash basis entry in a
date other than the maximum between the Journal Items being reconciled.

Now, the localizations are able to override and chose the date without
having to override the whole 'create_tax_cash_basis_entry' method.

opw-2195016

closes odoo/odoo#46661

X-original-commit: 2d3ab28c22c8ad5f9ed379e6b49697822e01a002
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
2020-03-02 15:19:04 +00:00
Lois Rilo 0e11d7383c [IMP] purchase_stock: enhance extensibility of _run_buy method by
allowing to force the vendor to be used in the procurement batch.

This does not change any default behavior.

closes odoo/odoo#46678

X-original-commit: 8bff35182c38522bbd6fc218956fe0f8fe99eca4
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-03-02 19:34:15 +00:00
Pedro M. Baeza 32c81cc195 [FIX] mrp_subcontracting: Allow subcontractor contacts to be used
**Steps to reproduce:**

* Create a subcontractor.
* Create a BoM of type Subcontracting and assign the subcontractor.
* Create a children contact for the subcontractor.
* Creat a purchase order (or a receipt picking) with the children contact of the subcontractor.
* Confirm the document.

**Current behavior:**

Subcontractor documents are not created.

**Expected result:**

They should be created.

**Cause:**

The BoM search is not including possible parents of the partners.

**Solution:**

With the use of `parent_of` operator in the search, we cover both cases of the children
and the parent as initiators of the subcontracting.

closes odoo/odoo#46670

X-original-commit: 86726aba26f4ba8d7dadb29ed2415baf49fe54c0
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-03-02 17:06:25 +00:00
Rémy Baranx (bar) 01412dd7d9 [IMP] project: Hide negative hours in project overview
Purpose
=======

Negative hours take the whole space in the 'time by people' section.
This is misleading because, visually, it looks like that employee
timesheeted as much time as his colleagues.

Specifications
==============

Project overview > time by people section: exclude negative hours from
the 'colored bar'

closes odoo/odoo#46226

Taskid: 2201980
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-02 15:56:16 +00:00
Victor Feyens eff7885e0d [IMP] sale: qty_invoiced computation test
Finetuning of #46133 which refactored qty_invoiced compute for performance reasons,
this commit adds a test to ensure the behavior stays constant w.r.t uom rounding
which was previously done in python and is now done in sql.

closes odoo/odoo#46665

X-original-commit: ce9f13a018b752f47bb455e35737e82247ca3089
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-03-02 15:43:25 +00:00
jbm-odoo b2414b118d [IMP] hr_expense: Add dashboard for My Expenses
closes odoo/odoo#45659

Taskid: 2198487
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-28 10:36:52 +00:00
Jigar Vaghela f348621e0b [FIX] l10n_in: bug from port forwarding
From saas-13.1 country_id is removed from tax.report.line and report_id is introduce from https://github.com/odoo/odoo/commit/ef0488ef91161eba5267ea29fa5c6b379c483f29 this commit.
So change accordingly in this commit

closes odoo/odoo#46651

X-original-commit: 849f39639cfe1af2c485fa0b4bab9cc4aa7ef359
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-03-02 13:38:14 +00:00
Lucas Perais (lpe) 9ce6136be7 [FIX] web, base: make company-specific report assets static
Before this commit, the company specific colors and font were
implemented by systematically overwriting a "virtual" report SCSS
asset file before rendering each report.
This caused many issues, forced frequent asset bundles recomputations
(performance problem + cache invalidation causing random bugs).
And it could simply not work in a multi-company setup where multiple
styles are involved, as the asset management could be made not
thread-safe.

PR #44225 was a first attempt to mitigate the numerous problems by
making the asset bundle invalidation less frequent. But the problems
were still present and a more complete solution was necessary for
multi-company setups.

Besides, the design of the bundle forbade making company specific assets.

This commit uses a different approach: instead of having a
company-specific asset that needs to be constantly updated, a global
"multi-company" asset is maintained and included in the report assets.
It only needs to be generated when a company style changes, not for
every rendering operation.

Unfortunately this change cannot be fully performed without updating the
template declarations, so it will require an update of the `web` (or
`base`) module to be operational.

As this represents a rather invasive change in a stable branch, extensive
testing was conducted to minimize the effects and ensure proper
degradation of features for production deployments where the new code
would be deployed without forcing an update of the `web` module:
- The report SCSS files were left untouched, to prevent any bundle
  invalidation, ensuring that old cached assets would remain valid. This
  means that single-company setups should not see any visible difference
  after pulling the code (with or without updating `web`).
  SCSS cleanup will be done later.
- Existing Python methods were kept but emptied, to make sure that
  old templates and code would not crash.
- For multi-companies, the last used colors will be applied for all
  reports until the `web` module is updated. The old behavior was not
  working correctly anyways, so the degradation is actually limited.
- For all setups, changing the colors after deploying this patch will
  have no effect unless the `web` module is updated.

/UPDATED FOR master on top of #44393/:
- removed the `res_company.update_scss()` method entirely
- fixed the report SCSS styles, as the variable names referred to the old
  behavior, e.g. "$o-company-primary-color" is nonsense.
  Renamed to "$o-default-report-primary-color" etc.

--
Improves #44225
Forward of #44393

opw-2168623
opw-2171040

closes odoo/odoo#46647

X-original-commit: a5b1421aecf27b1de408434d3bb6d7ac81f57dc3
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2020-03-02 13:22:09 +00:00
jbw 5c127860fc [FIX] various : fix misspellings
- small mistake when you want to import a bank statement file:
  it is written:
  SEPA recommanded Cash Management format (CAMT.053)
  while it should be:
  recommended

- comma separated -> comma-separated

Task : 2200054

closes odoo/odoo#46645

Related: odoo/enterprise#8940
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-02-28 15:29:32 +00:00
jbm-odoo 49d64a8fb1 [IMP] website_forum: Add privacy
Add privacy on forum: public or private. If private, we must select
one group that has access.

For forum linked to eLearning course: the privacy of forum is the same
as the course. If the course is not yet published, the forum will be
invisible (unless we have the group group_website_slides_officer).

If a forum linked to a course is unlinked or removed, the forum will
become private and his group will be set to group_website_slides_officer.

All posts and tags have the same access rules as their linked forum.

closes odoo/odoo#43486

Taskid: 2169965
Related: odoo/upgrade#758
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-28 08:58:43 +00:00
lejeune quentin ee519c222f [REF] hw_posbox_homepage: Use helpers to get mac address in homepage
We use a library to get mac address of IoT in homepage.

however we already have a function that does this in the helper in hw_drivers

closes odoo/odoo#46631

X-original-commit: ae78e9cdde777ffac6f08a35dd00a540c92130bb
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2020-03-02 09:01:11 +00:00
Nisha patel 159699b09c [IMP] various: set boolean_toggle on 'active' fields in form view
Currently, to activate/deactivate records with the 'active' checkbox
user has to switch to edit mode of the form.
So the purpose of the task is to allow the user to activate/deactivate
records from the readonly mode of the form view.

In this commit, we  set widget='boolean_toggle' on the 'active' field in form
view.

closes odoo/odoo#46567

Taskid: 2206794
Related: https://github.com/odoo/enterprise/pull/8918
Related: odoo/enterprise#8918
Closes: #46567
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-02 06:26:02 +00:00
Patrick Hoste 8a6e6484ba [IMP] event: add some tests for is_ongoing field
Adds some python tests for the is_ongoing field and search filter.

LINKS

Task ID : 2190611
PR : #44651

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-02-26 10:55:11 +00:00
Lucas Lefèvre 983edd2fcc [FIX] lunch: Apply real multi company ir.rule
The current "mutli-company filter" of lunch product reports is hardcoded
in the SQL view, based on the user's company, ignoring the general
mechanism of multi company rules (env allowed companies).

Task 2202678

closes odoo/odoo#46630

X-original-commit: b77d2bde9431ae549779a466a76dae7c3173d8a6
Signed-off-by: lul-odoo <LucasLefevre@users.noreply.github.com>
2020-03-02 08:57:10 +00:00
jev-odoo d2860cc9dc [FIX] point_of_sale: hide irrelevant info from kanban
Before this commit, the last cash balance was shown on the kanban
card even if the cash control feature was not activated.
Without this feature, the field is irrelevant.

This commit hides the field when the cash control is not
activated.

OPW-2179888

closes odoo/odoo#46623

X-original-commit: 6302e0fab2886a506313c6eb4894051789cd0e11
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2020-03-02 08:05:19 +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
svs-odoo a5ef8f2b8a [FIX] stock: description delivery slip
Before this commit, the description of the move was displayed on the
Delivery Slip report, even if the description is exaclty the same as the
product name (which is the case by default).
Now, as it's somehow ugly to have the repetition, they will not display
the description if it's the same as the product name.

opw-2205325

closes odoo/odoo#46550

X-original-commit: e6ee4824a6e422960c648e9a1f684e56e6dabd89
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-02-28 12:18:56 +00:00
Sébastien Theys 974736306f [FIX] mail: allow to create channel with user in another company
When there is no intersection between the allowed companies of the current user
and the target user, the `with_user` would lead to the company check always
failing.

opw-2197955

closes odoo/odoo#46606

X-original-commit: ceee2c05f8a4fc69b8ae34469ac56a055ba7b7cf
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2020-02-28 17:06:10 +00:00
fja-odoo 25025a886c [IMP] website_sale: add default sequence to category
New categories will now we added at the end by default.
The sequence field is hidden in the form view.
It's still possible to order them from the list view.

Part of task-2002125

Closes #25535

Co-authored-by fja-odoo <fja@odoo.com>
Co-authored-by Sébastien Theys <seb@odoo.com>

closes odoo/odoo#46600

Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
2020-02-28 16:20:15 +00:00
qsm-odoo 0280b5fb01 [REF] web_editor, website: rename editor left panel tabs
- "Options" -> "Style"
- "Theme" -> "Options" (as now contains not-theme-related options)

closes odoo/odoo#46602

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-02-28 16:17:25 +00:00
Sébastien Theys 5e5fc53aaa [FIX] im_livechat: prevent crash in rule matching if URL not set
The URL might not be set because it comes from `referer`, in that case match the
first rule with no `regex_url`.

It crashes before this commit because `re.search()` is expecting a string and
`headers.get()` is defaulting to `None`.

opw-2205202

closes odoo/odoo#46593

X-original-commit: e2f8caf07b2f749935df9184ded738cc1c482423
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-02-28 15:16:17 +00:00
William Henrotin 0d73734325 [FIX] mrp: set new initial demand on byproduct
Commit a4c0994 uses variable `qty` as input parameter but override it
at each loop iteration. The original value of `qty` is lost after the
the first pass and so give wrong results for all next iterations.

This commit uses another name to never lose the given value.

closes odoo/odoo#46587

X-original-commit: e1c30bceba6d47d8e087e540f995a02086fa6283
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
2020-02-28 14:51:10 +00:00
Michael Mattiello (mcm) 89ddd24926 [FIX] web_tour: listen on the 2 fields of date picker
The date range picker works with 2 fields but we only listen on
the one that has the tip. If we change the field that doesn't have
the tip the event "tip_consumed" is not triggered. So we need to
listen on the 2 fields.

This issue is not met before 13.3 but we fix it from 13.0 when
daterangepicker was added.

Task with the issue: 2180175

closes odoo/odoo#46561

X-original-commit: e2c7498e05318b774badc3a93d0b31b955f15b2d
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-02-28 13:05:31 +00:00
Thanh Dodeur 560e3af48a [IMP] web_editor, website: adds custom code to head and footer
This commit adds two buttons on the Theme side menu that allow users to
add custom XML to the head and to the footer of the website.

Part of #44633
task-2168391

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-02-28 13:48:39 +00:00
Thanh Dodeur da46ba7bc1 [IMP] website: increase priority of user custom assets
This commit moves the custom user css assets to a higher priority
so their custom css have ascendancy over the other rules.

Part of #44633
task-2168391
2020-02-28 13:48:25 +00:00
Thibault Delavallée 456f8a7e70 [FIX] event: fix seats computation when creating an event
Dealing with newId is sometimes difficult.

closes odoo/odoo#46560

X-original-commit: 416d5ae6f7753c413b6981f9de3d24913943e9c2
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-02-28 12:59:26 +00:00
jvm-odooandaab-odoo b8b0a2ac7f [FIX] web: fix more menu
Issue

	- Install Accounting
	- Resize your window to have the more menu
	- Refresh the page to make the JS working correctly
	- Click on the item on the left of the more menu
	- Do not close the menu just hover the more menu
	=> It doesn't appears (the .show class is on the last <li> child instead of the parent)
	Click on the more menu
	=> It appears but small & with items broken

Cause

	Without the :first, all the more menu dropdown where toggled

Issue

	Add :first to the target to toggle

OPW-2178843

closes odoo/odoo#46553

X-original-commit: 55a4a834461446a070ad06d1b24d67fbc27799a1
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Co-authored-by: aab-odoo <aab@odoo.com>
2020-02-28 12:22:43 +00:00
jvm-odoo e29e2e31f6 [FIX] hr_holidays: fix traceback when clicking schedule next activity
Issue

	- Time Off
	- Managers > All > Time Off
	- Any form > Schedule Activity > Any activity > Schedule
	- Mark as Done > Done & Schedule Next

	Traceback "field can_reset does not exist"

Cause

	In ir.ui.view the postprocess_and_fields tries
	to return an architecture and a description of all the fields
	of mail model (with view=False) but as we have a context
	key 'form_view_ref' with value hr_holidays.hr_leave_view_form_manager

	It loads the field of this view's model too and then it compare
	them to the mail model fields.

Solution

	Move the view ref into view_ids

OPW-2205031

closes #46150

closes odoo/odoo#46552

X-original-commit: 88104afaa07f80261d3198abd71b7bea7c1cf3f4
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-02-28 12:22:22 +00:00
mgh-odoo 7fa9aa9f7d [ADD] l10n_co_pos: DIAN Sequence for pos receipt
In the Colombian legal requirementqs for point_of_sale, a number should
be printed on the receipt, this number sequence must have no gap and no
duplicates.

As there is already a no gap 'ir.sequence' on each config, we allow the
edition of this sequence, and set set same ir.sequence on all pos
config, with their DIAN number as prefix.

closes odoo/odoo#46546

Task-id: 2169664
X-original-commit: 4ba07bb5a503b5d7dc1ad07cc05adac6309ab8c4
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2020-02-28 12:16:13 +00:00
Odoo's Mergebot 5855bd1154 [MERGE] utm, mass_mailing: improve backend ui
# Purpose

Improve the design and the usability.

# Specifications

- Replace fa-clock icon by fa-calendar-check-o icon on kanban view for consistency.
- Remove the dropdown header "Colour" for color picker.
- Increase the height of the iframe to edit the mail with the web_editor.
- Make sure that the html body is displayed next to the editor panel, when it's open in a modal.

task-2198656

closes odoo/odoo#45652

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-02-28 14:10:06 +01:00
Jérémy Hennecart 3abf0e7df1 [IMP] web_editor: increase height of iframe
The heigth of the iframe for editing a mail template
was to small, which makes it quite uncovenient.
The height has been raised to improve the usability
of the editing feature.

task-2198656
2020-02-27 09:59:24 +00:00
Jérémy Hennecart c7a4aabc65 [IMP] utm: remove the header for color picker
Remove the header "Colour" for color picker for
consistency with other color pickers.

task-2198656
2020-02-27 09:59:23 +00:00
Jérémy Hennecart fc8e4465e1 [IMP] mass_mailing: improve ui backend
- Replace the fa-clock icon on the kanban view for
the fa-calendar-check-o icon to be consistent with
others modules.
- When you wanted to create/edit a mail template using
the web_editor, when it was open in a modal, a part of
the body was behind the editor panel. Now the body is
correctly display when opened in a modal.

task-2198656
2020-02-27 09:59:23 +00:00
Rémy Baranx (bar) 0d41a3cb81 [FIX] sale: Traceback when creating a quote
The field 'type' in the account.move model has been renamed into 'move_type'
but the ir.rules of the sale module have not been updated.

The fix consists in renaming this field in ir.rules.

As another bug was due to this field renaming (see 51b70b6fc4), I have checked
that the old 'type' field is no more used in Odoo files.

closes odoo/odoo#46398

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-27 07:39:26 +00:00
Romain Derie c593e7d598 [FIX] website_mail: avoid sending too many RPCs
Before this commit, a JS widget would be instanciated for every `.js_follow` on
the page.
Every widget would then perform a RPC to know if the object was followed.
That would be an issue if there was too many `.js_follow` on the DOM.
Eg: on the forum tag page (/forum/1/tag), there might be unlimited tags. This
    is where the biggest issue is ATM, on Odoo.com we have over 5500 tags,
    which performs 5500 RPC.

Your browser will most of the time just crash.

This commit improves that behavior by sending only one RPC to get the tags info
in once.
With 5000 tags, there was 5000 RPCs, now there will only be one for the tags.
Also, each RPC were doing 8 requests each, so this will bring requests from
40.000 to 80.

Fixes #45576

closes odoo/odoo#46278

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-02-27 16:54:25 +00:00
Rémy Baranx (bar) 7485177be1 [IMP] various: add documentation links in res.config
Purpose
=======

A 'book icon' link to the documentation of a feature has been
added in its settings panel, when it is useful (complex feature).

Add a nightly test that parses all the res_config_settings views
from the base one and checks that all documentation links are still valid.

Add the o_doc_link class to all documentation links to be able to easily
catch them if needed.

closes odoo/odoo#45813

Taskid: 2180574
Related: odoo/enterprise#8601
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-28 10:47:15 +00:00
Pierre Masereel ff3b2649f6 [FIX] point_of_sale: hide 'loading' text when printing
When we are using auto_print without iot box, the 'print()' function on
window is called, and if we are validating a invoiced order, the
download of invoice will let a blockUI over the receipt screen.

To  avoid printing 'Loading' on the receipts, we are not displaying the
blockUI when we print, as it is never expected.

OPW-2199489

closes odoo/odoo#46528

X-original-commit: 54a3ef53e94a756c8635b708b9f187aefc8c5c8b
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-02-28 10:32:00 +00:00
svs-odoo ededb4a537 [FIX] stock: typo in put in pack message
closes odoo/odoo#46525

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-02-27 15:22:45 +00:00
qsm-odoo 4d37071213 [FIX] web: review domain for assets attachement
Make the domain to match assets attachment more robust to avoid
deleting wrong files.

closes odoo/odoo#46523

X-original-commit: c92d63fa5baf09cb0969fcf4fbd5c28407af58ae
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-02-28 09:52:26 +00:00
Rémy Baranx (bar) 880d0fc500 [IMP] hr_timesheet: clean duration format in the portal
The duration format for timesheet durations has been set to "00:00"

closes odoo/odoo#46289

Related: odoo/enterprise#8787
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-25 14:03:34 +00:00
Kevin Baptiste 659549d4e3 [IMP] sale_timesheet: hide invoice timesheet for down payment
Hide the date_invoice_timesheet field if 'down payment' is selected.

closes odoo/odoo#46265

Taskid: 2203363
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-25 14:47:36 +00:00
fw-bot 1d135ffc06 [FW][FIX] base: No company_id on new res.partner
When a user is created, its partner_id shall not have any company_id.

A test has been added to check that in 'base/test'.

Update test_mail tests by setting a company to partner_id linked to users
as now, by default the partner linked to a new user has no company_id.

closes odoo/odoo#46515

Task: 2198688
Forward-port-of: #45900
X-original-commit: 187b12fc5715721efdd9af283e086dfc3f856fc2
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-28 09:19:19 +00:00
qsm-odoo b6553afeac [FIX] base: properly alert the user of bundle compilation errors
Since we now use native promises, the code in charge of alerting the
user of bundle compilation errors was opening both an alert and a
dialog (fwp of https://github.com/odoo/odoo/pull/46437).

In 13.0, the mention fwp is not enough. On the website, the JS is also
lazy loaded now so we need to wait for that lazy loading before being
able to open a modal.

The whole alerting code should be improved to not be defined in python.

Fixes https://github.com/odoo/odoo/issues/45447

closes odoo/odoo#46482

X-original-commit: d5a2469b1edd0d22b366b44086d08c6f0b2247b2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-02-27 19:33:01 +00:00
Odoo's Mergebot 35e66df3e2 [IMP] * : generic improvements
[IMP] sale_timesheet: add domain on sales order field
==========================================

A domain has been added to the Sales Order field
on project task so that the task and the so have the same
commercial_partner_id.

[IMP] sale: add kanban view for sale.order.line for better display on mobile
=========================================================

For a SO line on mobile it was displaying only the name of the line without
the SO number. It wasn't very practical for the users so we added this view
to display the display_name instead.

[IMP] web: change the default name of a column in kanban view
=================================================

This changes the name of the column in kanban view when the records
are grouped by date. The column name of the records with no date
went from false to Undefined.

Task-2188831

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

closes odoo/odoo#45646

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-28 11:24:49 +01:00
Prakash Prajapatiandjdoutreloux 901f5bbd82 [IMP] web: change the default name of a column in kanban view
This changes the name of the column in kanban view when the records
are grouped by date. The column name of the records with no date
went from false to Undefined.

Task-2188831

Co-authored-by: jdoutreloux <jud@odoo.com>
2020-02-28 10:15:32 +01:00
Prakash Prajapatiandjdoutreloux 392f8d30f0 [IMP] sale_timesheet: add domain on sales order field
A domain has been added to the Sales Order field
on project task so that the task and the so have the same
commercial_partner_id.

Task-2188831

Co-authored-by: jdoutreloux <jud@odoo.com>
2020-02-28 10:15:32 +01:00