hunk.code_window:     def _compute_price_unit(self):
           # Avoid recomputing the price with pricelist rules, use the initial price
           # used in the optional product line.
           optional_product_lines = self.filtered('sale_order_option_ids')
           super(SaleOrderLine, self - optional_product_lines)._compute_price_unit()
  
hunk.labels: keep keep keep keep add
hunk.after_edit:     #=== TOOLING ===#
       def _can_be_edited_on_portal(self):
           return self.state in ('draft', 'sent') and (
               self.sale_order_option_ids
               or self.product_id in self.order_id.sale_order_option_ids.product_id
           )
hunk.file_path: addons/sale_management/models/sale_order_line.py
hunk.type: add
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # 	* pos_discount
  #
  # Translators:
  # Jumshud Sultanov <cumshud@gmail.com>, 2022
  #
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo Server 15.5alpha1\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2022-09-20 09:01+0000\n"
  "PO-Revision-Date: 2022-09-22 05:54+0000\n"
  "Last-Translator: Jumshud Sultanov <cumshud@gmail.com>, 2022\n"
  "Language-Team: Azerbaijani (https://www.transifex.com/odoo/teams/41243/az/)\n"
  "Language: az\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  
  #. module: pos_discount
  #: code:addons/pos_discount/models/pos_config.py:0
  #, python-format
  msgid "A discount product is needed to use the Global Discount feature. Go to Point of Sale > Configuration > Settings to set it."
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model.fields,help:pos_discount.field_pos_config__iface_discount
  msgid "Allow the cashier to give discounts on the whole order."
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model,name:pos_discount.model_res_config_settings
  msgid "Config Settings"
  msgstr "Parametrləri Konfiqurasiya edin"
  
  #. module: pos_discount
  #. openerp-web
  #: code:addons/pos_discount/static/src/xml/DiscountButton.xml:0
  #, python-format
  msgid "Discount"
  msgstr ""
  
  #. module: pos_discount
  #: model_terms:ir.ui.view,arch_db:pos_discount.res_config_settings_view_form
  msgid "Discount %"
  msgstr ""
  
  #. module: pos_discount
  #. openerp-web
  #: code:addons/pos_discount/static/src/js/DiscountButton.js:0
  #: model:ir.model.fields,field_description:pos_discount.field_pos_config__discount_pc
  #: model:ir.model.fields,field_description:pos_discount.field_res_config_settings__pos_discount_pc
  #, python-format
  msgid "Discount Percentage"
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model.fields,field_description:pos_discount.field_pos_config__discount_product_id
  #: model_terms:ir.ui.view,arch_db:pos_discount.res_config_settings_view_form
  msgid "Discount Product"
  msgstr ""
  
  #. module: pos_discount
  #. openerp-web
  #: code:addons/pos_discount/static/src/js/DiscountButton.js:0
  #, python-format
  msgid "No discount product found"
  msgstr ""
  
  #. module: pos_discount
  #. openerp-web
  #: code:addons/pos_discount/static/src/js/DiscountButton.js:0
  #, python-format
  msgid "No tax"
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model.fields,field_description:pos_discount.field_pos_config__iface_discount
  msgid "Order Discounts"
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model,name:pos_discount.model_pos_config
  msgid "Point of Sale Configuration"
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model,name:pos_discount.model_pos_session
  msgid "Point of Sale Session"
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model.fields,field_description:pos_discount.field_res_config_settings__pos_discount_product_id
  msgid "Pos Discount Product"
  msgstr ""
  
  #. module: pos_discount
  #. openerp-web
  #: code:addons/pos_discount/static/src/js/DiscountButton.js:0
  #, python-format
  msgid "Tax: %s"
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model.fields,help:pos_discount.field_pos_config__discount_pc
  #: model:ir.model.fields,help:pos_discount.field_res_config_settings__pos_discount_pc
  msgid "The default discount percentage when clicking on the Discount button"
  msgstr ""
  
  #. module: pos_discount
  #. openerp-web
  #: code:addons/pos_discount/static/src/js/DiscountButton.js:0
  #, python-format
  msgid "The discount product seems misconfigured. Make sure it is flagged as 'Can be Sold' and 'Available in Point of Sale'."
  msgstr ""
  
  #. module: pos_discount
  #: model:ir.model.fields,help:pos_discount.field_pos_config__discount_product_id
  msgid "The product used to apply the discount on the ticket."
  msgstr ""
  