Introduce new model of "Product Documents" to hold documents linked to a given product template/variant, displayed on: * quotations * confirmed sale orders * e-commerce product page This will also replace the previous "Digital Files" (website_sale_digital) logic & module, which allowed to specify product documents available to customers after the SO invoice was paid. This exact feature will be lost after upgrade, since we only keep the choice to link documents on quotations/orders, but: 1) on e-commerce, carts are supposed paid when confirmed 2) on portal, the "Online Payment" settings makes sure the users have to pay to confirm their quotation. therefore we consider new configuration sufficient, without needing a "paid order" choice as well. task-3249201 Part-of: odoo/odoo#132739
32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
# flake8: noqa: F401
|
|
|
|
# don't try to be a good boy and sort imports alphabetically.
|
|
# `product.template` should be initialised before `product.product`
|
|
from . import product_template
|
|
from . import product_product
|
|
|
|
from . import decimal_precision
|
|
from . import ir_attachment
|
|
from . import product_attribute
|
|
from . import product_attribute_custom_value
|
|
from . import product_attribute_value
|
|
from . import product_category
|
|
from . import product_document
|
|
from . import product_packaging
|
|
from . import product_pricelist
|
|
from . import product_pricelist_item
|
|
from . import product_supplierinfo
|
|
from . import product_tag
|
|
from . import product_template_attribute_line
|
|
from . import product_template_attribute_exclusion
|
|
from . import product_template_attribute_value
|
|
from . import res_company
|
|
from . import res_config_settings
|
|
from . import res_country_group
|
|
from . import res_currency
|
|
from . import res_partner
|
|
from . import uom_uom
|