-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] formio: Workaround Safari with unusable Columns in a Data Grid.
Workaround for Safari 16.6 (AFAIK), with Columns in a Data Grid. The Columns become too narrow and unusable in a Data Grid. GitHub issue: formio/formio.js#5426 This workaround adds 1 CSS rule, which adds a `width: 100%` to the first `<td/>` (column) targeted in a Data Grid table. width: 100%; }
- Loading branch information
Showing
10 changed files
with
136 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo noupdate="1"> | ||
<record id="config_param_formio_builder_js_options_default" model="ir.config_parameter"> | ||
<field name="key">formio.default_builder_js_options_id</field> | ||
<field name="value" eval="ref('formio.formio_builder_js_options_default')"/> | ||
</record> | ||
<odoo> | ||
<!-- no update --> | ||
<data noupdate="1"> | ||
<record id="config_param_formio_builder_js_options_default" model="ir.config_parameter"> | ||
<field name="key">formio.default_builder_js_options_id</field> | ||
<field name="value" eval="ref('formio.formio_builder_js_options_default')"/> | ||
</record> | ||
|
||
<record id="config_param_formio_default_version" model="ir.config_parameter"> | ||
<field name="key">formio.default_version</field> | ||
<field name="value">4.16.0</field> | ||
</record> | ||
<!-- administrator decides, so don't overwrite --> | ||
<record id="config_param_formio_default_version" model="ir.config_parameter"> | ||
<field name="key">formio.default_version</field> | ||
<field name="value">4.17.3</field> | ||
</record> | ||
</data> | ||
|
||
<!-- formio.js v4.x.x --> | ||
<record id="default_asset_css_bootstrap_4_1_3" model="formio.default.asset.css"> | ||
<field name="attachment_id" ref="formio.default_attachment_css_bootstrap_4_1_3"/> | ||
<field name="active">True</field> | ||
</record> | ||
<!-- update --> | ||
<data> | ||
<record id="default_asset_css_bootstrap" model="formio.default.asset.css"> | ||
<field name="attachment_id" ref="formio.default_attachment_css_bootstrap_4_4_1"/> | ||
<field name="active">True</field> | ||
</record> | ||
|
||
<!-- formio.js v5.x.x --> | ||
<!-- <record id="default_asset_css_bootstrap_5_2_3" model="formio.default.asset.css"> --> | ||
<!-- <field name="attachment_id" ref="formio.default_attachment_css_bootstrap_5_2_3"/> --> | ||
<!-- <field name="active">False</field> --> | ||
<!-- </record> --> | ||
<!-- formio.js v5.x.x --> | ||
<!-- <record id="default_asset_css_bootstrap" model="formio.default.asset.css"> --> | ||
<!-- <field name="attachment_id" ref="formio.default_attachment_css_bootstrap_5_2_3"/> --> | ||
<!-- <field name="active">False</field> --> | ||
<!-- </record> --> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright Nova Code (http://www.novacode.nl) | ||
# See LICENSE file for full licensing details. | ||
|
||
from odoo import api, SUPERUSER_ID | ||
|
||
|
||
def migrate(cr, version): | ||
env = api.Environment(cr, SUPERUSER_ID, {}) | ||
# new/updated to: default_asset_css_bootstrap_4_4_1 | ||
env.ref('formio.default_asset_css_bootstrap_4_1_3').unlink() |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters