From e8a225fd7a185c4243c34b3daf73f61944c5a3f6 Mon Sep 17 00:00:00 2001 From: AndreaGidaltiG Date: Tue, 6 Jun 2023 23:58:42 +0000 Subject: [PATCH 1/2] [REF] .gitlab-ci, variables.sh: bring changes from project-template and 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. --- hantec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hantec b/hantec index 972582c..0154d7b 160000 --- a/hantec +++ b/hantec @@ -1 +1 @@ -Subproject commit 972582cf063c5b19d3d78e83a835bfa84a034856 +Subproject commit 0154d7bb50de3665516ce43d26009e7993cff591 From f7880f4accefd8b61132f34680334a9242d3808c Mon Sep 17 00:00:00 2001 From: AndreaGidaltiG Date: Fri, 16 Jun 2023 00:05:39 +0000 Subject: [PATCH 2/2] [IMP] hantec: adding pricelist_ids to sales_team.crm_view_form and allowed_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. --- hantec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hantec b/hantec index 0154d7b..42f3e89 160000 --- a/hantec +++ b/hantec @@ -1 +1 @@ -Subproject commit 0154d7bb50de3665516ce43d26009e7993cff591 +Subproject commit 42f3e89d8e3e6c396de8227ac3b6dbbf5510ccad