Skip to content

Commit

Permalink
[IMP] hantec: adding pricelist_ids to sales_team.crm_view_form and al…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
andreagidaltig committed Jun 16, 2023
1 parent e8a225f commit f7880f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hantec
Submodule hantec updated from 0154d7 to 42f3e8

0 comments on commit f7880f4

Please sign in to comment.