Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: How do you solve invoicing period?

by
BCIM srl, Jacques-Etienne Baudoux
- 19/08/2022 09:15:22
Hello Raphael,

> With account_invoice_base_invoicing_mode +plus+ account_invoice_mode_monthly and other modules becomes the logic, but the customer cannot create their invoicing modes themselves, and need from us a new module each time.

This is correct. That is for automatic invoicing according to the mode defined on the partner. You currently have the possibility to choose monthly, weekly and daily (v14 open PR). Each mode needs its module for the implementation.
The generation of the invoice is done with a cron job that generates a queue job at a defined time. This allows to control the load and track what occurred with the job, and see the log in case of error.
It also supports returns to generate credit notes.

Kind regards
J-E

Le mar. 16 août 2022 à 17:32, Rafael Blasco <notifications@odoo-community.org> a écrit :

Hello Contributors!

 

I write because I don’t see a common straight solution (and user friendly) for this general use case.

 

  1.  

 

Usually, I have been using the OCA module sale_order_type when a client have the need of defining invoicing periods like:

 

  • Monthly
  • B-weekly
  • Weekly
  • Daily

 

With sale_order_type +plus+ sale_order_invoicing_grouping_criteria you can group by. This module allow multiple criterias.

 

  1.  

 

In the other hand there is the OCA module “account_invoice_base_invoicing_mode”, this looks like more specific but it has a huge dependency (I don’t know why): depends: account, queue_job, sale

 

With account_invoice_base_invoicing_mode +plus+ account_invoice_mode_monthly and other modules becomes the logic, but the customer cannot create their invoicing modes themselves, and need from us a new module each time.

 

 

The usability (UX) in my mind looks like clients (users) have a field like “invoicing period” (like invoicing mode) where they can create monthly, weekly, etc. (like payment terms) and after that they can set it in the partners form (customers or supplier). And after that improve with more modules automatism.

 

What do you think?

 

I write here before opening an issue in GitHub (maybe sale-workflow, maybe account-invoicing).

 

 

Thank you in advance

Best regards

Rafael

 

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference