hunk.code_window:             pricelist_id = force_pricelist
               request.session['website_sale_current_pl'] = pricelist_id
               update_pricelist = True
           # create so if needed
           if not sale_order and (force_create or code):
               # TODO cache partner_id session
               affiliate_id = request.session.get('affiliate_id')
               if self.env['res.users'].sudo().browse(affiliate_id).exists():
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:         if not self._context.get('pricelist'):
               self = self.with_context(pricelist=pricelist_id)
           # Test validity of the sale_order_id
           sale_order = self.env['sale.order'].sudo().browse(sale_order_id).exists() if sale_order_id else None
  
hunk.file_path: addons/website_sale/models/sale_order.py
hunk.type: add
file: id,position_id:id,tax_src_id:id,tax_dest_id:id
  fiscal_position_tax_template_LU_85,account_fiscal_position_template_LU_IC,lu_2015_tax_VB-PA-17,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_1,account_fiscal_position_template_LU_IC,lu_2011_tax_VB-PA-15,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_86,account_fiscal_position_template_LU_IC,lu_2015_tax_VB-PA-14,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_2,account_fiscal_position_template_LU_IC,lu_2011_tax_VB-PA-12,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_87,account_fiscal_position_template_LU_IC,lu_2015_tax_VB-PA-8,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_3,account_fiscal_position_template_LU_IC,lu_2011_tax_VB-PA-6,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_4,account_fiscal_position_template_LU_IC,lu_2011_tax_VB-PA-3,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_5,account_fiscal_position_template_LU_IC,lu_2011_tax_VB-PA-0,lu_2011_tax_VB-IC-0
  fiscal_position_tax_template_LU_88,account_fiscal_position_template_LU_IC,lu_2015_tax_VP-PA-17,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_89,account_fiscal_position_template_LU_IC,lu_2015_tax_VP-PA-14,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_90,account_fiscal_position_template_LU_IC,lu_2015_tax_VP-PA-8,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_6,account_fiscal_position_template_LU_IC,lu_2011_tax_VP-PA-15,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_7,account_fiscal_position_template_LU_IC,lu_2011_tax_VP-PA-12,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_8,account_fiscal_position_template_LU_IC,lu_2011_tax_VP-PA-6,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_9,account_fiscal_position_template_LU_IC,lu_2011_tax_VP-PA-3,lu_2011_tax_VP-IC-0
  fiscal_position_tax_template_LU_91,account_fiscal_position_template_LU_IC,lu_2015_tax_FB-PA-17,lu_2015_tax_FB-IC-17
  fiscal_position_tax_template_LU_92,account_fiscal_position_template_LU_IC,lu_2015_tax_FB-PA-14,lu_2015_tax_FB-IC-14
  fiscal_position_tax_template_LU_93,account_fiscal_position_template_LU_IC,lu_2015_tax_FB-PA-8,lu_2015_tax_FB-IC-8
  fiscal_position_tax_template_LU_11,account_fiscal_position_template_LU_IC,lu_2011_tax_FB-PA-15,lu_2011_tax_FB-IC-15
  fiscal_position_tax_template_LU_12,account_fiscal_position_template_LU_IC,lu_2011_tax_FB-PA-12,lu_2011_tax_FB-IC-12
  fiscal_position_tax_template_LU_13,account_fiscal_position_template_LU_IC,lu_2011_tax_FB-PA-6,lu_2011_tax_FB-IC-6
  fiscal_position_tax_template_LU_14,account_fiscal_position_template_LU_IC,lu_2011_tax_FB-PA-3,lu_2011_tax_FB-IC-3
  fiscal_position_tax_template_LU_15,account_fiscal_position_template_LU_IC,lu_2011_tax_FB-PA-0,lu_2011_tax_FB-IC-0
  fiscal_position_tax_template_LU_94,account_fiscal_position_template_LU_IC,lu_2015_tax_FP-PA-17,lu_2015_tax_FP-IC-17
  fiscal_position_tax_template_LU_95,account_fiscal_position_template_LU_IC,lu_2015_tax_FP-PA-14,lu_2015_tax_FP-IC-14
  fiscal_position_tax_template_LU_96,account_fiscal_position_template_LU_IC,lu_2015_tax_FP-PA-8,lu_2015_tax_FP-IC-8
  fiscal_position_tax_template_LU_16,account_fiscal_position_template_LU_IC,lu_2011_tax_FP-PA-15,lu_2011_tax_FP-IC-15
  fiscal_position_tax_template_LU_17,account_fiscal_position_template_LU_IC,lu_2011_tax_FP-PA-12,lu_2011_tax_FP-IC-12
  fiscal_position_tax_template_LU_18,account_fiscal_position_template_LU_IC,lu_2011_tax_FP-PA-6,lu_2011_tax_FP-IC-6
  fiscal_position_tax_template_LU_19,account_fiscal_position_template_LU_IC,lu_2011_tax_FP-PA-3,lu_2011_tax_FP-IC-3
  fiscal_position_tax_template_LU_20,account_fiscal_position_template_LU_IC,lu_2011_tax_FP-PA-0,lu_2011_tax_FP-IC-0
  fiscal_position_tax_template_LU_97,account_fiscal_position_template_LU_IC,lu_2015_tax_IB-PA-17,lu_2015_tax_IB-IC-17
  fiscal_position_tax_template_LU_98,account_fiscal_position_template_LU_IC,lu_2015_tax_IB-PA-14,lu_2015_tax_IB-IC-14
  fiscal_position_tax_template_LU_99,account_fiscal_position_template_LU_IC,lu_2015_tax_IB-PA-8,lu_2015_tax_IB-IC-8
  fiscal_position_tax_template_LU_21,account_fiscal_position_template_LU_IC,lu_2011_tax_IB-PA-15,lu_2011_tax_IB-IC-15
  fiscal_position_tax_template_LU_22,account_fiscal_position_template_LU_IC,lu_2011_tax_IB-PA-12,lu_2011_tax_IB-IC-12
  fiscal_position_tax_template_LU_23,account_fiscal_position_template_LU_IC,lu_2011_tax_IB-PA-6,lu_2011_tax_IB-IC-6
  fiscal_position_tax_template_LU_24,account_fiscal_position_template_LU_IC,lu_2011_tax_IB-PA-3,lu_2011_tax_IB-IC-3
  fiscal_position_tax_template_LU_25,account_fiscal_position_template_LU_IC,lu_2011_tax_IB-PA-0,lu_2011_tax_IB-IC-0
  fiscal_position_tax_template_LU_100,account_fiscal_position_template_LU_IC,lu_2015_tax_IP-PA-17,lu_2015_tax_IP-IC-17
  fiscal_position_tax_template_LU_101,account_fiscal_position_template_LU_IC,lu_2015_tax_IP-PA-14,lu_2015_tax_IP-IC-14
  fiscal_position_tax_template_LU_102,account_fiscal_position_template_LU_IC,lu_2015_tax_IP-PA-8,lu_2015_tax_IP-IC-8
  fiscal_position_tax_template_LU_26,account_fiscal_position_template_LU_IC,lu_2011_tax_IP-PA-15,lu_2011_tax_IP-IC-15
  fiscal_position_tax_template_LU_27,account_fiscal_position_template_LU_IC,lu_2011_tax_IP-PA-12,lu_2011_tax_IP-IC-12
  fiscal_position_tax_template_LU_28,account_fiscal_position_template_LU_IC,lu_2011_tax_IP-PA-6,lu_2011_tax_IP-IC-6
  fiscal_position_tax_template_LU_29,account_fiscal_position_template_LU_IC,lu_2011_tax_IP-PA-3,lu_2011_tax_IP-IC-3
  fiscal_position_tax_template_LU_30,account_fiscal_position_template_LU_IC,lu_2011_tax_IP-PA-0,lu_2011_tax_IP-IC-0
  fiscal_position_tax_template_LU_103,account_fiscal_position_template_LU_IC,lu_2015_tax_AB-PA-17,lu_2015_tax_AB-IC-17
  fiscal_position_tax_template_LU_104,account_fiscal_position_template_LU_IC,lu_2015_tax_AB-PA-14,lu_2015_tax_AB-IC-14
  fiscal_position_tax_template_LU_105,account_fiscal_position_template_LU_IC,lu_2015_tax_AB-PA-8,lu_2015_tax_AB-IC-8
  fiscal_position_tax_template_LU_31,account_fiscal_position_template_LU_IC,lu_2011_tax_AB-PA-15,lu_2011_tax_AB-IC-15
  fiscal_position_tax_template_LU_32,account_fiscal_position_template_LU_IC,lu_2011_tax_AB-PA-12,lu_2011_tax_AB-IC-12
  fiscal_position_tax_template_LU_34,account_fiscal_position_template_LU_IC,lu_2011_tax_AB-PA-6,lu_2011_tax_AB-IC-6
  fiscal_position_tax_template_LU_35,account_fiscal_position_template_LU_IC,lu_2011_tax_AB-PA-3,lu_2011_tax_AB-IC-3
  fiscal_position_tax_template_LU_36,account_fiscal_position_template_LU_IC,lu_2011_tax_AB-PA-0,lu_2011_tax_AB-IC-0
  fiscal_position_tax_template_LU_106,account_fiscal_position_template_LU_IC,lu_2015_tax_AP-PA-17,lu_2015_tax_AP-IC-17
  fiscal_position_tax_template_LU_107,account_fiscal_position_template_LU_IC,lu_2015_tax_AP-PA-14,lu_2015_tax_AP-IC-14
  fiscal_position_tax_template_LU_108,account_fiscal_position_template_LU_IC,lu_2015_tax_AP-PA-8,lu_2015_tax_AP-IC-8
  fiscal_position_tax_template_LU_37,account_fiscal_position_template_LU_IC,lu_2011_tax_AP-PA-15,lu_2011_tax_AP-IC-15
  fiscal_position_tax_template_LU_38,account_fiscal_position_template_LU_IC,lu_2011_tax_AP-PA-12,lu_2011_tax_AP-IC-12
  fiscal_position_tax_template_LU_40,account_fiscal_position_template_LU_IC,lu_2011_tax_AP-PA-6,lu_2011_tax_AP-IC-6
  fiscal_position_tax_template_LU_41,account_fiscal_position_template_LU_IC,lu_2011_tax_AP-PA-3,lu_2011_tax_AP-IC-3
  fiscal_position_tax_template_LU_42,account_fiscal_position_template_LU_IC,lu_2011_tax_AP-PA-0,lu_2011_tax_AP-IC-0
  fiscal_position_tax_template_LU_109,account_fiscal_position_template_LU_EC,lu_2015_tax_VB-PA-17,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_110,account_fiscal_position_template_LU_EC,lu_2015_tax_VB-PA-14,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_111,account_fiscal_position_template_LU_EC,lu_2015_tax_VB-PA-8,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_43,account_fiscal_position_template_LU_EC,lu_2011_tax_VB-PA-15,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_44,account_fiscal_position_template_LU_EC,lu_2011_tax_VB-PA-12,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_45,account_fiscal_position_template_LU_EC,lu_2011_tax_VB-PA-6,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_46,account_fiscal_position_template_LU_EC,lu_2011_tax_VB-PA-3,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_47,account_fiscal_position_template_LU_EC,lu_2011_tax_VB-PA-0,lu_2011_tax_VB-EC-0
  fiscal_position_tax_template_LU_112,account_fiscal_position_template_LU_EC,lu_2015_tax_VP-PA-17,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_113,account_fiscal_position_template_LU_EC,lu_2015_tax_VP-PA-14,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_114,account_fiscal_position_template_LU_EC,lu_2015_tax_VP-PA-8,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_48,account_fiscal_position_template_LU_EC,lu_2011_tax_VP-PA-15,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_49,account_fiscal_position_template_LU_EC,lu_2011_tax_VP-PA-12,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_50,account_fiscal_position_template_LU_EC,lu_2011_tax_VP-PA-6,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_51,account_fiscal_position_template_LU_EC,lu_2011_tax_VP-PA-3,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_52,account_fiscal_position_template_LU_EC,lu_2011_tax_VP-PA-0,lu_2011_tax_VP-EC-0
  fiscal_position_tax_template_LU_115,account_fiscal_position_template_LU_EC,lu_2015_tax_FB-PA-17,lu_2015_tax_FB-EC-17
  fiscal_position_tax_template_LU_116,account_fiscal_position_template_LU_EC,lu_2015_tax_FB-PA-14,lu_2015_tax_FB-EC-14
  fiscal_position_tax_template_LU_117,account_fiscal_position_template_LU_EC,lu_2015_tax_FB-PA-8,lu_2015_tax_FB-EC-8
  fiscal_position_tax_template_LU_53,account_fiscal_position_template_LU_EC,lu_2011_tax_FB-PA-15,lu_2011_tax_FB-EC-15
  fiscal_position_tax_template_LU_54,account_fiscal_position_template_LU_EC,lu_2011_tax_FB-PA-12,lu_2011_tax_FB-EC-12
  fiscal_position_tax_template_LU_55,account_fiscal_position_template_LU_EC,lu_2011_tax_FB-PA-6,lu_2011_tax_FB-EC-6
  fiscal_position_tax_template_LU_56,account_fiscal_position_template_LU_EC,lu_2011_tax_FB-PA-3,lu_2011_tax_FB-EC-3
  fiscal_position_tax_template_LU_57,account_fiscal_position_template_LU_EC,lu_2011_tax_FB-PA-0,lu_2011_tax_FB-EC-0
  fiscal_position_tax_template_LU_118,account_fiscal_position_template_LU_EC,lu_2015_tax_FP-PA-17,lu_2015_tax_FP-EC-17
  fiscal_position_tax_template_LU_119,account_fiscal_position_template_LU_EC,lu_2015_tax_FP-PA-14,lu_2015_tax_FP-EC-14
  fiscal_position_tax_template_LU_120,account_fiscal_position_template_LU_EC,lu_2015_tax_FP-PA-8,lu_2015_tax_FP-EC-8
  fiscal_position_tax_template_LU_58,account_fiscal_position_template_LU_EC,lu_2011_tax_FP-PA-15,lu_2011_tax_FP-EC-15
  fiscal_position_tax_template_LU_59,account_fiscal_position_template_LU_EC,lu_2011_tax_FP-PA-12,lu_2011_tax_FP-EC-12
  fiscal_position_tax_template_LU_60,account_fiscal_position_template_LU_EC,lu_2011_tax_FP-PA-6,lu_2011_tax_FP-EC-6
  fiscal_position_tax_template_LU_61,account_fiscal_position_template_LU_EC,lu_2011_tax_FP-PA-3,lu_2011_tax_FP-EC-3
  fiscal_position_tax_template_LU_62,account_fiscal_position_template_LU_EC,lu_2011_tax_FP-PA-0,lu_2011_tax_FP-EC-0
  fiscal_position_tax_template_LU_121,account_fiscal_position_template_LU_EC,lu_2015_tax_IB-PA-17,lu_2015_tax_IB-EC-17
  fiscal_position_tax_template_LU_122,account_fiscal_position_template_LU_EC,lu_2015_tax_IB-PA-14,lu_2015_tax_IB-EC-14
  fiscal_position_tax_template_LU_123,account_fiscal_position_template_LU_EC,lu_2015_tax_IB-PA-8,lu_2015_tax_IB-EC-8
  fiscal_position_tax_template_LU_63,account_fiscal_position_template_LU_EC,lu_2011_tax_IB-PA-15,lu_2011_tax_IB-EC-15
  fiscal_position_tax_template_LU_64,account_fiscal_position_template_LU_EC,lu_2011_tax_IB-PA-12,lu_2011_tax_IB-EC-12
  fiscal_position_tax_template_LU_65,account_fiscal_position_template_LU_EC,lu_2011_tax_IB-PA-6,lu_2011_tax_IB-EC-6
  fiscal_position_tax_template_LU_66,account_fiscal_position_template_LU_EC,lu_2011_tax_IB-PA-3,lu_2011_tax_IB-EC-3
  fiscal_position_tax_template_LU_67,account_fiscal_position_template_LU_EC,lu_2011_tax_IB-PA-0,lu_2011_tax_IB-EC-0
  fiscal_position_tax_template_LU_124,account_fiscal_position_template_LU_EC,lu_2015_tax_IP-PA-17,lu_2015_tax_IP-EC-17
  fiscal_position_tax_template_LU_125,account_fiscal_position_template_LU_EC,lu_2015_tax_IP-PA-14,lu_2015_tax_IP-EC-14
  fiscal_position_tax_template_LU_126,account_fiscal_position_template_LU_EC,lu_2015_tax_IP-PA-8,lu_2015_tax_IP-EC-8
  fiscal_position_tax_template_LU_68,account_fiscal_position_template_LU_EC,lu_2011_tax_IP-PA-15,lu_2011_tax_IP-EC-15
  fiscal_position_tax_template_LU_69,account_fiscal_position_template_LU_EC,lu_2011_tax_IP-PA-12,lu_2011_tax_IP-EC-12
  fiscal_position_tax_template_LU_70,account_fiscal_position_template_LU_EC,lu_2011_tax_IP-PA-6,lu_2011_tax_IP-EC-6
  fiscal_position_tax_template_LU_71,account_fiscal_position_template_LU_EC,lu_2011_tax_IP-PA-3,lu_2011_tax_IP-EC-3
  fiscal_position_tax_template_LU_72,account_fiscal_position_template_LU_EC,lu_2011_tax_IP-PA-0,lu_2011_tax_IP-EC-0
  fiscal_position_tax_template_LU_127,account_fiscal_position_template_LU_EC,lu_2015_tax_AB-PA-17,lu_2015_tax_AB-EC-17
  fiscal_position_tax_template_LU_128,account_fiscal_position_template_LU_EC,lu_2015_tax_AB-PA-14,lu_2015_tax_AB-EC-14
  fiscal_position_tax_template_LU_129,account_fiscal_position_template_LU_EC,lu_2015_tax_AB-PA-8,lu_2015_tax_AB-EC-8
  fiscal_position_tax_template_LU_73,account_fiscal_position_template_LU_EC,lu_2011_tax_AB-PA-15,lu_2011_tax_AB-EC-15
  fiscal_position_tax_template_LU_74,account_fiscal_position_template_LU_EC,lu_2011_tax_AB-PA-12,lu_2011_tax_AB-EC-12
  fiscal_position_tax_template_LU_76,account_fiscal_position_template_LU_EC,lu_2011_tax_AB-PA-6,lu_2011_tax_AB-EC-6
  fiscal_position_tax_template_LU_77,account_fiscal_position_template_LU_EC,lu_2011_tax_AB-PA-3,lu_2011_tax_AB-EC-3
  fiscal_position_tax_template_LU_78,account_fiscal_position_template_LU_EC,lu_2011_tax_AB-PA-0,lu_2011_tax_AB-EC-0
  fiscal_position_tax_template_LU_130,account_fiscal_position_template_LU_EC,lu_2015_tax_AP-PA-17,lu_2015_tax_AP-EC-17
  fiscal_position_tax_template_LU_131,account_fiscal_position_template_LU_EC,lu_2015_tax_AP-PA-14,lu_2015_tax_AP-EC-14
  fiscal_position_tax_template_LU_132,account_fiscal_position_template_LU_EC,lu_2015_tax_AP-PA-8,lu_2015_tax_AP-EC-8
  fiscal_position_tax_template_LU_79,account_fiscal_position_template_LU_EC,lu_2011_tax_AP-PA-15,lu_2011_tax_AP-EC-15
  fiscal_position_tax_template_LU_80,account_fiscal_position_template_LU_EC,lu_2011_tax_AP-PA-12,lu_2011_tax_AP-EC-12
  fiscal_position_tax_template_LU_82,account_fiscal_position_template_LU_EC,lu_2011_tax_AP-PA-6,lu_2011_tax_AP-EC-6
  fiscal_position_tax_template_LU_83,account_fiscal_position_template_LU_EC,lu_2011_tax_AP-PA-3,lu_2011_tax_AP-EC-3
  fiscal_position_tax_template_LU_84,account_fiscal_position_template_LU_EC,lu_2011_tax_AP-PA-0,lu_2011_tax_AP-EC-0
  