[12.0][IMP] post-migrate script to set bank on invoice#2081
Conversation
c3f15a8 to
f43985f
Compare
f43985f to
83b7609
Compare
|
@tafaRU una domanda, con queste modifiche è necessario installare |
yes, @GSLabIt. Usando la versione prelevata dal branch
|
in questo modo, non "obblighiamo" ad installare le lib per evitare errori? Dovremmo segnalarlo? |
la maggior parte dei moduli OCA usano questa versione di openupgradelib.
male di certo non fa! |
Meglio sarebbe segnalarlo per l'intera repo, |
ok, fai pure PR. Grazie. |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
It looks like something changed on |
|
It looks like something changed on |
|
@sergiocorato your merge command was aborted due to failed check(s), which you can inspect on this commit of 12.0-ocabot-merge-pr-2081-by-sergiocorato-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. |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at d74d4e4. Thanks a lot for contributing to OCA. ❤️ |
| ('payment_term_id.riba', '=', True), ('riba_partner_bank_id', '=', False) | ||
| ]) | ||
| for invoice in invoices: | ||
| invoice._onchange_riba_partner_bank_id() |
There was a problem hiding this comment.
questo onchange scrive nel DB senza bisogno di _convert_to_write?
There was a problem hiding this comment.
Nei test ha funzionato senza, meglio aggiungerlo?
There was a problem hiding this comment.
Se funziona va bene, ma mi chiedevo come fa
There was a problem hiding this comment.
In realtà me lo sono chiesto anche io 😬 possibile per l'utilizzo di delle librerie openupgradelib?
There was a problem hiding this comment.
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