-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
[12.0][MIG] stock_picking_invoice_link #513
[12.0][MIG] stock_picking_invoice_link #513
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
There's already #470 |
Uh that's me or sale != invoice ? 😄 |
What do you mean, @rousseldenis ? |
@pedrobaeza The PR you referenced is the migration of stock_picking_sale_order_link, this one is the migration of stock_picking_invoice_link |
@pedrobaeza wrong ref in migration issue |
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.
Tested on runbot
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.
Code review
Standard migration of module stock_picking_invoice_link to v12