[18.0][MIG] partner_default_company: Migration to 18.0#707
[18.0][MIG] partner_default_company: Migration to 18.0#707
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the partner_default_company module from a previous version to Odoo 18.0. The module automatically populates the company field with the current company when creating new partners.
- Migration of the partner_default_company module to version 18.0
- Implementation of company field auto-population logic for partners
- Addition of documentation and project structure files
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
partner_default_company/__manifest__.py |
Updated manifest file with version 18.0.1.0.0 and module metadata |
partner_default_company/models/res_partner.py |
Implements default company logic for partner creation |
partner_default_company/models/res_company.py |
Prevents circular reference during company creation |
partner_default_company/models/__init__.py |
Module imports for model files |
partner_default_company/__init__.py |
Main module initialization |
partner_default_company/README.rst |
Generated documentation file |
partner_default_company/readme/DESCRIPTION.md |
Module description fragment |
partner_default_company/readme/CONTRIBUTORS.md |
Contributors list fragment |
partner_default_company/pyproject.toml |
Build system configuration |
partner_default_company/static/description/index.html |
Generated HTML documentation |
05fcd83 to
3afe7f7
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
… one on partner creation
Don't set default company for partner of companies. After the company record is created, odoo will put the same company as the record.
3afe7f7 to
25aa693
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #707 +/- ##
=======================================
Coverage ? 87.50%
=======================================
Files ? 4
Lines ? 16
Branches ? 0
=======================================
Hits ? 14
Misses ? 2
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.