* Prior to this commit, images were only managed when being an image field. No widget were used either. * After this commit, image stored in model as url (as res.country.image_url) can be used when specifying ':image' after the field name. The fields are now rendered using their corresponding default widget. If there is a need to force another widget and if the developer is sure that it is compatible, he/she can specify it using the notation: 'field_name:widget_name'. closes odoo/odoo#57645 X-original-commit: 18d4e3327c7152b4c3a86ba377e3357f213b703c Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
21 lines
563 B
Python
21 lines
563 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import account_move
|
|
from . import crm_team
|
|
from . import ir_http
|
|
from . import mail_compose_message
|
|
from . import product_image
|
|
from . import product
|
|
from . import res_country
|
|
from . import res_partner
|
|
from . import sale_order
|
|
from . import website
|
|
from . import res_config_settings
|
|
from . import digest
|
|
from . import res_company
|
|
from . import product_attribute
|
|
from . import website_page
|
|
from . import website_visitor
|
|
from . import website_snippet_filter
|