Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Projects - send one invoice per customer

by
Commown, Florent Cayré
- 03/09/2020 13:02:36
Very interesting Pedro, I like the "tackle problems from the source" 
approach.

Is there a module in v12 to invoice only once a month (for instance) all 
the contract lines that may have different invoice dates? If not, this 
would probably be the way to go indeed, to avoid the multiple glue 
modules you mention.

For instance in v10 I had to develop 3 glue modules to merge 
contract-generated invoices per partner (one to mark the invoices we 
want to merge, one to trigger the merge, one to autopay the resulting 
merged invoice)!. This will be easier in v12 with one invoice date per 
contract line: generating a single invoice for the contract should be 
pretty straightforward.

Regards.

Le 03/09/2020 à 12:36, Pedro M. Baeza (Tecnativa) a écrit :

> I totally discourage the use of such module, as you have a lot of side 

> effects from that "merging", and this is shown on the high number of 

> glue modules you need. Instead, you have to attack the problem on the 

> source.

>

> Anyway, Daniel, please get used to indicate the Odoo version for which 

> you want to achieve that goal, as the possible solutions vary 

> depending on this factor. For >= v12, you can use the same analytic 

> account on several projects, so you can invoice everything from the 

> same sales order, and from v13, as Fekete has said, you can invoice 

> "in batch" for getting them merged on the fly.

>

> Regards.

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe

>

Reference