|
Ran
|
Files
104
|
Run time
4s
|
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%)
0.76 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|