Commit Graph

794 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
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
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