Ronald Portier 748345c0b2 [FIX] base_external_system. Solve test error.
Testing fingerprint, with ignore_finger_print set to False, caused an error, because it would first set
ignore_fingerprint to False, then validate, never getting to actually setting the fingerprint, causing the
following stacktrace:
Traceback (most recent call last):

  File "/home/travis/build/OCA/server-backend/base_external_system/tests/test_external_system.py", line 28, in test_check_fingerprint_allowed

    self.record.write({"ignore_fingerprint": False, "fingerprint": "Data"})

  File "/home/travis/odoo-13.0/odoo/models.py", line 3573, in write

    fields[0].determine_inverse(real_recs)

  File "/home/travis/odoo-13.0/odoo/fields.py", line 1122, in determine_inverse

    self.inverse(records)

  File "/home/travis/odoo-13.0/odoo/fields.py", line 594, in _inverse_related

    target[field.name] = record_value[record]

  File "/home/travis/odoo-13.0/odoo/models.py", line 5629, in __setitem__

    return self._fields[key].__set__(self, value)

  File "/home/travis/odoo-13.0/odoo/fields.py", line 1087, in __set__

    records.write({self.name: write_value})

  File "/home/travis/odoo-13.0/odoo/models.py", line 3568, in write

    real_recs._validate_fields(set(vals) - set(inverse_fields))

  File "/home/travis/odoo-13.0/odoo/models.py", line 1176, in _validate_fields

    check(self)
2023-02-06 16:29:30 +01:00
2022-10-03 22:05:15 +02:00
2023-01-26 11:42:11 +00:00
2023-01-26 11:42:02 +00:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2022-10-03 22:05:15 +02:00
2023-01-26 11:42:01 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

server-backend

TODO: add repo description.

Available addons

addon version maintainers summary
base_user_role 16.0.1.1.1 sebalix jcdrubay novawish User roles
base_user_role_history 16.0.1.0.0 ThomasBinsfeld This module allows to track the changes on users roles.

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
No description provided
Readme 129 MiB
Languages
HTML 51.4%
Python 48.6%