-
-
Notifications
You must be signed in to change notification settings - Fork 701
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] account_invoice_line_sequence #1565
[15.0][MIG] account_invoice_line_sequence #1565
Conversation
/ocabot migration account_invoice_line_sequence |
Thanks for this!! Functional test failed.. Sequence # stays 0. |
did you commit your line? The number is only generated when there's actually a line to save |
Picture says more then words :) 1301cadf-6ae5-4397-8423-c0f3c04309db.webmAlso tried an alternative method. Adding a second line after the save. |
This needs to be included: #1431 |
* [MIG] account_invoice_line_sequence v10 * [IMP] post_init_hook
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/
On line 9 was the wrong iterator name. "l" needs to be line.
Currently translated at 100.0% (7 of 7 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/pt_BR/
Currently translated at 100.0% (7 of 7 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/de/
Currently translated at 100.0% (7 of 7 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/sl/
Currently translated at 100.0% (7 of 7 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/it/
Currently translated at 100.0% (7 of 7 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_sequence Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_sequence/es/
…with account_invoice_section_sale_order
d87784e
to
c416ef4
Compare
@AaronHForgeFlow thanks for the headsup, but I rewrote this part (we don't touch the sequence field now, which causes the problems in v14) slightly, so I doubt we need this here. Actually, I think it would be more elegant to backport what I do here instead of having to activate the module after installation, which I always find a bit weird. @bosd thanks for the elaboration, could you retest? |
c416ef4
to
5342af8
Compare
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.
Functional test LGTM!
@hbrunn sorry, I did not see the refactor on that part. I agree this is more consistent solution |
@AaronHForgeFlow can you please review? |
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.
Functional review 🟢
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at ab0db6a. Thanks a lot for contributing to OCA. ❤️ |
No description provided.