-
-
Notifications
You must be signed in to change notification settings - Fork 305
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 l10n_it_rea #1930
[14.0] mig l10n_it_rea #1930
Conversation
[FIX] Add readme [FIX] fix province [FIX] Module name and description [FIX] Fixed Register [FIX] rem descr from __openerp__
FIX bug tracker and empty keys
[MIG] Rename manifest files
[FIX] © -> Copyright, and make module installable [FIX] Enconding on py files [UPD] Readme [FIX] openerp -> odoo in xml tag Add Authors, use https on oca web site
[UPD] Update l10n_it_rea.pot
ADD REA fields to copany and compute company_registry accordingly
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 100.0% (15 of 15 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_rea Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_rea/it/
Currently translated at 100.0% (15 of 15 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_rea Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_rea/it/
Currently translated at 100.0% (15 of 15 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_rea Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_rea/it/
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 100.0% (15 of 15 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_rea Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_rea/it/
Currently translated at 100.0% (15 of 15 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_rea Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_rea/it/
02f9dd1
to
79625ce
Compare
79625ce
to
fe65145
Compare
@jado95 ho forzato il rebuild di runbot: vediamo se diventa 🟢 |
@tafaRU Ottimo, grazie. |
…d and fix the following warnings that are getting runbot build red. (#1) 2020-11-20 10:30:20,958 160 WARNING openerp_test odoo.fields: res.company.rea_member_type: selection attribute will be ignored as the field is related 2020-11-20 10:30:20,959 160 WARNING openerp_test odoo.fields: res.company.rea_liquidation_state: selection attribute will be ignored as the field is related
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per il resto LGTM
[("LS", "In liquidation"), ("LN", "Not in liquidation")], "Liquidation State" | ||
) | ||
|
||
_sql_constraints = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spesso questi campi non sono valorizzati, perchè non rimuoviamo il constraint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non me ne intendo! Se ne sei sicuro, per me ok, altrimenti chiederei prima conferma a @marco-marchiori.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si ok! Rimane comunque il problema che se una o più aziende non hanno indicato questi dati e dobbiamo creare il contatto, la creazione fallisce perchè il constraint fallisce, io l'ho rimuovo sempre nelle installazioni perchè crea solo problemi e blocca l'import delle fatture elettroniche per i fornitori nuovi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se i campi sono vuoti, il vincolo non viene violato:
https://www.postgresql.org/docs/current/ddl-constraints.html#DDL-CONSTRAINTS-UNIQUE-CONSTRAINTS
However, two null values are never considered equal in this comparison. That means even in the presence of a unique constraint it is possible to store duplicate rows that contain a null value in at least one of the constrained columns
Quindi non vedo problemi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comunque LGTM! Magari rimuoviamo il constraint dopo
This PR has the |
Ok, allora mergio! |
/ocabot merge patch |
Hey, thanks for contributing! Proceeding to merge this for you. |
Ottimo! |
Il merge di questa PR è rimasto bloccato per via del problema evidenziato in https://odoo-community.org/groups/contributors-15/contributors-181547 |
/ocabot merge patch |
On my way to merge this fine PR! |
Congratulations, your PR was merged at e8781e0. Thanks a lot for contributing to OCA. ❤️ |
Descrizione del problema o della funzionalità:
Comportamento attuale prima di questa PR:
Comportamento desiderato dopo questa PR:
--
Confermo di aver firmato il CLA https://odoo-community.org/page/cla e di aver letto le linee guida su https://odoo-community.org/page/contributing