bi_sql_editor_server_actions precommit - generate setup files
parent
88a2a24d47
commit
77f5715a03
|
@ -2,7 +2,7 @@
|
||||||
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
from odoo import SUPERUSER_ID, _, api, fields, models
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
class BiSQLView(models.Model):
|
class BiSQLView(models.Model):
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
from odoo import _, api, fields, models
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
class IrActionsServer(models.Model):
|
class IrActionsServer(models.Model):
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Copyright 2017 Onestein (<http://www.onestein.eu>)
|
# Copyright 2017 Onestein (<http://www.onestein.eu>)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
from odoo.exceptions import AccessError, UserError
|
|
||||||
from odoo.tests.common import SingleTransactionCase, at_install, post_install
|
from odoo.tests.common import SingleTransactionCase, at_install, post_install
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,16 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
<field name="inherit_id" ref="bi_sql_editor.view_bi_sql_view_form" />
|
<field name="inherit_id" ref="bi_sql_editor.view_bi_sql_view_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<notebook position="inside">
|
<notebook position="inside">
|
||||||
<page string="Server actions" attrs="{'invisible': [('state', 'in', ['draft', 'sql_valid'])]}">
|
<page
|
||||||
<field name="server_action_ids"
|
string="Server actions"
|
||||||
|
attrs="{'invisible': [('state', 'in', ['draft', 'sql_valid'])]}"
|
||||||
|
>
|
||||||
|
<field
|
||||||
|
name="server_action_ids"
|
||||||
nolabel="1"
|
nolabel="1"
|
||||||
colspan="4"
|
colspan="4"
|
||||||
context="{'default_model_id': model_id}"/>
|
context="{'default_model_id': model_id}"
|
||||||
|
/>
|
||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
</field>
|
</field>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../../../bi_sql_editor_server_actions
|
|
@ -0,0 +1,6 @@
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
Loading…
Reference in New Issue