<commit_before>Shuup Change Log
================

Unrealeased
-----------

- List all changes after last release here (newer on top).  Each change
  on a separate bullet point line.  Wrap the file at 79 columns or so.
  When releasing next version, the "Unreleased" header will be replaced
  with appropriate version header and this help text will be removed.

Core
~~~~

- Improve OrderSource caching for deserialization speedup
- Add new product count methods to OrderSource
- Fix bug in purchase multiple checking of ShopProduct
- Add unit interface to ShopProduct, OrderLine and SourceLine
- Add DisplayUnit model
- Rename ``SalesUnit.short_name`` to ``symbol``
- Improve variation product orderability check performance
- Add `created_on` and `modified_on` fields for shop
- Make shop identifier max length to 128 characters
- Add `staff_members` manytomanyfield for shop

Localization
~~~~~~~~~~~~

Admin
~~~~~

- Add option to define a custom admin module loader
- Quick add staff members for shops
- Main menu is now updateable through provides.
- Add new provide category called `order_printouts_delivery_extra_fields`
  which can be used to add extra rows to order delivery slip.
- Add new provide category called `admin_order_information` which can be used
  to add extra information rows to order detail page.
- Use select2 multiple field for shop staff members
- Fix bug in "Select All" mass action
- Fix bug in product choice widget
- Display last 12 months of sales in the dashboard chart

Addons
~~~~~~

Front
~~~~~

- Add shop phone and number on order received notification
- Fix bug: Could no change quantities of unorderable lines in the basket
- Use display units when rendering product quantities
- Add new provide category called `product_context_extra`
  which can be used to add extra data to the product context.
- It's now possible to re-order old order from order history
- It's now possible for addons to extend front main menu using the
  new `front_menu_extender` provide. See :doc:`provides.rst` for more information.
- Fix default error handler always returning 200 OK as an HTTP status code.
  Now returns the appropriate status code.

Xtheme
~~~~~~

Classic Gray Theme
~~~~~~~~~~~~~~~~~~

Simple Supplier
~~~~~~~~~~~~~~~

Order Printouts
~~~~~~~~~~~~~~~

Campaigns
~~~~~~~~~

- Fix handling of non-integer quantity in FreeProductLine

Customer Group Pricing
~~~~~~~~~~~~~~~~~~~~~~

Discount Pricing
~~~~~~~~~~~~~~~~

Simple CMS
~~~~~~~~~~

Default Tax
~~~~~~~~~~~

Guide
~~~~~

Importer
~~~~~~~~

Regions
~~~~~~~

General/miscellaneous
~~~~~~~~~~~~~~~~~~~~~<commit_msg>ChangeLog: Update latest merges<commit_after>Shuup Change Log
================

Unrealeased
-----------

- List all changes after last release here (newer on top).  Each change
  on a separate bullet point line.  Wrap the file at 79 columns or so.
  When releasing next version, the "Unreleased" header will be replaced
  with appropriate version header and this help text will be removed.

Core
~~~~

- Add new shipment_created_and_processed signal
- Improve OrderSource caching for deserialization speedup
- Add new product count methods to OrderSource
- Fix bug in purchase multiple checking of ShopProduct
- Add unit interface to ShopProduct, OrderLine and SourceLine
- Add DisplayUnit model
- Rename ``SalesUnit.short_name`` to ``symbol``
- Improve variation product orderability check performance
- Add `created_on` and `modified_on` fields for shop
- Make shop identifier max length to 128 characters
- Add `staff_members` manytomanyfield for shop

Localization
~~~~~~~~~~~~

Admin
~~~~~

- Add option to define a custom admin module loader
- Quick add staff members for shops
- Main menu is now updateable through provides.
- Add new provide category called `order_printouts_delivery_extra_fields`
  which can be used to add extra rows to order delivery slip.
- Add new provide category called `admin_order_information` which can be used
  to add extra information rows to order detail page.
- Use select2 multiple field for shop staff members
- Fix bug in "Select All" mass action
- Fix bug in product choice widget
- Display last 12 months of sales in the dashboard chart

Addons
~~~~~~

Front
~~~~~

- Cusmoter information: Replace untranslated "Not specified" with a dash
- Trigger shipment created event when addons have already processed it
- Fix caching problem related to superuser being all seeing
- Add shop phone and number on order received notification
- Fix bug: Could no change quantities of unorderable lines in the basket
- Use display units when rendering product quantities
- Add new provide category called `product_context_extra`
  which can be used to add extra data to the product context.
- It's now possible to re-order old order from order history
- It's now possible for addons to extend front main menu using the
  new `front_menu_extender` provide. See :doc:`provides.rst` for more information.
- Fix default error handler always returning 200 OK as an HTTP status code.
  Now returns the appropriate status code.

Xtheme
~~~~~~

- Fix product highlight plugin best selling products

Classic Gray Theme
~~~~~~~~~~~~~~~~~~

Simple Supplier
~~~~~~~~~~~~~~~

Order Printouts
~~~~~~~~~~~~~~~

Campaigns
~~~~~~~~~

- Fix handling of non-integer quantity in FreeProductLine

Customer Group Pricing
~~~~~~~~~~~~~~~~~~~~~~

Discount Pricing
~~~~~~~~~~~~~~~~

Simple CMS
~~~~~~~~~~

Default Tax
~~~~~~~~~~~

Guide
~~~~~

Importer
~~~~~~~~

Reporting
~~~~~~~~~

- Extend default tax report with pre-tax amount and total

Regions
~~~~~~~

General/miscellaneous
~~~~~~~~~~~~~~~~~~~~~
{'fraction_non_alphanumeric': 0.11297220242337848, 'fraction_numerical': 0.003920171062009979, 'mean_word_length': 4.4814453125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4693071', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1393, 'n_words': 716}