Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] delivery_driver: Migration to 18.0 #968

Open
wants to merge 14 commits into
base: 18.0
Choose a base branch
from

Conversation

HeliconiaSolutions
Copy link

No description provided.

EmilioPascual and others added 14 commits February 7, 2025 16:31
@moduon MT-4427

Co-authored-by: Eduardo de Miguel <[email protected]>
- When a driver is assigned in a shipping method, the partner is marked as a driver.
- Unmarking partners as drivers is not allowed if it is associated with a sending method.
- In pickings and move lines add domain in driver. Only partners marked as driver.
- When selecting a partner driver, only the name of the partner is displayed.

MT-5232 @moduon
Regression from OCA#774:

```

  File "/opt/odoo/auto/addons/delivery_driver/migrations/16.0.1.0.1/post-migration.py", line 15, in migrate
    env["carrier.driver"]
  File "/opt/odoo/custom/src/odoo/odoo/api.py", line 549, in __getitem__
    return self.registry[model_name](self, (), ())
  File "/opt/odoo/custom/src/odoo/odoo/modules/registry.py", line 190, in __getitem__
    return self.models[model_name]
KeyError: 'carrier.driver'
Error: 'carrier.driver'
```

@moduon MT-5232
Currently translated at 100.0% (8 of 8 strings)

Translation: delivery-carrier-16.0/delivery-carrier-16.0-delivery_driver
Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_driver/es/
Currently translated at 100.0% (8 of 8 strings)

Translation: delivery-carrier-16.0/delivery-carrier-16.0-delivery_driver
Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-delivery_driver/it/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants