Files
odoo_source/addons/test_base_import/security/ir.model.access.csv
T
Gorash 75a105f46a [REF] base/all: Update modifier syntax: remove 'states' from fields
These changes are made as a result of simplifying attrs and 'states' in
views. However, they should have remained in a separate commit. When
applying the script making the xml changes (used later for the migration
script), the script checked the definition of the python fields in order
to convert the information into a python expression. Therefore, this
commit is not applied when the script is applied to xml changes.

During this attribute deletion pre-existing errors were found. Part of
the code was using the boolean values of 'states' and another part of
the code was not. The behavior could therefore be different (in cases
where readonly on the field had the same value as the ballan in
'states').

Following the deletion of 'states' and without the application of the
view migration, the js tests (tower) were no longer functional. Tests
using the Form view suffered the same effect. There are few tests that
had to be adapted, including two tests in business accounting (updated
by the accounting team). A test for column_invisible did not work. Test
checking if the test system triggers an error if we try to write on an
invisible field. It turns out that Form was testing on the value of
invisible but not taking into account if the column was invisible. The
test system fix is applied separately because there were a lot of tests
that were incorrect.

Part-of: odoo/odoo#104741
2023-08-18 09:49:11 +02:00

1.8 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_test_base_import_charbase.import.tests.models.charmodel_base_import_charbase.group_user1111
3access_test_base_import_char_requiredbase.import.tests.models.char.requiredmodel_base_import_char_requiredbase.group_user1111
4access_test_base_import_char_readonlybase.import.tests.models.char.readonlymodel_base_import_char_readonlybase.group_user1111
5access_test_base_import_char_noreadonlybase.import.tests.models.char.noreadonlymodel_base_import_char_noreadonlybase.group_user1111
6access_test_base_import_char_stillreadonlybase.import.tests.models.char.stillreadonlymodel_base_import_char_stillreadonlybase.group_user1111
7access_test_base_import_m2obase.import.tests.models.m2omodel_base_import_m2obase.group_user1111
8access_test_base_import_m2o_relatedbase.import.tests.models.m2o.relatedmodel_base_import_m2o_relatedbase.group_user1111
9access_test_base_import_m2o_requiredbase.import.tests.models.m2o.requiredmodel_base_import_m2o_requiredbase.group_user1111
10access_test_base_import_m2o_required_relatedbase.import.tests.models.m2o.required.relatedmodel_base_import_m2o_required_relatedbase.group_user1111
11access_test_base_import_o2mbase.import.tests.models.o2mmodel_base_import_o2mbase.group_user1111
12access_test_base_import_o2m_childbase.import.tests.models.o2m.childmodel_base_import_o2m_childbase.group_user1111
13access_test_base_import_floatbase.import.tests.models.floatmodel_base_import_floatbase.group_user1111
14access_test_base_import_previewbase.import.tests.models.previewmodel_base_import_previewbase.group_user1111
15access_test_base_import_complexaccess_test_base_import_complexmodel_base_import_complexbase.group_user1000