Commit Graph

866 Commits

Author SHA1 Message Date
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
Vimal Patel
30b336e1d8 [14.0][MIG]agreement_repair: Migrated to v14 2021-09-23 16:35:44 +05:30
Vimal Patel
fba932226e [14.0][FIX]agreement_repair: Travis 2021-09-23 16:35:44 +05:30
OCA-git-bot
b4ff1e44a5 agreement_repair 12.0.1.0.1 2021-09-23 16:35:44 +05:30
Pedro Castro Silva
753cb51573 Translated using Weblate (Portuguese)
Currently translated at 100.0% (7 of 7 strings)

Translation: contract-12.0/contract-12.0-agreement_repair
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_repair/pt/
2021-09-23 16:35:44 +05:30
Pedro Castro Silva
f1e14804f1 Added translation using Weblate (Portuguese) 2021-09-23 16:35:44 +05:30
Marcel Savegnago
7ab2749999 [IMP] New icon for agreement modules (svg file in agreement_legal) 2021-09-23 16:35:44 +05:30
Marcel Savegnago
ac28c72773 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (7 of 7 strings)

Translation: contract-12.0/contract-12.0-agreement_repair
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_repair/pt_BR/
2021-09-23 16:35:44 +05:30
Marcel Savegnago
e08ef7fab7 Added translation using Weblate (Portuguese (Brazil)) 2021-09-23 16:35:44 +05:30
黎伟杰
318afd905a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7 of 7 strings)

Translation: contract-12.0/contract-12.0-agreement_repair
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_repair/zh_CN/
2021-09-23 16:35:44 +05:30
黎伟杰
aeaaa89093 Added translation using Weblate (Chinese (Simplified)) 2021-09-23 16:35:44 +05:30
Murtuza Saleh
f61f35880a [MIG][WIP][12.0] agreement_repair 2021-09-23 16:35:44 +05:30
Maria Sparenberg
5700c8e645 Translated using Weblate (German)
Currently translated at 100.0% (8 of 8 strings)

Translation: contract-11.0/contract-11.0-agreement_repair
Translate-URL: https://translation.odoo-community.org/projects/contract-11-0/contract-11-0-agreement_repair/de/
2021-09-23 16:35:44 +05:30
Maria Sparenberg
20a8f22e58 Added translation using Weblate (German) 2021-09-23 16:35:44 +05:30
Maxime Chambreuil
697135b9a2 [IMP] UI 2021-09-23 16:35:44 +05:30
Maxime Chambreuil
2c62805b24 [IMP] Show stat even if 0. Filter agreement with partner 2021-09-23 16:35:44 +05:30
OCA-git-bot
e5bad4f9dc [UPD] README.rst 2021-09-23 16:35:44 +05:30
Sandip Mangukiya
3260b817e6 [ADD] agreement_repair 2021-09-23 16:35:44 +05:30
Vimal Patel
b1ace1d4fc [14.0][MIG]agreement_maintenance: migrated to v14 2021-09-23 16:34:50 +05:30
Vimal Patel
9566fd5410 [14.0][MIG]agreement_maintenance: Travis 2021-09-23 16:34:50 +05:30
Marcel Savegnago
ad07ce1cc0 [IMP] New icon for agreement modules (svg file in agreement_legal) 2021-09-23 16:34:50 +05:30
Maxime Chambreuil
1351f55810 [FIX] agreement_maintenance: Element cannot be located in parent view 2021-09-23 16:34:50 +05:30
Maxime Chambreuil
16f9cc5b49 Apply suggestions from code review
Co-Authored-By: Bhavesh Odedra <bodedra@opensourceintegrators.com>
2021-09-23 16:34:50 +05:30
Maxime Chambreuil
775f35ed53 [FIX] agreement_maintenance: Fix Travis errors 2021-09-23 16:34:50 +05:30
Maxime Chambreuil
4494b623fe [IMP] agreement_maintenance: Link Equipments and Service Profiles 2021-09-23 16:34:50 +05:30
Murtuza Saleh
a4a6fb432c [MIG][12.0] agreement_maintenance 2021-09-23 16:34:50 +05:30
Maxime Chambreuil
976d05f858 [ADD] agreement_maintenance 2021-09-23 16:34:50 +05:30
Bhavesh Odedra
2306946447 [11.0][RM] agreement_maintenance module 2021-09-23 16:34:50 +05:30
OCA-git-bot
2a85b64f9a [UPD] README.rst 2021-09-23 16:34:50 +05:30
Bhavesh Odedra
cb9c4b8bc2 [ADD] agreement_maintenance 2021-09-23 16:34:50 +05:30
Vimal Patel
cdb08f844f [14.0][MIG]agreement_mrp: migrated to v14 2021-09-23 16:28:47 +05:30
Vimal Patel
fda02894fa [14.0][MIG]agreement_mrp: Travis 2021-09-23 16:28:47 +05:30
OCA-git-bot
749f80c5b2 agreement_mrp 12.0.1.0.1 2021-09-23 16:28:47 +05:30
Marcel Savegnago
64c84d574c [IMP] New icon for agreement modules (svg file in agreement_legal) 2021-09-23 16:28:47 +05:30
Murtuza Saleh
9a004bd4e8 [MIG][WIP][12.0] agreement_mrp 2021-09-23 16:28:47 +05:30
Maria Sparenberg
53ab91abd3 Added translation using Weblate (German) 2021-09-23 16:28:47 +05:30
Maxime Chambreuil
18da4ba7eb [IMP] Show stat even if 0 2021-09-23 16:28:47 +05:30
Sandip Mangukiya
98d2cd27d8 [ADD] agreement_stock 2021-09-23 16:28:47 +05:30
OCA-git-bot
3794ffcb2f [UPD] README.rst 2021-09-23 16:28:47 +05:30
Sandip Mangukiya
f67a9d4bd8 [ADD] agreement_mrp 2021-09-23 16:28:47 +05:30
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