PURPOSE
Fixes traceback when clicking on "re-send letter" or "cancel letter" buttons
(RPCs were being made with wrong number of arguments)
makes the "Buy credits" link open in a new tab to not interrupt the user's workflow
task-2068271
closesodoo/odoo#36667
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
In this commit, replaced label string 'Finished Products' to 'By-Products'
inside the work order form view. It's more readable and useful to the user
task-2058431
closesodoo/odoo#36343
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
* = point_of_sale, sale_management, sale_product_configurator, stock,
website_sale, website_sale_comparison, website_sale_wishlist
- Remove Attribute Values menu to ease onboarding because everything can be done
more cleanly through Attributes menu.
- Remove unwanted new lines from help texts.
- Hide color fields when attribute type is not color.
- Move Attribute "Related Products" into a tab because it is less important than
the rest of fields.
The opportunity is also taken to rename the `type` field of `product.attribute`
to `display_type` to better convey its meaning.
task-2058142
closesodoo/odoo#36313
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
*:
- account
- barcodes
- calenndar
- hr_timesheet
- mail
- mass_mailing
- partner_autocomplete
- web
- website_slides
This commit removes description of fields that should not be shown in
non-debug mode Studio. Only field widgets whose own description is
set are displayed in non-debug mode Studio in "Widget" of sidebar.
In other words, even if any ancestor has a description but not the
current widget, it won't be displayed in the sidebar in non-debug
mode.
Task-Id 2056992
closesodoo/odoo#35902
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
The following issue occurs nondeterministically: a test fails when
trying to flush pending updates with a user id that does not exist.
This only happens with `SavepointCase` tests.
Here is the explanation: the method `cr.savepoint()` retrieves an
environment to flush pending updates, and the chosen environment has a
user that was created in another test, and thus no longer exists. The
problem is that `Environments.envs` contains environments that are no
longer supposed to be used.
The solution consists in, after the test, discarding the environments
that were not present before the test.
closesodoo/odoo#37341
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
The company description in the chatter was replaced with our internal note
Same thing if we filled the company name in the Follow-Up tab before the lead was enriched
TASK-ID : 2069155
closesodoo/odoo#36625
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
There was no way of knowing which vendor bills were duplicated if you
uploaded multiple vendor bills and the warning from
_check_duplicate_supplier_reference was raised.
closesodoo/odoo#37131
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Follow up of 269aa59411
`request.lang` is only set on `http_routing` so it cannot be used here.
The fix here is the same as what was done on `web` on the mentioned commit.
To reproduce the issue:
- install any module, but not `http_routing`
- use reset password
- try to set a new password from the received link with token
A few notes about the mentioned commit:
- the `lang` `lazy_property` was removed because it was a string before and a
record now, and lazy_property cannot return a record
- the `lang` on the `request` is now a record
- the `lang` on the `context` is still a string
closesodoo/odoo#36468
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
f67ee39c0c4639d7445cc341189a0b1092937f22 added Change the label "/" by "Draft <document type>" for draft entries (change name_get() of account.move)
We should have used _get_move_display_name instead. Not using it was
causing 2 different behavior (group by name in Sale/Purchase/... and
Journal Entry in Partner Ledger list view)
Also, _get_move_display_name was only differentiating draft invoices,
not bills, credit notes,...
closesodoo/odoo#37273
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Purpose
=======
A lot a demo data are added in enterprise for the Belgian company.
It implies for example a private address for a Belgian employee for
Mitchell Admin.
This commit improves the test to work even with this new demo data.
closesodoo/odoo#37088
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
On the workcenter form view, the stats button open some analytics but
the wrong worcenter id is given into context. it uses active_id but this
id refers to the first object of the breadcrum and so could be something else
than a workcenter.
closesodoo/odoo#37233
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Since the introduction of the ribbon widget, the boolean_button widget
does not exist anymore.
closesodoo/odoo#37232
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
See 'Webiste Visitor (date)' as display name
Remove default value as a way to easily detect if somebody has already
a name or not
Note using the id in the display name is a bad (may not be set yet)
but is used knowlingly as a short way to differentiate 2 visitors.
Linked to task id: 2073714
closesodoo/odoo#37230
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Problem is that while creating Opportunity from schedule activity at the
bottom of the activity view, context was not applied.
For Example, CRM > Pipeline, while creating opportunity that will create
a lead because context was not applied.
In this commit, context should be applied.
task-2072491
closesodoo/odoo#37139
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
* Add an equity section inside the balance sheet
* Divide profit and loss into Expense and Income
* Reorder the Expense and Income types
closesodoo/odoo#36599
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Fix various incoherences related to timesheets :
- Hide the progress field on the task form view if user hasn't
- timesheet user access. Remove the possibility to link a new
timesheet to a task belonging to a project not allowing timesheets.
Task-2066533
closesodoo/odoo#36475
Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Before this commit, the tree line of the org chart was appearing under
images with a transparent background.
closesodoo/odoo#37212
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
- In KeyboardUSBDriver, we use xlib to translate keysyms. The encoding
of returned chars is now utf-8. We don't need to treat special
characters differently anymore.
- Some receipts still had part of their backgrounds black.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
closesodoo/odoo#37168
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
In KeyboardUSBDriver, we use xlib to translate keysyms. The encoding
of returned chars is now utf-8. We don't need to treat special
characters differently anymore.
This commit review the design of the visitor kanban view.
There is now two style for kanban card.
Ungrouped : the card takes all the width of the screen. It's simulate a nice tree view.
Grouped : Same design as before. ('normal' kanban card)
Apply visitor kanban views redesign also in :
- website_livechat
- website_crm
- website_sms
Task ID: 2073714
PR #37081
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
In order to see all the visitors, we remove the is_connected filter.
So that a visitor that disconnect 2 sec ago can still be visible.
Anyway, there is a connection status in the views.
Task ID: 2073714
PR #37081
This commit aims to rename the visitor that has no lead and no res.partner
to 'Website Visitor #id'.
So that the visitors can be identified when, for example,
an operator talk with multiple visitors.
Task ID: 2073714
PR #37081
This method being needed in the new social app, it made sense to move it to
the link_tracker module to make it available for mass_mailing_sms and social
to avoid unnecessary duplicated code.
LINKS:
closesodoo/odoo#34973
Taskid: 2045210
Pr: 37143
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
In order to be able to send push notifications using recipients timezone,
the visitor timezone is now stored in DB.
The visitor timezone is only updated once, when found_visitor_timezone
cannot be found in localstorage. Once the timezone is updated,
found_visitor_timezone is added to localstorage.
Task ID : 1936643
PR #34973
The URL given to load the translations had an extra '/'.
(/website//translations/xxx)
This caused a http redirection that failed for "Mixed Content" on https environments.