-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
[17.0][MIG] stock_picking_invoice_link: Migration to 17.0 #1446
[17.0][MIG] stock_picking_invoice_link: Migration to 17.0 #1446
Conversation
…iew. Minor coding style improvements.
partially by creating i18n folder first
In order to get visibility on https://www.odoo.com/apps the OCA board has decided to add the OCA as author of all the addons maintained as part of the association.
picking.invoice_id for every stock move.
…re blocked by this constraint
… is cancelled its pickings go back to "to2invoiced" state * If a cancelled invoice goes back again to draft, its pickings are marked as invoiced to avoid invoicing twice * Not able to erase an invoice with pickings not cancelled * Tests stock_picking_invoice_link: unlink improved * enable erasing when invoice is in state 'draft' or 'cancel' * if invoice is in state 'draft', not cancelled picking will be invoiceable
… references For dropshipping pickings with module stock_dropshipping_dual_invoice, you generate two invoices for the same picking, so the many2one only reflects the last generated invoice. With this change, now both are linked.
…#296) Previous migration did not keep the business functionality of the previous module. Link from invoice to picking must link only related delivery and not all deliveries in case of partial delivery
avoiding 'product.service_delivery' because not useful in tests and correctly handled as service by 10.0 tests
Currently translated at 100.0% (12 of 12 strings) Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_picking_invoice_link/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/
Currently translated at 100.0% (18 of 18 strings) Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/fr/
Currently translated at 100.0% (18 of 18 strings) Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/es/
Currently translated at 100.0% (18 of 18 strings) Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/
Currently translated at 100.0% (18 of 18 strings) Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/es/
Currently translated at 100.0% (18 of 18 strings) Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_invoice_link Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_invoice_link/it/
/ocabot migration stock_picking_invoice_link |
eb6cd32
to
fa2abbe
Compare
fa2abbe
to
b1ead6a
Compare
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 622c18a. Thanks a lot for contributing to OCA. ❤️ |
There seems to be an error in the way of overriding the reverse_moves method. def reverse_moves(self, is_modify=False):
action = super(
AccountMoveReversal, self.with_context(force_copy_stock_moves=True)
).reverse_moves() By not passing the is_modify=is_modify parameter, this prevents proper functioning. |
Fixed in @lethuthao2403 @gurneyalex could you review? |
ref: BSRD-699