The image for the sample product was updated in 76141b0d which made the 'Sample quotation' onboarding step hang for databases without any `product.product` record. A simple unit test for `_get_sample_sales_order` is included. Technically, it wasn't possible to add it to the existing onboarding test class because these tests are run post_install, and would fail on ENT builds because of pos_loyalty preventing archiving `product.product`s. --Additional note for 15.3 fw-port: As logic moved from pos_loyalty to loyalty, which is installed before sale on runbots, the problem described above resurfaces. We chose this cross module but simple and limited-impact fix to avoid it. Task-3045287 closes odoo/odoo#105339 X-original-commit: 0698388aab821e21309cbb2dd2411dac60f71be6 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
19 lines
599 B
Python
19 lines
599 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_access_rights
|
|
from . import test_accrued_sale_orders
|
|
from . import test_common
|
|
from . import test_controllers
|
|
from . import test_onchange
|
|
from . import test_payment_flow
|
|
from . import test_reinvoice
|
|
from . import test_sale_flow
|
|
from . import test_sale_onboarding
|
|
from . import test_sale_order
|
|
from . import test_sale_prices
|
|
from . import test_sale_product_attribute_value_config
|
|
from . import test_sale_refund
|
|
from . import test_sale_tax_totals
|
|
from . import test_sale_to_invoice
|