mirror of
https://github.com/bringout/oca-ocb-web.git
synced 2026-04-18 22:32:02 +02:00
replace stale web_editor with html_editor and html_builder for 19.0
web_editor was removed in Odoo 19.0 and replaced by html_editor
and html_builder. The old web_editor was incorrectly included in
the 19.0 vanilla import.
🤖 assisted by claude
This commit is contained in:
parent
4b94f0abc5
commit
f866779561
1513 changed files with 396049 additions and 358525 deletions
|
|
@ -0,0 +1 @@
|
|||
from . import test_html_builder_assets_bundle
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import odoo.tests
|
||||
from odoo.tests.common import HttpCase
|
||||
|
||||
|
||||
@odoo.tests.tagged('-at_install', 'post_install')
|
||||
class TestHtmlBuilderAssetsBundle(HttpCase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.bundle = cls.env["ir.qweb"]._get_asset_bundle("html_builder.assets", True)
|
||||
|
||||
def test_html_builder_assets_bundle_no_edit_scss(self):
|
||||
for file in self.bundle.files:
|
||||
filename = file["filename"]
|
||||
self.assertFalse(filename.endswith("edit.scss"), msg="html_builder.assets must not contain *.edit.scss files. Remove " + filename)
|
||||
Loading…
Add table
Add a link
Reference in a new issue