Commit Graph

117 Commits

Author SHA1 Message Date
Pedro M. Baeza
e8a584af7c Update README.rst 2016-09-09 19:11:50 +02:00
Pedro M. Baeza
043057112a [IMP] contract_variable_quantity: Spanish translation 2016-09-09 19:05:05 +02:00
Pedro M. Baeza
8e6deab765 [IMP] contract_variable_quantity: Screenshot 2016-09-09 18:57:18 +02:00
Pedro M. Baeza
85da2e66c1 [ADD] contract_variable_quantity:
=================================================
Variable quantity in contract recurrent invoicing
=================================================

With this module, you will be able to define in recurring contracts some
lines with variable quantity according a provided formula.

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

* Go to Sales > Configuration > Contracts > Formulas (quantity).
* Define any formula based on Python code that stores at some moment a
  float/integer value of the quantity to invoice in the variable 'result'.

  You can use these variables to compute your formula:

  * *env*: Environment variable for getting other models.
  * *context*: Current context dictionary.
  * *user*: Current user.
  * *line*: Contract recurring invoice line that triggers this formula.
  * *contract*: Contract whose line belongs to.
  * *invoice*: Invoice (header) being created.

Usage
=====

To use this module, you need to:

* Go to Sales -> Contracts and select or create a new contract.
* Check *Generate recurring invoices automatically*.
* Add a new recurring invoicing line.
* Select "Variable quantity" in column "Qty. type".
* Select one of the possible formulas to use (previously created).
2016-09-09 03:05:15 +02:00
Pedro M. Baeza
0a6d99d2d9 [FIX] contract: Assign contract unconditionally 2016-09-09 02:25:10 +02:00
Pedro M. Baeza
a90b9b565e [IMP] contract: Category for contract module 2016-09-08 16:27:40 +02:00
Pedro M. Baeza
85b16ba70c [IMP] contract: Better README 2016-09-08 16:26:43 +02:00
OCA Git Bot
5fde3ffa5b [UPD] addons table in README.md 2016-08-28 02:48:08 +02:00
Pedro M. Baeza
7211b16d5d [FIX] contract_show_invoice: Correct view 2016-08-27 20:50:42 +02:00
Stéphane Bidoul (ACSONE)
7c74a0a04f [FIX] remove en.po that was erroneously created by transbot 2016-08-15 22:13:10 +02:00
OCA Transbot
5f027d5189 OCA Transbot updated translations from Transifex 2016-06-04 07:10:24 -04:00
carlosdauden
1bc7af8338 [9.0][IMP] contract: Get default invoice contact. (#32) 2016-05-12 09:38:36 +02:00
OCA Transbot
c49beaac8a OCA Transbot updated translations from Transifex 2016-04-23 06:17:57 -04:00
OCA Transbot
d2c203e4fa OCA Transbot updated translations from Transifex 2016-04-16 06:13:00 -04:00
OCA Git Bot
91a3b11260 [ADD] setup.py 2016-04-14 04:43:34 +02:00
OCA Git Bot
c5f742fc84 [UPD] addons table in README.md 2016-04-03 02:40:13 +02:00
Pedro M. Baeza
6589fd6511 [REM] contract_discount/contrac_journal/contract_show_recurring_invoice
These modules have been integrated in the new contract module, which is itself
an extraction of the recurring invoicing feature from Odoo's v8
account_analytic_analysis module.

As in v9 a similar option has been included in enterprise, but not in community
version, this migration to v9 will serve as base for the suscription functionality.
2016-04-02 19:10:26 +02:00
carlosdauden
7b167f5e0b [MIG] contract_show_invoice: Migrate to v9.0
* [MIG] contract_show_invoice: Migrate to v9.0
2016-04-02 19:02:27 +02:00
OCA Transbot
34d4b9fa49 OCA Transbot updated translations from Transifex 2016-04-02 04:29:06 -04:00
OCA Git Bot
4904894f6a [UPD] addons table in README.md 2016-04-02 02:39:46 +02:00
Pedro M. Baeza
118acc0386 Merge pull request #26 from carlosdauden/9.0-contract
New module contract in v9.0
2016-04-01 12:30:07 +02:00
Carlos Incaser
28f944d1fe [FIX] contract: Update author info. 2016-04-01 11:45:34 +02:00
Carlos Incaser
0233b31aa0 Changes suggested by @pedrobaeza 2016-03-28 21:32:18 +02:00
Carlos Incaser
a27a749c09 Improve tests 2016-03-26 01:50:38 +01:00
Carlos Incaser
e5d5a813bf Changes suggested by @elicoidal and @pedrobaeza. Translate. 2016-03-26 00:52:53 +01:00
Carlos Incaser
d98bb9ee5e Improve tests 2016-03-23 19:01:11 +01:00
Carlos Incaser
d994fb6411 [IMP] Tests and filters added. Add _id/_ids in old property fields 2016-03-23 13:58:29 +01:00
Carlos Incaser
84874d3d76 Migration from v7 to v9 improving features 2016-03-22 20:34:18 +01:00
Carlos Incaser
6b1dcb482b Merge branch '7.0-extract' into 9.0-contract 2016-03-22 11:07:47 +01:00
Maxime Chambreuil - http://www.savoirfairelinux.com
fc449e0b3b [FIX] Transifex status image 2015-11-29 23:13:57 -05:00
Stéphane Bidoul
2730499fce [UPD] addons table in README.md 2015-10-14 09:56:18 +02:00
Pedro M. Baeza
d9afb02b40 [MIG] Update metafiles 2015-10-14 02:24:46 +02:00
Pedro M. Baeza
17bc92d437 [MIG] Make modules uninstallable 2015-10-14 02:24:44 +02:00
Stéphane Bidoul
052e3d938c [UPD] addons table in README.md 2015-10-13 18:27:57 +02:00
Pedro M. Baeza
73f054fcf5 Merge pull request #16 from Domatix/add_contract_show_recurring_invoice
ADD contract_show_recurring_invoice module
2015-10-13 12:19:08 +02:00
AngelMoya-Domatix
e8cf6099e0 ADD contract_show_recurring_invoice module 2015-10-13 11:07:23 +02:00
Stéphane Bidoul
699271dad9 [UPD] addons table in README.md 2015-10-12 00:32:40 +02:00
Daniel Reis
6b73999757 Merge pull request #14 from Domatix/add-contract-journal
ADD contract_journal module
2015-10-11 14:52:37 +01:00
Pedro M. Baeza
8ed85ee45d Merge pull request #15 from Domatix/add-contract-invoices-button
ADD contract_show_invoice module
2015-10-10 19:09:41 +02:00
AngelMoya-Domatix
b0d4e67f87 ADD contract_invoices_module module 2015-10-10 18:32:33 +02:00
OCA Transbot
ac5c26a419 OCA Transbot updated translations from Transifex 2015-09-26 22:10:01 -04:00
Stéphane Bidoul
38b015126d [ADD] addons table in README.md 2015-09-23 16:27:29 +02:00
AngelMoya-Domatix
9957b71b3b ADD contract_journal module 2015-09-21 10:26:29 +02:00
OCA Transbot
9a6ffd6d11 OCA Transbot updated translations from Transifex 2015-09-19 22:02:53 -04:00
Pedro M. Baeza
fe70f974a3 Merge branch 'Domatix-add-contract-discount' into 8.0 2015-09-18 12:28:25 +02:00
AngelMoya-Domatix
86c2c91f4b ADD contract_discount module 2015-09-18 11:52:57 +02:00
Daniel Reis
3f5337a48a Initialize 8.0 branch 2015-08-30 16:15:14 +00:00
Daniel Reis
31aaccec64 Merge pull request #64 from pedrobaeza/7.0-aaar_line_hook
[IMP] account_analytic_analysis_recurring: Hook method for preparing invoice lines
2015-04-08 13:08:45 +01:00
Alexandre Fayolle
cb7a9f902e Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:27:05 +01:00
Pedro M. Baeza
1afffca5f2 [IMP] account_analytic_analysis_recurring: Hook method for preparing invoice lines 2015-02-12 17:13:42 +01:00