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

[15.0][MIG] partner_identification #1270

Closed
wants to merge 41 commits into from

Conversation

Freni-OSI
Copy link
Contributor

No description provided.

lmignon and others added 10 commits May 9, 2022 14:35
* [IMP] improve module description
* [IMP] Remove useless comments
* [FIX] Complete incomplete sentence
* [IMP] Replace field 'state' by 'status' in res_partner_id_number
* [IMP] Add new field 'Place of Issuance'
* [FIX] Readme formatting
* [IMP] status is now a selection field
* [IMP] use method to provide the default value for validation_code
* [IMP] Add help texts
* [FIX] Add missing constrains on category_id in res_partner.id_number
        The number must be validated also when we change the category
Allow for context override of validations using ``id_no_validate``
OCA#419)

* [IMP] partner_identification: Add field computation and inverses
* Add methods to allow for computation and inverse of an ID field of a specific category type

* [IMP] partner_identification: Add search option
@patrickrwilson
Copy link
Contributor

@Freni-OSI This looks good but can you squash all the admin commits. Below is the reference to this requirement for migrating to 15.0...

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0

"Squash administrative commits (if any) with the previous commit for reducing commit noise. They are named as "[UPD] README.rst", "[UPD] Update $MODULE.pot", "Update translation files" and similar names, and comes from OCA-git-bot, oca-travis or oca-transbot. IMPORTANT: Don't squash legit translation commits, authored by their translators, with the message "Translated using Weblate (...)"."

simahawk and others added 19 commits May 11, 2022 10:12
[FIX] Tests

[FIX] data sequence

Fix openerp to odoo in comment

[REM] at_install, post_install

[ADD] Model descriptions

[REM] Extra spaces
Currently translated at 97.9% (46 of 47 strings)

Translation: partner-contact-12.0/partner-contact-12.0-partner_identification
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_identification/it/
Currently translated at 97.9% (46 of 47 strings)

Translation: partner-contact-12.0/partner-contact-12.0-partner_identification
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_identification/es/
Currently translated at 100.0% (47 of 47 strings)

Translation: partner-contact-13.0/partner-contact-13.0-partner_identification
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_identification/zh_CN/
Currently translated at 100.0% (47 of 47 strings)

Translation: partner-contact-13.0/partner-contact-13.0-partner_identification
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_identification/es_AR/
Currently translated at 21.3% (10 of 47 strings)

Translation: partner-contact-13.0/partner-contact-13.0-partner_identification
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-partner_identification/nl/
@dreispt
Copy link
Member

dreispt commented Jun 22, 2022

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-1270-by-dreispt-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jun 22, 2022
Signed-off-by dreispt
@OCA-git-bot
Copy link
Contributor

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-1270-by-dreispt-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

)
% (self.name, e)
)
msg = (
Copy link
Contributor

Choose a reason for hiding this comment

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

@Freni-OSI @dreispt This is not good !

You should format after the translation!

Copy link
Member

Choose a reason for hiding this comment

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

@Freni-OSI will you be fixing this? Can I help?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you check and review it again? Thanks

@rousseldenis rousseldenis added this to the 15.0 milestone Jun 22, 2022
@rousseldenis
Copy link
Contributor

@Freni-OSI Do you plan to fix this ?

@ValentinVinagre
Copy link
Contributor

@Freni-OSI ??

@Freni-OSI Freni-OSI force-pushed the 15.0_MIG_partner_identification branch from 3c96c9d to a997ac3 Compare November 17, 2022 11:56
@Freni-OSI Freni-OSI requested review from rousseldenis and andreschenkels and removed request for rousseldenis and andreschenkels November 17, 2022 11:57
)
raise ValidationError(_(msg))
Copy link
Contributor

Choose a reason for hiding this comment

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

@Freni-OSI Hich, you cannot do that!

You should format the result of translation function:

raise ValidationError(_(msg).format(...))

@dreispt
Copy link
Member

dreispt commented Mar 31, 2023

Superseded by #1436

@dreispt dreispt closed this Mar 31, 2023
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.