Package: odoo10-addon-contract
Contracts for recurrent invoicingThis module forward-port to v10 the contracts management with recurring
invoicing functions. Also you can print and send by email contract report.In upstream Odoo, this functionality was moved into the Enterprise edition.ConfigurationTo view discount field setDiscount on linesin user access rights.You might find that generating all pending invoices at once takes too much
time and produces some performance problems, mostly in cases where you
generate a lot of invoices in little time (i.e. when invoicing thousands
of contracts yearly, and you get to January 1st of the next year). To avoid
this bottleneck, the trick is toincrease the cron frequence and decrease
the contracts batch size. The counterpart is that some invoices could not
be generated in the exact day you expected. To configure that:Go toSettings > Activate the developer mode.Go toSettings > Technical > Automation > Scheduled Actions >
Generate Recurring Invoices from Contracts > Edit > Information.Set a lower interval. For example, changeInterval UnittoHours.Go to theTechnical Datatab, and add a batch size inArguments.
For example, it should look like(20,).Save.That’s it! From now on, only 20 invoices per hour will be generated.
That should take only a few seconds each hour, and shouln’t block other users.UsageTo use this module, you need to:Go to Accounting -> Contracts and select or create a new contract.CheckGenerate recurring invoices automatically.Fill fields for selecting the recurrency and invoice parameters:JournalPricelistPeriod. It can be any interval of days, weeks, months, months last day or
years.Start date and next invoice date.Invoicing type: pre-paid or post-paid.Add the lines to be invoiced with the product, description, quantity and
price.You can mark Auto-price? for having a price automatically obtained applying
the pricelist to the product price.You have the possibility to use the markers #START# or #END# in the
description field to show the start and end date of the invoiced period.Choosing between pre-paid and post-paid, you modify the dates that are shown
with the markers.A cron is created with daily interval, but if you are in debug mode, you can
click onCreate invoicesto force this action.ClickShow recurring invoiceslink to show all invoices created by the
contract.Click onPrint > Contractmenu to print contract report.Click onSend by Emailbutton to send contract by email.Known issues / RoadmapRecover states and others functional fields in Contracts.Bug TrackerBugs are tracked onGitHub Issues. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.CreditsContributorsPedro M. Baeza <pedro.baeza@tecnativa.com>Carlos Dauden <carlos.dauden@tecnativa.com>Angel Moya <angel.moya@domatix.com>Dave Lasley <dave@laslabs.com>Vicent Cubells <vicent.cubells@tecnativa.com>MaintainerThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.To contribute to this module, please visithttps://odoo-community.org.