Commit Graph

657 Commits

Author SHA1 Message Date
Pedro M. Baeza
ef4e37a7b4 [FIX] contract_variable_quantity: Correct README menus references 2021-09-23 16:47:59 +02:00
Carlos Dauden
ceafa89917 [MIG] contract_variable_quantity: Migration to 11.0 2021-09-23 16:47:59 +02:00
Moisés López
91065a78ed [FIX] contract_payment_auto: Fix freze wkhtmltopdf freezed 2021-09-23 16:47:59 +02:00
Dave Lasley
ce2110ea51 [10.0][IMP] Add variable qty to contract template view (#66)
* [IMP] Add variable qty to contract template view

* Bump minor version
2021-09-23 16:47:59 +02:00
Dave Lasley
820e0b2b05 [IMP][10.0] contract: Add templating (#42)
Add template functionality for contracts
2021-09-23 16:47:59 +02:00
Dave Lasley
fa0e6d379a [MIG] contract_variable_quantity: Migrate to v10
* Bump version
* Change openerp references to odoo
* Installable to True
* Change permissions & views to accounting dependency
2021-09-23 16:47:59 +02:00
Pedro M. Baeza
c6ce43f33e [MIG] Rename manifest files 2021-09-23 16:47:59 +02:00
Pedro M. Baeza
364a4ed213 [MIG] Make modules uninstallable 2021-09-23 16:47:59 +02:00
Carlos Dauden
e8f8cbb580 [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2021-09-23 16:47:59 +02:00
Pedro M. Baeza
ef3ee8f4e4 Update README.rst 2021-09-23 16:47:59 +02:00
Pedro M. Baeza
3ede742fc7 [IMP] contract_variable_quantity: Spanish translation 2021-09-23 16:47:59 +02:00
Pedro M. Baeza
7b115f9cb6 [IMP] contract_variable_quantity: Screenshot 2021-09-23 16:47:59 +02:00
Pedro M. Baeza
222dc7373e [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).
2021-09-23 16:47:59 +02:00
pere-aquarian
929495172c Translated using Weblate (Catalan)
Currently translated at 98.3% (302 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/ca/
2021-09-14 02:33:43 +00:00
pere-aquarian
0505e7b207 Translated using Weblate (Catalan)
Currently translated at 34.2% (26 of 76 strings)

Translation: contract-14.0/contract-14.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement/ca/
2021-09-14 02:33:42 +00:00
OCA-git-bot
8a77fc17ee [UPD] addons table in README.md 2021-09-13 14:25:00 +00:00
OCA-git-bot
e3fa614045 contract 14.0.1.2.3 2021-09-13 14:24:55 +00:00
OCA-git-bot
c3570919cc Merge PR #715 into 14.0
Signed-off-by pedrobaeza
2021-09-13 14:10:06 +00:00
OCA-git-bot
519c4faaca [UPD] addons table in README.md 2021-09-13 13:50:29 +00:00
Alexandre Fayolle
b3ffe50cb3 [FIX] agreement_stock: bump version
to solve a pypi upload issue
2021-09-13 15:50:16 +02:00
Alexandre Fayolle
ec9cb8c9f5 Revert "[FIX] agreement_stock: bump version"
This reverts commit 1602e240ae.
2021-09-13 15:48:42 +02:00
João Marques
5fcd198471 [FIX] contract: Fix invoice creation and salesperson assignment
In v13, the `user_id` field is a related field to `invoice_user_id`, that defaults to the environment user (`self.env.user`).
Therefore, if we try to create an invoice just by passing `user_id`, it would be overwritten by the default computation of `invoice_user_id`.
This fixes it by passing the correct field and data.

TT31715
2021-09-10 13:31:14 +01:00
Alexandre Fayolle
1602e240ae [FIX] agreement_stock: bump version
to solve a pypi upload issue
2021-09-01 09:44:27 +02:00
OCA-git-bot
a36ff32bfa [UPD] addons table in README.md 2021-08-30 12:08:48 +00:00
OCA-git-bot
c46b91de95 contract 14.0.1.2.2 2021-08-30 12:08:43 +00:00
OCA-git-bot
24316309b5 Merge PR #713 into 14.0
Signed-off-by pedrobaeza
2021-08-30 11:46:01 +00:00
Alexis de Lattre
14bf7f3f4d [FIX] contract: fix an obvious crash when self is a multi-recordset 2021-08-30 13:41:33 +02:00
OCA-git-bot
6c6601e6a5 [ADD] setup.py 2021-08-20 10:36:56 +00:00
OCA-git-bot
e13e7fc2e7 [UPD] README.rst 2021-08-20 10:36:55 +00:00
OCA-git-bot
a5c9b807cb [UPD] addons table in README.md 2021-08-20 10:36:53 +00:00
oca-travis
f1d1fa2840 [UPD] Update agreement_project.pot 2021-08-20 10:04:07 +00:00
OCA-git-bot
ec66c5f847 Merge PR #686 into 14.0
Signed-off-by dreispt
2021-08-20 09:59:03 +00:00
OCA Transbot
f53b93dae8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-14.0/contract-14.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-agreement_legal/
2021-08-19 08:16:28 +00:00
OCA-git-bot
f4b2d390ba [UPD] addons table in README.md 2021-08-19 08:16:20 +00:00
OCA-git-bot
be85cea31b agreement_legal 14.0.2.0.0 2021-08-19 08:16:15 +00:00
OCA-git-bot
b36bed433e [UPD] README.rst 2021-08-19 08:16:15 +00:00
oca-travis
57bfbebeb8 [UPD] Update agreement_legal.pot 2021-08-19 08:00:50 +00:00
OCA-git-bot
156e977b55 Merge PR #700 into 14.0
Signed-off-by dreispt
2021-08-19 07:55:58 +00:00
OCA-git-bot
5efa1492f9 [UPD] addons table in README.md 2021-08-14 02:58:38 +00:00
Ediz Duman
9f4419725f Translated using Weblate (Turkish)
Currently translated at 72.9% (224 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/tr/
2021-08-05 22:50:32 +00:00
newtratip
c9acdbc4d5 [14.0][ENH] agreement_legal 2021-08-04 17:24:55 +07:00
OCA-git-bot
40a2ae978d [ADD] setup.py 2021-07-26 11:06:08 +00:00
OCA-git-bot
05bc97025e [UPD] README.rst 2021-07-26 11:06:08 +00:00
OCA-git-bot
45a49eaa35 [UPD] addons table in README.md 2021-07-26 11:06:06 +00:00
oca-travis
9fa37783c8 [UPD] Update contract_mandate.pot 2021-07-26 10:49:04 +00:00
OCA-git-bot
3e9395366a Merge PR #693 into 14.0
Signed-off-by sbejaoui
2021-07-26 10:42:07 +00:00
OCA-git-bot
ca1002e39f [ADD] setup.py 2021-07-19 21:10:12 +00:00
OCA-git-bot
e0dea72f11 [UPD] README.rst 2021-07-19 21:10:11 +00:00
OCA-git-bot
19a3f0e0cf [UPD] addons table in README.md 2021-07-19 21:10:10 +00:00
oca-travis
eeffdbe60c [UPD] Update agreement_stock.pot 2021-07-19 20:25:53 +00:00