Skip to content

Syncing from upstream odoo/odoo (tmp.master) #34140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 6, 2025

Conversation

bt-admin
Copy link
Collaborator

@bt-admin bt-admin commented Jul 6, 2025

bt_gitbot

ijja-odoo and others added 7 commits July 5, 2025 06:07
Steps to reproduce:
Traceback occurs when printing the eWaybill.

When the eWaybill expiry date is not present in the JSON response, any usage of
date.strftime(...) caused a traceback. This fix ensures the date is checked
before formatting to prevent such errors.

Possible issue after the post migration of the database to saas-18.1

opw-4919575

X-original-commit: 074a7b7
Part-of: #217588
Signed-off-by: Harsh Modi (hamo) <[email protected]>
- The E-Waybill report currently displays the E-Waybill generation date in
  The 'Document Details' section of the report.

Steps to reproduce:
  1) Enable the Indian E-Waybill configuration from Settings.
  2) Create an invoice with a past/future date.
  3) Print the E-Waybill.
  4) The 'Document Details' section incorrectly shows the E-Waybill date.

- This fix ensures that the document date is displayed instead of the E-Waybill
  date.

closes #217588

X-original-commit: d31702b
Signed-off-by: Harsh Modi (hamo) <[email protected]>
Steps to reproduce:
- Go to `/blog`
- Open website builder
- Enable "Comments" at the "Bottom"
- Bug: you can write messages, send them, ... while still in editor mode

This commit blocks with `pointer-event: none` on `#discussion` because
this is the id of the top div of `portal.message_thread`

task-4367641

closes #217576

X-original-commit: 63a6d28
Signed-off-by: Francois Georis (fge) <[email protected]>
Signed-off-by: Sébastien Blondiau (blse) <[email protected]>
This commit prevents the delivery date from being set to invoice date by default in French localization.
We need the delivery date to be only set by the users.

task-4900043

closes #217602

X-original-commit: 18f7191
Signed-off-by: Maximilien La Barre (malb) <[email protected]>
Signed-off-by: Hesham Saleh (hsal) <[email protected]>
Before this commit:
- go to Accounting > Configuration > Chart of Accounts
- in the search bar, you cannot group accounts by account root.

After this commit:
- You can group accounts by account root ('Root').

We do this by implementing `_field_to_sql` for `account.account.root_id`
which makes the field groupable.

task-none

closes #217589

X-original-commit: 4bdc5af
Signed-off-by: William André (wan) <[email protected]>
This commit fine-tunes the color of the topbar in discuss in dark mode
only.

Prior to this commit, multiple elements where using the same property
with the same value, which could be simplified by using a CSS variable.

There was also an issue about the `background-color` of the navbar entries
that was not tweaked while the navbar background was.

This commit fine-tunes the existing approach by defining and using a CSS
variable `--mail-Discuss-surface-dark` as well as adapting the background
of the navbar entries.

We also reduce the specifity of the CSS selector by wrapping it within
a `:where`

closes #217608

Signed-off-by: Alexandre Kühn (aku) <[email protected]>
The test "Can edit message comment in chatter" fails often
non-determinically on runbot.

This happens because this test heavily uses the edit message feature,
which has client-side code receiving store data from both RPC returns
and bus notifications. When CPU load is high which happens frequently
on runbot, test shows race-condition where bus notifications are
received much later than RPC return part and thus discuss state
becomes wrong by having outdated data.

This is an architectural issue that takes time to solve, so this test
is skipped in the meantime. Note that while the problem occurs quite
a lot on runbot in HOOT tests, in practice this happens quite rarely:
bus notifications should be heavily throttled.

Also HOOT test fails because of unfortunately case of receiving
exactly outdated message body data before starting message edition.
When message is being edited, any following store data with change of
message body is ignored because the text in composer is intended to
not change while editing the message.

Kinda fixes runbot 227618

closes #217599

X-original-commit: c24c4ac
Signed-off-by: Matthieu Stockbauer (tsm) <[email protected]>
Signed-off-by: Alexandre Kühn (aku) <[email protected]>
@bt-admin bt-admin merged commit e2e739c into brain-tec:tmp.master Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants