-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[17.0][MIG] sale_quotation_number #3099
Closed
Deriman-Alonso
wants to merge
69
commits into
OCA:17.0
from
Deriman-Alonso:17.0-mig-sale_quotation_number
Closed
[17.0][MIG] sale_quotation_number #3099
Deriman-Alonso
wants to merge
69
commits into
OCA:17.0
from
Deriman-Alonso:17.0-mig-sale_quotation_number
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 tasks
/ocabot migration sale_quotation_number |
@Deriman-Alonso Code review LGTM, some commits could be also squashed, so i can test the functionality through the runboat. |
============================== Security rules for sales teams ============================== This module sets different permissions levels for accessing sales and CRM records based on the sales team: customers, sales orders, leads, opportunities, phone calls and sales teams. It also handles the propagation of the sales team from commercial partners to the contacts, which standard doesn't make. Installation ============ At installation time, this module sets int all the contacts that have the sales team empty the sales team of the parent. If you have a lot of contacts, this operation can take a while. Usage ===== On the user configuration (Configuration > Users > Users), select in the *Sales Team* section the option "See only own team". Then, the documents mentioned before will be filtered out to have only those belonging to the teams the user belongs to. This is complementary to the Sales level access, but sometimes can be incoherent depending on the combination chosen. If you chose "See Own Leads" on _Sales_ section, marking on unmarking the sales team check will be irrelevant, because the most restricting level, which the sales one, will prevail. Known issues/Roadmap ==================== * This module is designed for supporting only sales part, so someone that has access to other Odoo parts (for example, an accountant), shouldn't have this new permission, or some access errors will be found when seeing invoices and other documents. A _sales_team_security_account_ bridge module can be done for fixing this case, but not in the case of for example warehouse.
Restrict contacts by code, removing the need of manually manipulating the existing record rules, that can also have some side effects.
- Standard procedure - Adapt partner view - Adapt tests
Translated using Weblate (Spanish) Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-13.0/sale-workflow-13.0-sales_team_security Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sales_team_security/es/ Added translation using Weblate (Italian) Translated using Weblate (Italian) Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-13.0/sale-workflow-13.0-sales_team_security Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sales_team_security/it/
…se is duplicated from sales_team view
…contacts + others - For avoiding access errors on this records that are related to sales flow - Sync salesman on parent change Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
A team manager wasn't able to access to their orders if the team was different from their team. Whole review has been done for the rest of the channel manager rules, and added some tests. Migration script included.
Steps to reproduce the problem: - Create a main contact. - Create a child contact of the main contact, selecting a salesperson. - Go to the main contact, and check the followers. Expected behavior: The main contact has the salesperson as follower. The same if editing the child contact, the salesperson is changed. Obtained result: No follower for the salesperson. That's because the `create` method is not intercepted to do the followers synchronization. TT39963
Currently translated at 100.0% (5 of 5 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_quotation_number Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_quotation_number/ca/
Currently translated at 40.0% (2 of 5 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_quotation_number Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_quotation_number/nl/
Currently translated at 100.0% (5 of 5 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_quotation_number Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_quotation_number/pt_BR/
Currently translated at 100.0% (5 of 5 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_quotation_number Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_quotation_number/de/
…ble: they should not be installed nor tested together
This is to resolve conflict with `sale_isolated_quotation`. Then that module will depends on this module.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_quotation_number Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_quotation_number/
Currently translated at 100.0% (5 of 5 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_quotation_number Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_quotation_number/it/
Deriman-Alonso
force-pushed
the
17.0-mig-sale_quotation_number
branch
2 times, most recently
from
July 10, 2024 14:20
e1323f4
to
97e2070
Compare
@Deriman-Alonso Could you check tests ? |
Migration superseded by #3247 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Standart migration.