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

[14.0][MIG] partner_contact_lang: Migration to 14.0 #992

Merged
merged 17 commits into from
Oct 22, 2020

Conversation

newtratip
Copy link
Member

@newtratip newtratip commented Oct 15, 2020

Standard Migration

pedrobaeza and others added 16 commits October 16, 2020 02:52
===========================
Manage language in contacts
===========================

Odoo by default propagate language field to the created contacts from their
form, but it doesn't allow to change it once created.

This module fills this gap, and also provides other facilities for the
contact language management:

* Put the language of the parent company when the contact doesn't have a
  language and this parent company is assigned.
* When the company changes the language, it fills with the same language all
  the contacts that don't have any.

Usage
=====

Go to any partner that is a company and has contacts. Click on one contact
and you will be able to edit the language.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: partner-contact-13.0/partner-contact-13.0-partner_contact_lang
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_contact_lang/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: partner-contact-13.0/partner-contact-13.0-partner_contact_lang
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_contact_lang/
…virtual record

If the record hasn't been created yet, we can assume that the language set currently
is the default one, so we can switch it to the parent one.
Currently translated at 100.0% (2 of 2 strings)

Translation: partner-contact-13.0/partner-contact-13.0-partner_contact_lang
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_contact_lang/pt_BR/
@newtratip newtratip mentioned this pull request Oct 15, 2020
45 tasks
@newtratip newtratip force-pushed the 14.0-mig-partner_contact_lang branch from 818d915 to 3286f61 Compare October 16, 2020 07:15
Copy link

@tonygalmiche tonygalmiche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM : Code review and functional review with runbot

image

Copy link
Contributor

@HaraldPanten HaraldPanten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@rousseldenis rousseldenis added this to the 14.0 milestone Oct 21, 2020
@rousseldenis
Copy link
Contributor

@newtratip Could you squash your commits or do you want to let it as is ?

@newtratip newtratip force-pushed the 14.0-mig-partner_contact_lang branch from dffa964 to 825bca8 Compare October 21, 2020 08:43
@newtratip
Copy link
Member Author

newtratip commented Oct 21, 2020

@rousseldenis, I squash my commits already, Could you please check again ?

@dreispt
Copy link
Member

dreispt commented Oct 22, 2020

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-992-by-dreispt-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 7057e64 into OCA:14.0 Oct 22, 2020
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 1715777. Thanks a lot for contributing to OCA. ❤️

@newtratip newtratip deleted the 14.0-mig-partner_contact_lang branch October 23, 2020 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.