Search 1.9 billion lines of Odoo code on GitHub

contract

Author: OpenERP SA, Tecnativa, LasLabs, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: acsone/contract
Dependencies: account, analytic, base, decimal_precision, and report
Languages: PO File (20380, 93.2%), Python (908, 4.2%), XML (511, 2.3%), and reStructuredText (76, 0.3%)
Other branches: 11.0, 12-ref_contract_create_invoice_tbi, 12.0, 12.0-adapt_contract_migration-sbj, 12.0-add_contract_forecast_sbj, 12.0-add_contract_payment_term_tbi, 12.0-add_contract_sale_mandate_tbi, 12.0-add_contract_tag_menu_item-sbj, 12.0-add_link_to_contract_line_in_msg-qgr, 12.0-add_product_contract_payment_term_tbi, 12.0-check_last_date_invoiced-sbj, 12.0-cntrctqj-len, 12.0-contract_auto_validate_invoice-sbj, 12.0-contract_forecast_multi_company-sbj, 12.0-contract_line_performance_issue-sbj, 12.0-contract_manually_create_invoice-sbj, 12.0-contract_multi_company-sbj, 12.0-contract_resiliation-sbj, 12.0-contract_specific_payment_mode-sbj, 12.0-contract_tags-sbj, 12.0-contract_termination_notice, 12.0-contract_transmit_method-sbj, 12.0-first_period_invoice_to_date-sbj, 12.0-first_period_invoice_to_date-sbj-2, 12.0-fix_action_create_contract-sbj, 12.0-fix_contract_forecast-sbj, 12.0-fix_contract_line_form_view-sbj, 12.0-fix_contract_report-sbj, 12.0-fix_onchange_date_start-sbj, 12.0-fix_partner_label-sbj, 12.0-fix_product_contract_sale_view-sbj, 12.0-fix_renew_next_invoice_date-sbj, 12.0-fix_travis-sbj, 12.0-forecast_period_for_auto_renew_contract-sbj, 12.0-improve_contract_filter-sbj, 12.0-mig-contract, 12.0-mig-contract_sale, 12.0-mig-product_contract, 12.0-prg_master, 12.0-prg_master_product_contract, 12.0-product-contract-variable-qty, 12.0-product_contract_auto_renew_interval-sbj, 12.0-product_contract_imporve_ux-sbj, 12.0-product_contract_journal-sbj, 12.0-product_contract_transmit_method-sbj, 12.0-productfixedend-len, 12.0-recurrence-mechanism-on-contract-line, 12.0-recurring_rule_type-sbj, 12.0-ref_contract_split_analytic_account_tbi, 12.0-set_contract_line_analytic_account-sbj, 12.0-tieredpricing-len, 12.0-trn_master, 12.0-trncntrct-len, 12.0-upd-copier-dro, 12.0-update_invoice_date_at_contract_line_stop-sbj, 12.0-variantconstraints-len, 13-fix-tests-ag-rebate-dro, 13.0, 13.0-add-contract-date-dro, 13.0-contractviews-len, 13.0-fix-contract_display_type-dro, 13.0-fix-portal-dro, 13.0-fix-product_line_view-dro, 13.0-fixactdomain-len, 13.0-imp-onchange_date_start-dro, 13.0-mig-contract-tecnativa-test-dro, 13.0-mig-contract_forecast-sbj, 13.0-mig-price-revision-dro, 13.0-mig-product_contract, 14.0, 14.0-add-contract_last_date_update-dro, 14.0-add-contract_layout_category_hide-dro, 14.0-add-contract_mass_stop-dro, 14.0-add-contract_product_set-dro, 14.0-add-contract_product_set_layout-dro, 14.0-add-contract_sale_delivery_zone-dro, 14.0-add-contract_sale_picking-dro, 14.0-add-contract_sale_picking_note-dro, 14.0-add-contract_sale_tag-dro, 14.0-add-sale_manual_action-dro, 14.0-add_contract_sale_layout_hide-dro, 14.0-contract_delivery_zone-dro, 14.0-fix-contract-domain-dro, 14.0-fix-contract-recurring-dro, 14.0-fix-contract_generation_next_date-dro, 14.0-fix-contract_global_recurrence-dro, 14.0-fix-contract_sale_gen_multi-dro, 14.0-fix-contract_stop_successor-dro, 14.0-fix-line-filter-dro, 14.0-imp-contract-dro, 14.0-imp-contract_last_date_invoiced-dro, 14.0-imp-contract_line_report-dro, 14.0-lbr_master, 14.0-mig-contract_sale_generator-dro, 14.0-upd-copier-dro, 14.0-update_template-dro, 9.0, fix-contract_sale, oca-port-pr-741-from-14.0-to-15.0, and oca-port-pr-792-from-14.0-to-15.0
Other repositories: 3664236979/contract, Alfa-90/contract, App247/contract, ArkanSystem/contract, Bilbonet/contract, BipinRathod/contract, BrownRhined/contract, Bubbles-IT/contract, CarlosToledo1007/contract, Chandni8/contract, Change2improve/contract, ClearCorp/oca-contract, Comunitea/contract, Conectel/contract, Digital5-Odoo/contract, Dobtor-OCA/contract, ERPLibre/contract, Escodoo/contract, ForgeFlow/contract, G00d1/contract, Gabinete-Digital/contract, GhassenTimoumi/contract, Gofekra/contract, Guobower/contract, Haevas/contract, HomerDeoDatu/contract, ITISAG-OCA/contract, Ingeos/contract, Jarsa/contract, JpGarciiia964/contract, Khalid-SerpentCS/contract, KrishnaPrajapati-SerpentCS/contract, LasLabs/contract, LevelPrime/contract, MadsackMediaStore/contract, Martronic-SA/contract, MathBenTech/contract, MindAndGo/contract, MjAbuz/contract, NL66278/contract, NeatNerdPrime/contract, Nikul-Chaudhary/contract, OCA-MUK/contract, OCA/contract, OlhaTsiapa/contract, Openworx/contract, PESOL/contract, Peter-Morawski/contract, RoelAdriaans/contract, SSISoftware/contract, SanteLibre/contract, SerpentConsultingServices/contract, SeuMarco/contract, Stanadigme/contract, StefanRijnhart/contract, Studio73/contract, Swapnesh-SerpentCS/contract, Syci-Consulting/contract, TRESCLOUD/contract, TechnovicInfotech/contract, Tecnativa/contract, Thawah/contract, Trust-Code/trustcode-addons, Upsyd/contract, VCLS-org/contract, VisiionSolucionesTecnologicas/contract, W360S/contract, W360SCORP/contract, YevhenPechurin/contract, Zhouhao12345/contract, acm1pt-colorado/contract, adminlii/contract, agenterp/contract, aitorbouzas/contract, akretion/contract, algiopensource/contract, altanmur/contract, altexcorp/contract, amcor/contract, amendoncabh/contract, angelmoya/contract, anhvu-sg/contract, antoinecln/contract, antoniofregoso/contract, apachesep/contract, apetbiz/contract, aroodooteam/contract, aurestic/contract, avanzosc/contract, bacgroup/contract, bmya/contract, bokitchan/contract, brain-tec/contract, brainbeanapps/contract, brian10048/contract, bullet92/contract, bvkl/contract, camptocamp/contract, carlos-domatix/contract, cesaraugustochirinos/contract, cgarcia0785/contract, coobyHQ/contract, coopdevs/contract, coopiteasy/contract, crnd-inc/contract, ctmil/contract, cubells/contract, dansanti/contract, daramousk/contract, devCbssolutionsRo/contract, diagramsoftware/contract, diegobgl/contract, diggy128/contract, dinhhung2512/contract, dndoanh/contract, drl9319/contract, drmedrme/contract, ecosoft-odoo/contract, efatto/contract, eittech/contract, elouafi/contract, elperrofarelo/contract, etobella/contract, exosoftware/oca-contract, fagan2888/contract, fcayre/contract, feketemihai/contract, flotho/contract, gaanto/contract, garzadekoster/contract, gastonfeng/contract, gfcapalbo/contract, git-service-it-ar/contract, goanzaloo/contract, gonxi/contract, gorozcoh/contract, grant-thornton/contract, grelpazm/contract, guramy/contract, gurneyalex/contract, haninada/contract, haroldtamo/contract, haryoran04/contract, hieulucky111/contract, hinfo506/contract, humanilog/contract, i-vyshnevska/contract, id42sistemas/contract, initOS/contract, isos/contract, isoscl/contract, it-projects-llc/contract, izzihector/contract, jacky82669513/contract, jarroyomorales/contract, jason156/contract, jeffery9/odoo-saas-tools, jiashengguo/contract, johnotoole68/contract, jordanvrtanoski/contract, joseernestomendez/contract, josuf567/contract, jpvs1978/contract, julianram/contract, keadanis/contract, kevin070982/contract, kittiu/contract, kmee/contract, kongrattapong/contract, levkar/contract, lfreeke/contract, libregob/contract, lideritjnma/contract, liweijie0812/contract, luximgroup/contract, marcel1981/contract, marcelsavegnago/trustcode-addons, martinllanos/contract, mettadipa/contract, mgielissen/contract, minhhq09/contract, molandtoxx/contract, moltisinc/contract, murtuzasaleh/contract, mybengui/contract, necrodevz/contract, newtratip/contract, nikul-serpentcs/contract, nomadic-coding/contract, norlinhenrik/contract, ntsirintanis/contract, o2deepak-zz/contract, obabawale/contract, odof/contract, odoobgorg/OCA-contract, ovnicraft/contract, patrickrwilson/contract, pdyharshad/contract, piensom/contract, popcomputadores-desenv/contract, presenceverte/contract, primes2h/contract, pscloud/contract, puchisco/contract, qsoftcorporation/contract, rakib09/contract, ravishekharco/contract, rousseldenis/contract, rsullivan2704/contract, saas-addons/contract, sadeqamin/contract, sanube/contract, sbejaoui/contract, selim-b/contract, sewisoft/contract, shine-it/contract, svalaeys/contract, sylvainvh/contract, sys-odoo/contract, t2solutions/contract, tarteo/contract, thinkopensolutions/oca-contract, thinkwelltwd/contract, tosink/contract, uktc87504/contract, unitek-solusi/OCA-contract, ursais/contract, valmarnet/contract, vdedyukhin/contract, vialaurea/contract, vidtsin/contract, vinclar/contract, vishal-serpentcs/contract, westlyou/contract, y2gsmith/contract, yasmanycastillo/contract, ygol/contract, yogesh-serpentcs/contract, and zeroincombenze/contract

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="contracts-for-recurrent-invoicing"></a> <h2>Contracts for recurrent invoicing</h2> <p>This module forward-port to v10 the contracts management with recurring invoicing functions. Also you can print and send by email contract report.</p> <p>In upstream Odoo, this functionality was moved into the Enterprise edition.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To view discount field set <em>Discount on lines</em> in user access rights.</p> <p>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 to <strong>increase the cron frequence and decrease the contracts batch size</strong>. The counterpart is that some invoices could not be generated in the exact day you expected. To configure that:</p> <ol class="arabic simple"> <li>Go to <em>Settings &gt; Activate the developer mode</em>.</li> <li>Go to <em>Settings &gt; Technical &gt; Automation &gt; Scheduled Actions &gt; Generate Recurring Invoices from Contracts &gt; Edit &gt; Information</em>.</li> <li>Set a lower interval. For example, change <em>Interval Unit</em> to <em>Hours</em>.</li> <li>Go to the <em>Technical Data</em> tab, and add a batch size in <em>Arguments</em>. For example, it should look like <code>(20,)</code>.</li> <li>Save.</li> </ol> <p>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.</p> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>Go to Accounting -&gt; Contracts and select or create a new contract.</li> <li>Check <em>Generate recurring invoices automatically</em>.</li> <li>Fill fields for selecting the recurrency and invoice parameters:<ul> <li>Journal</li> <li>Pricelist</li> <li>Period. It can be any interval of days, weeks, months, months last day or years.</li> <li>Start date and next invoice date.</li> <li>Invoicing type: pre-paid or post-paid.</li> </ul> </li> <li>Add the lines to be invoiced with the product, description, quantity and price.</li> <li>You can mark Auto-price? for having a price automatically obtained applying the pricelist to the product price.</li> <li>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.</li> <li>Choosing between pre-paid and post-paid, you modify the dates that are shown with the markers.</li> <li>A cron is created with daily interval, but if you are in debug mode, you can click on <em>Create invoices</em> to force this action.</li> <li>Click <em>Show recurring invoices</em> link to show all invoices created by the contract.</li> <li>Click on <em>Print &gt; Contract</em> menu to print contract report.</li> <li>Click on <em>Send by Email</em> button to send contract by email.</li> </ol> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/110/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>Recover states and others functional fields in Contracts.</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/contract/issues">GitHub Issues</a>. 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.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Pedro M. Baeza &lt;<a class="reference external" href="mailto:pedro.baeza&#64;tecnativa.com">pedro.baeza&#64;tecnativa.com</a>&gt;</li> <li>Carlos Dauden &lt;<a class="reference external" href="mailto:carlos.dauden&#64;tecnativa.com">carlos.dauden&#64;tecnativa.com</a>&gt;</li> <li>Angel Moya &lt;<a class="reference external" href="mailto:angel.moya&#64;domatix.com">angel.moya&#64;domatix.com</a>&gt;</li> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> <li>Vicent Cubells &lt;<a class="reference external" href="mailto:vicent.cubells&#64;tecnativa.com">vicent.cubells&#64;tecnativa.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>