Skip to content
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

Syncing from upstream OCA/server-tools (17.0) #1438

Merged
merged 138 commits into from
Feb 2, 2024
Merged

Conversation

bt-admin
Copy link

@bt-admin bt-admin commented Feb 2, 2024

bt_gitbot

hbrunn and others added 30 commits November 16, 2023 14:37
Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>
[MIG] migrate dbfilter_from_header to 10.0

I have also removed the ability to use HTTP_X_OPENERP_DBFILTER

Signed-off-by: Carmen Bianca Bakker <[email protected]>
updates were made in #1137 by @TimLai125

and small lint fixes by @yelizariev

Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] Update dbfilter_from_header.pot

Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] README.rst

Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] Update dbfilter_from_header.pot

Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] Update dbfilter_from_header.pot

Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] README.rst

Signed-off-by: Carmen Bianca Bakker <[email protected]>
Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] Update dbfilter_from_header.pot

Signed-off-by: Carmen Bianca Bakker <[email protected]>

[UPD] README.rst

Signed-off-by: Carmen Bianca Bakker <[email protected]>
other improvement:

set onchange_specs to all fields as _onchange_spec()
retrun onchange fields for default view
return field value if it's set in onchange_fields (usuful to get default value for a field)
sysadminmatmoz and others added 28 commits January 16, 2024 18:08
Currently translated at 18.8% (10 of 53 strings)

Translation: server-tools-16.0/server-tools-16.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/sl/
Currently translated at 16.6% (10 of 60 strings)

Translation: server-tools-16.0/server-tools-16.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/it/
Currently translated at 86.7% (46 of 53 strings)

Translation: server-tools-16.0/server-tools-16.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/
Before this change, the inverse relation from the exception to the records linked to the exception was read to determine if the rule should be added or removed from the rule detected for the current records. On large database with non blocking exceptions this lead to a performance issues since this issues a read of all the SO where the exception has been applied. With this change, we only read the information from the current records
Keeps rule information into cache to avoid to always call the ORM for static informations. This is change allows a boost into the evaluation of exception rules by avoiding useless SQL queries to retrieve rules definitions
Don't call the ORM to filter current recordset. Replace call to the orm by a call to the filtered_domain method.
Currently translated at 100.0% (54 of 54 strings)

Translation: server-tools-16.0/server-tools-16.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_exception/
Signed-off-by pedrobaeza
Signed-off-by gurneyalex
Signed-off-by gurneyalex
@bt-admin bt-admin added the 17.0 label Feb 2, 2024
@bt-admin bt-admin merged commit 2187dd9 into brain-tec:17.0 Feb 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.