|
Ran
|
Jobs
2
|
Files
104
|
Run time
32s
|
Badge
README BADGES
|
push
travis-ci
Merge pull request #55 in ODOO/vertical-medical from bugfix/9.0/LABS-199-remove-is_human-validation-on-medical_patient_species to release/9.0 * commit 'be051bc3f': [FIX] medical_patient_species: Adjust logic in patient create method. Add note in readme about human always id #1 in db. Add assertion to test that was only using try, except, and self.fail. [FIX] medical_patient_species: Add post_init hook that sets all current patients to human. Add create overload to patient that ensures species_id is populated with human ID if left empty. Backups to this include a constraint in the backend and frontend to ensure species_id is never left empty when creating or editing a patient. [REM] medical_patient_species: Remove requirement for parent_id.is_person = True. Fix test expecting no ValidationError if pet created with valid parent_id. Remove default value of self.env.ref('....human') for patient.
1539 of 2035 relevant lines covered (75.63%)
1.51 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 3 | 1608.3 (TESTS="1" ODOO_REPO="odoo/odoo") | 0 |
75.63 |
Travis Job 1608.3 | |
| 4 | 1608.4 (TESTS="1" ODOO_REPO="OCA/OCB") | 0 |
75.63 |
Travis Job 1608.4 |