Pedro M. Baeza 73f2ddd76b [FIX] contract: fix views assignment + improvement on tests + copyright in headers
**Be totally deterministic about which views to use**

Having a primary view that is not explicitly declared to be uses and w/o priority
makes Odoo to choose between one of them randomly (well, not exactly, but kind of),
so we put here which views to use.

I have also put tree view as primary and put a large priority for not being
selected on other actions that don't have this explicit views.

A friendly name in views is also assigned.

**Improvements in tests**

* Use SavepointCase for making the setup only once for all tests
* Make them inheritable, creating a base class with only the setup,
  so that it can be inherited without the need of executing all tests
  contained here each time you inherit it, and adding other class
  in the same module that inherits from the base class that actually
  performs the tests.
* Removed duplicated test method
2023-03-15 10:43:56 +01:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00

Runboat Pre-commit Status Build Status codecov Translation Status

contract

TODO: add repo description.

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.

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 66 MiB
Languages
Python 60.4%
HTML 39%
JavaScript 0.4%
SCSS 0.2%