mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-24 20:12:05 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
from lxml import etree
|
||||
|
||||
from .common import CommonCase
|
||||
|
||||
|
||||
class TestBrand(CommonCase):
|
||||
def test_get_view(self):
|
||||
view = self.env["res.config.settings"].get_view(
|
||||
view_id=self.env.ref("base.res_config_settings_view_form").id,
|
||||
view_type="form",
|
||||
)
|
||||
doc = etree.XML(view["arch"])
|
||||
self.assertTrue(doc.xpath("//field[@name='brand_use_level']"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue