{"id":27442949,"url":"https://github.com/medea-learner/contact_travel","last_synced_at":"2025-04-15T01:17:46.326Z","repository":{"id":287900901,"uuid":"966150252","full_name":"medea-learner/contact_travel","owner":"medea-learner","description":"A custom Odoo module named contact_travel that extends contact management by adding a related Voyage model, a smart button showing user-specific trips, and a reward level system based on total travel amounts.","archived":false,"fork":false,"pushed_at":"2025-04-14T14:36:16.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T01:17:28.442Z","etag":null,"topics":["erp","odoo","odoo-customization","odoo-module","odoo18","python3","res-partner","reward-system","smart-button","trips-management","xml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/medea-learner.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security/ir.model.access.csv","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-14T13:32:26.000Z","updated_at":"2025-04-14T14:40:29.000Z","dependencies_parsed_at":"2025-04-14T15:27:42.488Z","dependency_job_id":"197ab3da-eb52-4e51-9838-110c88e0ace6","html_url":"https://github.com/medea-learner/contact_travel","commit_stats":null,"previous_names":["medea-learner/contact_travel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medea-learner%2Fcontact_travel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medea-learner%2Fcontact_travel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medea-learner%2Fcontact_travel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medea-learner%2Fcontact_travel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/medea-learner","download_url":"https://codeload.github.com/medea-learner/contact_travel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986314,"owners_count":21194025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["erp","odoo","odoo-customization","odoo-module","odoo18","python3","res-partner","reward-system","smart-button","trips-management","xml"],"created_at":"2025-04-15T01:17:45.182Z","updated_at":"2025-04-15T01:17:46.303Z","avatar_url":"https://github.com/medea-learner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# contact_travel - Odoo Custom Module\n\n## Overview\n`contact_travel` is a custom Odoo module that adds travel tracking and a reward system to the standard Contacts app. It introduces a new model `Voyage` for tracking travel-related data and integrates it into the partner view with a smart button and computed fields.\n\n## Features\n- `Voyage` model to track user travels with name, date, destination, amount.\n- Smart button on partner form showing number of voyages.\n- Reward level field (`Argent`, `Or`, `Platine`) based on travel total.\n- Explanation message for the reward level.\n- Filtered voyage list per contact.\n\n## Models\n- `res.partner` (extended):\n  - `voyage_ids`, `voyage_count`, `reward_level`, `explanation`\n- `contact_travel.voyage`:\n  - `name`, `departure_date`, `destination`, `partner_id`, `amount`\n\n## Installation\n1. Copy the module to your Odoo `addons` directory.\n2. Restart the server.\n3. Activate developer mode.\n4. Install the module `contact_travel`.\n\n## Usage\n- Add some Contacts\n- Add some Voyages.\n- Go to a given contact.\n- Open a contact form.\n- Click the \"Voyages de l'Utilisateur\" button to see related voyages.\n- Observe the reward level and explanation fields.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedea-learner%2Fcontact_travel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedea-learner%2Fcontact_travel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedea-learner%2Fcontact_travel/lists"}