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 Merge pull request '[FIX] allow ``/oauth/userinfo`` GET request with json content-type' (#3) from bgallet/galicea-odoo-addons-ecosystem:12.0-patch-get-request-odoo into 12.0 4 weeks ago
..
static/src/js 12.0 5 years ago
views 12.0 5 years ago
README.md 12.0 5 years ago
__init__.py 12.0 5 years ago
__manifest__.py 12.0 5 years ago
utils.py 12.0 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>}

};