Skip to content

Releases: ursais/odoo

18.0-20250218

18 Feb 21:24
Compare
Choose a tag to compare
[FIX] l10n_de: allow deleting attachments for non DE companies

In 50c62eab72678d51fb88c88fbeb81da2decca6f2, an override was done to
attachments to disable deleting them, detaching them instead. As this is
only required for German companies, a check can be added in the override
to allow non-German companies to be able to delete their attachments.
Also, another restriction was added for changing the fiscal country to
make sure the flow for deleting German attachments cannot be bypassed.

task-4500319

closes odoo/odoo#198062

X-original-commit: 5ff7a9e0a4473d4c8e29e309c8e1b5cdf2417349
Signed-off-by: William André (wan) <[email protected]>

17.0-20250128

28 Jan 15:50
Compare
Choose a tag to compare
[FIX] sale: round discount floats display

## Versions:
17.0+
No fix needed in 16.0 as the discount was not displayed this way.

## Issue:
Discount descriptions contain long string floats while it should be truncated for human reading.

## Steps to reproduce:
- Activate `Discounts` through settings;
- Create a new sale order for any client with at least 1 product;
- Click the `Discount` button on the form;
- Apply a 7% `Global Discount`;
- Read the `Discount` product's description.

## Cause:
Some numbers cannot be represented correctly in Python (including 7, 3.3 etc.).

opw-4485316

closes odoo/odoo#195328

Signed-off-by: Pierre Lamotte (pila) <[email protected]>

16.0-20250120

20 Jan 15:25
Compare
Choose a tag to compare
[FIX] account: fallback on the currency_rate when calculating the rate

Steps to reproduce:
- In Accounting create a new tax like this:
	-Tax computation: percentage of price tax included
	-Amount: 100%
	-Included in Price: Ticked
- Create a new Customer Invoice in another currency
- Use the 100% tax
- Go in the tab "Journal Entries"
- The amounts where not converted

Cause:
The rate is calculated like this : `rate = line.amount_currency / line.balance if line.balance else 1`
But with this specific tax `amount_currency` and `balance` are 0 so the rate defaults to 1 thus not converting.

Solution:
Fallback on the rate of the line.

opw-4443522

closes odoo/odoo#193593

Signed-off-by: Mathieu Coutant (mcou) <[email protected]>

17.0-20250113

13 Jan 21:59
Compare
Choose a tag to compare
[FIX] project: project grouped by stages now respects the pagination

Steps to reproduce
==================

- Open any project
- Create many project stages (80+)
- Switch to the list view
- Group by stage
- Switch to to next page
=> The pager keeps increasing

Cause of the issue
==================

`stage_id` has a group_expand: `_read_group_stage_ids`

This method is used to include empty stages in the result for the kanban
view, so that we can drag tasks to an empty stage.

Solution
========

Add a context key `project_kanban` and only add empty stages in that
case.

opw-4408061

closes odoo/odoo#192955

X-original-commit: f4c41aa2836cd937cd476e50dcd494fc8549476a
Signed-off-by: Xavier Bol (xbo) <[email protected]>

18.0-20241223

23 Dec 20:25
Compare
Choose a tag to compare
[FIX] point_of_sale: customer display "get" action

Customer display "get" action was missing `params` key, required for the IoT Box to understand
the request correctly.

closes odoo/odoo#191543

Signed-off-by: Yaroslav Soroko (yaso) <[email protected]>

17.0-20241223

23 Dec 20:26
Compare
Choose a tag to compare
[FIX] core: one2many field domains

The domain for inverses is not always correct and may crash for computed
fields.

task-4380712

closes odoo/odoo#191544

X-original-commit: 93ed8cc027d8777fc2240aa310d9083240fac382
Related: odoo/enterprise#76073
Signed-off-by: Rémy Voet (ryv) <[email protected]>
Signed-off-by: Krzysztof Magusiak (krma) <[email protected]>

16.0-20241223

23 Dec 21:23
Compare
Choose a tag to compare
[FIX] website_slides: fix website description field

This commit adds the parameter "sanitize_overridable=True" to the
"description" field of "website_slides" slides. It means that the
description can now be properly edited as an user with enough rights.

The issue is that the "slide.description" field is sanitized after
saving a "slide/*" page, which removes "<button>" elements. This is
not easily testable in version 16.0 because no blocks contain "<button>"
elements. However, starting from version 18.0, new blocks like the
"accordion" block include buttons, and these are removed after saving a
"slide/*" page when they are dropped into it.

opw-4273436

closes odoo/odoo#190620

Signed-off-by: Outagant Mehdi (mou) <[email protected]>

18.0-20241209

09 Dec 22:37
Compare
Choose a tag to compare
[REF] hr_holidays: return newly created leaves after splitting

closes odoo/odoo#188800

X-original-commit: 215d9d53e30ed3edd38997c45cedc4ea3decdebe
Signed-off-by: Bertrand Dossogne (bedo) <[email protected]>

17.0-20241209

09 Dec 22:09
Compare
Choose a tag to compare
[FIX] hr_holidays : reset accrual carryover to lost state

steps:
- set the carry over to "carry over with maximum"
- set a number of days to carry over and save
- set the carry over type back to "None"
-> You still carry over the amount of days you typed in instead of 0

closes odoo/odoo#188621

Signed-off-by: Bertrand Dossogne (bedo) <[email protected]>

17.0-20241127

27 Nov 18:03
Compare
Choose a tag to compare
[FIX] point_of_sale: fetch active warehouse pos type only

revert the commit
as when we fetch archived warehouse's pos type
it will raise error for other source or destination
loction for newly created stock operation type like

even functinally also there is no need to fetch
archived warehouse's operation type.
```
quality Control
cross Dock,
Storage type
```
we got this error during upgrade :
```
File "/home/odoo/src/odoo/saas-17.4/odoo/sql_db.py", line 347, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "default_location_src_id" of relation "stock_picking_type" violates not-null constraint
DETAIL:  Failing row contains (33, 0, 28, 56, null, null, null, 4, null, null, 1, 1, 1, QC, internal, at_confirm, FBAQC, ask, {"en_US": "Quality Control"}, null, f, f, t, null, f, null, 2024-10-16 05:14:53.18448, 2024-10-16 05:14:53.18448, optional, optional, no, optional, null, null, t, null, null, 2x7xprice, 4x12_lots, pdf, null, null, null, null, null, null, null, null, null, t, null).
```

due to this two fix:
https://github.com/odoo/odoo/pull/151719/commits
https://github.com/odoo/odoo/pull/175838/files

so we need to avoid to fetch archived warehouse's picking type.

ref:
odoo/upgrade#6631

closes odoo/odoo#185244

Signed-off-by: Adrien Guilliams (adgu) <[email protected]>