-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
[13.0][MIG] partner_multi_company: Migration to 13.0 #266
Merged
OCA-git-bot
merged 25 commits into
OCA:13.0
from
Tecnativa:13.0-mig-partner_multi_company
Jan 12, 2021
Merged
[13.0][MIG] partner_multi_company: Migration to 13.0 #266
OCA-git-bot
merged 25 commits into
OCA:13.0
from
Tecnativa:13.0-mig-partner_multi_company
Jan 12, 2021
Commits on Jan 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 67e4441 - Browse repository at this point
Copy the full SHA 67e4441View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b2995f - Browse repository at this point
Copy the full SHA 6b2995fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 181759d - Browse repository at this point
Copy the full SHA 181759dView commit details -
product_multi_company: Avoid errors in other tests
This fix prevents errors when there are other tests that create partners and base_suspend_security is still not ready. There can be still problems if these partners are not created with SUPERUSER.
Configuration menu - View commit details
-
Copy full SHA for 86641db - Browse repository at this point
Copy the full SHA 86641dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4834bb - Browse repository at this point
Copy the full SHA a4834bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d62957 - Browse repository at this point
Copy the full SHA 2d62957View commit details -
[MIG] partner_multi_company: Upgrade to v10
* Bump versions * Rename manifest * Rename openerp to odoo * Implement base_multi_company Add depends Swap dependencies Add base_suspend_security depend back & server-tools repo Fix tests Add test for partner._commercial_fields Why not both?!
Configuration menu - View commit details
-
Copy full SHA for b544cf9 - Browse repository at this point
Copy the full SHA b544cf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d93853c - Browse repository at this point
Copy the full SHA d93853cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 793662c - Browse repository at this point
Copy the full SHA 793662cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d946cb6 - Browse repository at this point
Copy the full SHA d946cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b96b97d - Browse repository at this point
Copy the full SHA b96b97dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a828f9 - Browse repository at this point
Copy the full SHA 6a828f9View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: multi-company-11.0/multi-company-11.0-partner_multi_company Translate-URL: https://translation.odoo-community.org/projects/multi-company-11-0/multi-company-11-0-partner_multi_company/
Configuration menu - View commit details
-
Copy full SHA for 1c8333e - Browse repository at this point
Copy the full SHA 1c8333eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ad8c0 - Browse repository at this point
Copy the full SHA 43ad8c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c99d92 - Browse repository at this point
Copy the full SHA 4c99d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc7595b - Browse repository at this point
Copy the full SHA bc7595bView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: multi-company-12.0/multi-company-12.0-partner_multi_company Translate-URL: https://translation.odoo-community.org/projects/multi-company-12-0/multi-company-12-0-partner_multi_company/
Configuration menu - View commit details
-
Copy full SHA for f784f2a - Browse repository at this point
Copy the full SHA f784f2aView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: multi-company-12.0/multi-company-12.0-partner_multi_company Translate-URL: https://translation.odoo-community.org/projects/multi-company-12-0/multi-company-12-0-partner_multi_company/
Configuration menu - View commit details
-
Copy full SHA for 742282b - Browse repository at this point
Copy the full SHA 742282bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aad87d1 - Browse repository at this point
Copy the full SHA aad87d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02e3f85 - Browse repository at this point
Copy the full SHA 02e3f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 846b966 - Browse repository at this point
Copy the full SHA 846b966View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e72d63 - Browse repository at this point
Copy the full SHA 8e72d63View commit details -
Configuration menu - View commit details
-
Copy full SHA for c032328 - Browse repository at this point
Copy the full SHA c032328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8719467 - Browse repository at this point
Copy the full SHA 8719467View commit details -
[13.0][FIX] base_multi_company: name_search
In some situations the 'in' operator is used with company_id in a name_search. ORM does not convert to a proper WHERE clause when using the 'in' operator. e.g: ``` WHERE "res_partner"."id" in (SELECT "res_partner_id" FROM "res_company_res_partner_rel" WHERE "res_company_id" IN (False, 1) ``` patching the args to expand the cumbersome args int a OR clause fix the issue. e.g: ``` WHERE "res_partner"."id" not in (SELECT "res_partner_id" FROM "res_company_res_partner_rel" where "res_partner_id" is not null) OR ("res_partner"."id" in (SELECT "res_partner_id" FROM "res_company_res_partner_rel" WHERE "res_company_id" IN 1) ```
Configuration menu - View commit details
-
Copy full SHA for e3db520 - Browse repository at this point
Copy the full SHA e3db520View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.