Commit Graph

706 Commits

Author SHA1 Message Date
Carlos Dauden
fef699a9ed [MIG] contract_variable_quantity: Migration to 11.0 2020-10-27 13:33:07 +01:00
Moisés López
276efddaac [FIX] contract_payment_auto: Fix freze wkhtmltopdf freezed 2020-10-27 13:33:07 +01:00
Dave Lasley
b471266ab1 [10.0][IMP] Add variable qty to contract template view (#66)
* [IMP] Add variable qty to contract template view

* Bump minor version
2020-10-27 13:33:07 +01:00
Dave Lasley
8b4849c6db [IMP][10.0] contract: Add templating (#42)
Add template functionality for contracts
2020-10-27 13:33:07 +01:00
Dave Lasley
04ea45a067 [MIG] contract_variable_quantity: Migrate to v10
* Bump version
* Change openerp references to odoo
* Installable to True
* Change permissions & views to accounting dependency
2020-10-27 13:33:07 +01:00
Pedro M. Baeza
848b435d7e [MIG] Rename manifest files 2020-10-27 13:33:07 +01:00
Pedro M. Baeza
604e84426a [MIG] Make modules uninstallable 2020-10-27 13:33:07 +01:00
Carlos Dauden
66baa2b7f8 [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2020-10-27 13:33:07 +01:00
Pedro M. Baeza
da8e6f36aa Update README.rst 2020-10-27 13:33:07 +01:00
Pedro M. Baeza
0e26286c45 [IMP] contract_variable_quantity: Spanish translation 2020-10-27 13:30:08 +01:00
Pedro M. Baeza
9cf74613c3 [IMP] contract_variable_quantity: Screenshot 2020-10-27 13:30:08 +01:00
Pedro M. Baeza
e026e60fb8 [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).
2020-10-27 13:30:08 +01:00
OCA Transbot
9652c7613a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-13.0/contract-13.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract/
2020-10-26 23:58:43 +00:00
oca-git-bot
ef225245c0 [IMP] pre-commit: pin node version [ci skip] 2020-10-27 00:58:30 +01:00
Víctor Martínez
eb3ec25699 [MIG] contract_sale: Migration to 13.0 2020-10-26 08:49:47 +01:00
Guille
b30f04cfa4 [IMP] contract_payment_mode: black, isort, prettier 2020-10-26 08:38:49 +01:00
OCA-git-bot
a16f8ba6ba [UPD] README.rst 2020-10-26 08:38:49 +01:00
OCA-git-bot
75c7a58080 [UPD] README.rst 2020-10-26 08:38:49 +01:00
OCA-git-bot
eaa5cdd82c contract_payment_mode 12.0.1.1.0 2020-10-26 08:38:49 +01:00
vinclar
76ab941146 <!--Supplier--FORM view-->
Added view for supplier contracts, respecting the domain for payment_type.
Before was showing the inbound types in the supplier payment
2020-10-26 08:38:49 +01:00
Pedro Castro Silva
733e617a53 Translated using Weblate (Portuguese)
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-12.0/contract-12.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_payment_mode/pt/
2020-10-26 08:38:49 +01:00
Rudolf Schnapka
6d55c04d8f Translated using Weblate (German)
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-12.0/contract-12.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_payment_mode/de/
2020-10-26 08:38:49 +01:00
黎伟杰
c84260bcc8 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-12.0/contract-12.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_payment_mode/zh_CN/
2020-10-26 08:38:49 +01:00
Eder Brito
2c773b3f2b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-12.0/contract-12.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_payment_mode/pt_BR/
2020-10-26 08:38:49 +01:00
Albert Pons
71495d2a99 Translated using Weblate (Catalan)
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-12.0/contract-12.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_payment_mode/ca/
2020-10-26 08:38:49 +01:00
OCA Transbot
219cd3ca24 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_payment_mode/
2020-10-26 08:38:49 +01:00
oca-travis
12813d24e2 [UPD] Update contract_payment_mode.pot 2020-10-26 08:38:49 +01:00
OCA-git-bot
86f96fd738 [ADD] icon.png 2020-10-26 08:38:49 +01:00
OCA-git-bot
a87ad8f8e2 [UPD] README.rst 2020-10-26 08:38:49 +01:00
Bejaoui Souheil
7261a6b4e0 Fix unit test
Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
2020-10-26 08:38:49 +01:00
Thomas Binsfeld
8098504a1c [MIG] Contract Payment Mode to 12.0 2020-10-26 08:38:49 +01:00
oca-travis
c4e89539c0 [UPD] Update contract_payment_mode.pot 2020-10-26 08:38:49 +01:00
cubells
eb3d049858 [MIG] contract_payment_mode: Migration to 11.0 2020-10-26 08:38:49 +01:00
OCA Transbot
494dd17e37 OCA Transbot updated translations from Transifex 2020-10-26 08:38:49 +01:00
Moisés López
4d521e208d [FIX] contract_payment_auto: Fix freze wkhtmltopdf freezed 2020-10-26 08:38:49 +01:00
OCA Transbot
adc0342be6 OCA Transbot updated translations from Transifex 2020-10-26 08:38:49 +01:00
Carlos Dauden
c0b55fcb01 [IMP] contract_payment_mode: Onchange payment mode vals 2020-10-26 08:38:49 +01:00
OCA Transbot
89a60b70b3 OCA Transbot updated translations from Transifex 2020-10-26 08:38:49 +01:00
David Vidal
254119f979 [MIG] contract_payment_mode: Migration to 10.0 2020-10-26 08:38:49 +01:00
OCA Transbot
046a928bcc OCA Transbot updated translations from Transifex 2020-10-26 08:38:49 +01:00
cubells
a2e06d4b7e contract_payment_mode: Migration to 9.0 2020-10-26 08:38:49 +01:00
OCA Transbot
50e3938261 OCA Transbot updated translations from Transifex 2020-10-26 08:38:49 +01:00
Javi Melendez
04017b1623 contract_payment_mode: get bank account from partner (#30)
in recurring invoice
2020-10-26 08:38:49 +01:00
Antonio Espinosa
56b14e2174 contract_payment_mode: Several fixes+imps:
* Copy partner payment mode to contracts when installing
* Filter payment modes for sales
* Adding tests
2020-10-26 08:38:49 +01:00
AngelMoya-Domatix
607da1a024 contract_payment_mode module 2020-10-26 08:38:49 +01:00
Víctor Martínez
f46d12f4a7 [IMP] contract_sale: black, isort, prettier 2020-10-26 08:06:58 +01:00
Maxime Chambreuil
c865a950dc Translated using Weblate (Spanish (Chile))
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-12.0/contract-12.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_sale/es_CL/
2020-10-26 08:06:58 +01:00
OCA-git-bot
7887ef6416 contract_sale 12.0.3.0.0 2020-10-26 08:06:58 +01:00
Ernesto Tejeda
64ed4e30a4 [IMP] contract: add section and notes in contract line 2020-10-26 08:06:58 +01:00
OCA-git-bot
aee4f830b3 [UPD] README.rst 2020-10-26 08:06:58 +01:00