Skip to content
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

[MIG][18.0] sale_order_invoicing_queued from 16.0 #1869

Open
wants to merge 35 commits into
base: 18.0
Choose a base branch
from

Conversation

acsonefho
Copy link
Contributor

@acsonefho acsonefho commented Dec 31, 2024

Migration of sale_order_invoicing_queued in 18.0 from 16.0

pedrobaeza and others added 30 commits December 31, 2024 09:45
This module allows to enqueue in several jobs the sales orders invoicing
process to be executed in paralell on background, that's it's normally done
serially and on foreground.

Jobs are split following the same criteria as standard Odoo: grouping by
order invoicing address and order currency.

Installation
============

This module depends on *queue_job* module that is hosted on
https://github.com/OCA/queue.

Configuration
=============

If you want to see queued jobs, you need "Job Queue / Job Queue Manager"
permission in your user.

Usage
=====

* Go to *Sales > Invoicing > Orders to Invoice*.
* Select sales orders whose invoicing you want to enqueue.
* Click on *Action > Invoice Order*.
* Click on "Enqueue Invoicing" button.
* On that moment, jobs will be enqueued on foreground, but the control will
  be returned to you after that.
* Having the "Job Queue Manager" permissions, you can go to the sales order,
  and see the tab "Invoicing Jobs". There a list with all the jobs related
  to that sales order can be found.

Known issues / Roadmap
======================

* This module doesn't take into account any possible modification on grouping
  criteria, like all the modules that uses
  `sale_order_action_invoice_create_hook`.
* Standard procedure
* README updated
* Manifest version updated
* Standard procedure
* README updated
* Manifest version updated
* Adjusted code to v13
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-13.0/account-invoicing-13.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-sale_order_invoicing_queued/
Currently translated at 100.0% (7 of 7 strings)

Translation: account-invoicing-13.0/account-invoicing-13.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-sale_order_invoicing_queued/zh_CN/
Using the new hook for getting the grouping criteria, now we compatibilize this
module with for example sale_order_invoicing_grouping_criteria.
Currently translated at 100.0% (7 of 7 strings)

Translation: account-invoicing-13.0/account-invoicing-13.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-sale_order_invoicing_queued/es/
…bility with OCA module

The previous group key generator was not properly populated.

And also provide compatibility with module
sale_order_invoicing_grouping_criteria module.
Order `partner_invoice_id` fields is transferred to `partner_id`, so
when seeing grouping keys at order level, we need to remap the grouping
key.
Currently translated at 100.0% (10 of 10 strings)

Translation: account-invoicing-14.0/account-invoicing-14.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-sale_order_invoicing_queued/it/
Currently translated at 100.0% (10 of 10 strings)

Translation: account-invoicing-14.0/account-invoicing-14.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-sale_order_invoicing_queued/it/
Currently translated at 100.0% (10 of 10 strings)

Translation: account-invoicing-14.0/account-invoicing-14.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-sale_order_invoicing_queued/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-14.0/account-invoicing-14.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-sale_order_invoicing_queued/
Currently translated at 100.0% (10 of 10 strings)

Translation: account-invoicing-14.0/account-invoicing-14.0-sale_order_invoicing_queued
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-sale_order_invoicing_queued/es/
@acsonefho acsonefho changed the title [MIG][18.0] account_invoice_merge from 16.0 [MIG][18.0] sale_order_invoicing_queued from 16.0 Dec 31, 2024
@@ -0,0 +1,6 @@
This module depends on *queue_job* module that is hosted on
Copy link
Contributor

@legalsylvain legalsylvain Dec 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.