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

[IMP] hantec: adding pricelist_ids to sales_team.crm_view_form and allowed_pricelists_ids field to sales_views T#72195 #5

Draft
wants to merge 2 commits into
base: 15.0
Choose a base branch
from

Conversation

andreagidaltig
Copy link
Contributor

  • Hide price list in the customers view.
  • Add m2m pricelists_id in crm.team model.
  • Add new notebook page in the sales team view form to show the price list hidden in the customers view.
  • Add the field allowed_pricelist_ids to sales.order model, this field is related to team_id.pricelist_ids.
  • Add allowed_pricelist_ids to the sales_views and hide the field.
  • Add allowed_pricelist_ids to the pricelist_id domain in the sale.order model.
  • Add onchange to team_id field to asign first price list in allowed_pricelist_ids if it is defined or Flase if allowe_pricelist_ids is not defined.
  • Update translation file.
  • Add unit test for computed method.

…nd run pre-commit

- Update files for CI.
- Run pre-commit-vauxoo.
- Add groups and define access rights to models and add the Spanish
translation file with reporting groups translations.
…lowed_pricelists_ids field to sales_views

- Hide price list in the customers view.
- Add m2m pricelists_id in crm.team model.
- Add new notebook page in the sales team view form to show the price list hidden in the customers view.
- Add the field allowed_pricelist_ids to sales.order model, this field is related to team_id.pricelist_ids.
- Add allowed_pricelist_ids to the sales_views and hide the field.
- Add allowed_pricelist_ids to the pricelist_id domain in the sale.order model.
- Add onchange to team_id field to asign first price list in allowed_pricelist_ids if it is defined or Flase if allowe_pricelist_ids is not defined.
- Update translation file.
- Add unit test for computed method.
@andreagidaltig andreagidaltig marked this pull request as draft June 21, 2023 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant