hunk.code_window:             ], "Incoterms",
               implied_group='sale.group_display_incoterm',
               help="The printed reports will display the incoterms for the sale orders and the related invoices"),
           'module_sale_margin': fields.selection([
               (0, 'Salespeople do not need to view margins when quoting'),
               (1, 'Display margins on quotations and sales orders')
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:         'module_product_visible_discount': fields.selection([
               (0, 'No discount policy on sale order line'),
               (1, 'Allow discount policy on sale order line')
               ], "Discount Policy"),
  
hunk.file_path: addons/sale/res_config.py
hunk.type: add
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  {
      'name': 'Prices Visible Discounts',
      'version': '1.0',
      'category': 'Sales Management',
      'description': """
  This module lets you calculate discounts on Sale Order lines and Invoice lines base on the partner's pricelist.
  ===============================================================================================================
  
  To this end, a new check box named 'Visible Discount' is added to the pricelist form.
  
  **Example:**
      For the product PC1 and the partner "Asustek": if listprice=450, and the price
      calculated using Asustek's pricelist is 225. If the check box is checked, we
      will have on the sale order line: Unit price=450, Discount=50,00, Net price=225.
      If the check box is unchecked, we will have on Sale Order and Invoice lines:
      Unit price=225, Discount=0,00, Net price=225.
      """,
      'depends': ["sale","purchase"],
      'data': ['views/product_pricelist_views.xml'],
      'installable': True,
  }
  