From 56542970ebeaff4ddd2ed1f334a0554bece3847f Mon Sep 17 00:00:00 2001 From: AndreaGidaltiG Date: Fri, 16 Jun 2023 00:05:39 +0000 Subject: [PATCH] [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..37d1cfc 160000 --- a/hantec +++ b/hantec @@ -1 +1 @@ -Subproject commit 0154d7bb50de3665516ce43d26009e7993cff591 +Subproject commit 37d1cfcea3b1f33c2604ccbd1de3b4464eca2d69