You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Valentin Lab
d17f2270de
|
4 weeks ago | |
---|---|---|
.. | ||
static/src/js | 5 years ago | |
views | 5 years ago | |
README.md | 5 years ago | |
__init__.py | 5 years ago | |
__manifest__.py | 5 years ago | |
utils.py | 5 years ago |
README.md
Widgets
<field name="url_field" widget="iframe" style="width: 100%" iframe_style="width: 100%" />
Creates an iframe with url_field
value as a source.
<field name="article_ids" widget="one2many_flexible" click_target="current" />
Allows changing the target for the item click action.
Functions
odoo.addons.galicea_toolset.utils.get_base_url(env)
Client actions
@api.multi
def button_action(self):
return {
'type': 'ir.actions.client',
'tag': 'galicea_toolset.open_edit_dialog',
'params': { 'res_id': <id>, 'res_model': <model>, 'title': <title>}
};