Denis Roussel
bef7151301
contract: Use Odoo conventions for methods
2022-06-22 11:23:07 +02:00
Denis Roussel
de8f06b11f
contract: Simplify test flow
2022-06-22 11:23:07 +02:00
Denis Roussel
ead1856b75
contract: Update button visibility
2022-06-22 11:23:07 +02:00
Denis Roussel
fe74c86f28
contract: Add generation_type field
2022-06-22 11:23:07 +02:00
Denis Roussel
eedcdcd3d7
contract: Set visibility on button to show invoices
2022-06-22 11:23:07 +02:00
Denis Roussel
ce38e335fa
contract: Allows to get several functions to create recurring documents
2022-06-22 11:23:07 +02:00
Denis Roussel
a161a88387
contract: Add a generation type on contract
...
Add a generation type on contract that allows to generate other
document than invoice (e.g. sale order)
2022-06-22 11:23:07 +02:00
Denis Roussel
92e551cd22
contract: Improve tests
...
Adds multi company tests
2022-06-22 11:23:07 +02:00
Denis Roussel
ec3f251494
contract: Improve invoice generation through cron
...
Avoid too much sql queries by iterating on first search
Avoid performances problems through invoices ids isntead
of recordset
2022-06-22 11:23:07 +02:00
OCA-git-bot
02d2158933
contract 15.0.1.2.1
2022-05-24 08:12:52 +00:00
mariadforgeflow
61aad938df
[FIX] contract: add default_move_type in context
2022-05-24 09:59:20 +02:00
Ediz Duman
ddbcb94675
Translated using Weblate (Turkish)
...
Currently translated at 91.0% (285 of 313 strings)
Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/tr/
2022-04-20 14:05:19 +00:00
Ediz Duman
90490d97aa
Translated using Weblate (Turkish)
...
Currently translated at 81.4% (255 of 313 strings)
Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/tr/
2022-04-20 01:05:28 +00:00
juliap98
4bf1fecdb0
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (313 of 313 strings)
Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/ca/
2022-04-07 14:05:10 +00:00
oca-git-bot
636b6bc859
[IMP] update dotfiles [ci skip]
2022-03-30 22:07:30 +02:00
OCA-git-bot
62344ec153
contract 15.0.1.2.0
2022-03-11 15:17:35 +00:00
Denis Roussel
d0b353a917
contract: Add comment to remind updating method in next version
2022-03-09 09:55:08 +01:00
Denis Roussel
7736b823ff
contract: simplify compute as False values are already taken into account
...
In get_next_invoice_date, False values are already taken into account, so, simplifying
compute_recurring_next_date function.
2022-03-09 09:55:08 +01:00
Denis Roussel
730b832466
contract: Compute recurring_next_date for False values too
2022-03-09 09:55:08 +01:00
Denis Roussel
5062dd6e6e
contract: Don't update recurring_next_date as computed
2022-03-09 09:55:08 +01:00
Ignacio Buioli
cf29e65936
Translated using Weblate (Spanish (Argentina))
...
Currently translated at 100.0% (313 of 313 strings)
Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
2022-02-26 17:17:02 +00:00
Noel estudillo
adef33e263
Translated using Weblate (Catalan)
...
Currently translated at 96.8% (303 of 313 strings)
Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/ca/
2022-02-25 13:17:04 +00:00
OCA Transbot
4add11dec4
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/
2022-02-21 07:21:00 +00:00
OCA-git-bot
08bad7c779
contract 15.0.1.1.1
2022-02-21 07:20:40 +00:00
oca-ci
15b7e8a954
[UPD] Update contract.pot
2022-02-21 07:16:31 +00:00
Jean-Charles Drubay
4a73cbbe2b
ADJ: When generating invoices from the Wizard to create invoices manually, reraise any UserError with information about which contract triggered the exception to facilitate the investigation by accountants in case invoices are not generated automatically.
2022-02-18 08:09:30 +01:00
OCA-git-bot
19cd949384
contract 15.0.1.1.0
2022-02-02 16:30:10 +00:00
oca-ci
425f7c994a
[UPD] Update contract.pot
2022-02-02 16:26:51 +00:00
Víctor Martínez
e76277db5d
[IMP] contract: Add discount + price_subtotal fields to the contract lines in the portal view.
...
TT34117
2022-02-02 13:34:56 +01:00
OCA-git-bot
21cf450426
contract 15.0.1.0.2
2022-01-25 17:57:46 +00:00
OCA-git-bot
75b8f173af
[UPD] README.rst
2022-01-25 17:57:45 +00:00
Joan Mateu Jordi
4850dd205c
[15.0][IMP] modify production beta to stable
2022-01-25 11:04:13 +01:00
OCA-git-bot
6c46c19de9
contract 15.0.1.0.1
2021-12-16 10:28:48 +00:00
manu
27700a9e0e
[FIX] contract: Avoid error in invoicing contracts crone
2021-12-16 10:24:02 +01:00
OCA-git-bot
8880f08a1c
[UPD] README.rst
2021-11-26 12:34:39 +00:00
oca-ci
a44c27fd81
[UPD] Update contract.pot
2021-11-26 12:30:35 +00:00
Jean-Charles Drubay
119b5b6700
[MIG] contract: Migration to 15.0
...
Most changes are related to the switch from jinja to qweb in mail templates.
Also included:
- convert deprecated onchange that returns a domain and other deprecation warnings
(see below)
- Add migration scripts from version 14.0 (force the update of the mail templates)
- Fix warnings from pre-commit checks
Fixes depreciation warnings:
- onchange method ContractAbstractContractLine._onchange_product_id returned
a domain, this is deprecated
- SavepointCase is deprecated:
https://github.com/odoo/odoo/blob/15.0/odoo/tests/common.py#L742
- assertDictContainsSubset: According to:
https://stackoverflow.com/questions/20050913/python-unittests-assertdictcontainssubset-recommended-alternative
2021-11-09 10:08:29 +07:00
Jean-Charles Drubay
7537451d2f
[IMP] contract: black, isort, prettier
2021-11-09 10:08:29 +07:00
Pedro Castro Silva
511c637d47
Translated using Weblate (Portuguese)
...
Currently translated at 80.4% (247 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/pt/
2021-11-09 10:08:29 +07:00
pere-aquarian
cb261311db
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-11-09 10:08:29 +07:00
OCA-git-bot
68d248518f
contract 14.0.1.2.3
2021-11-09 10:08:29 +07:00
João Marques
992cac4deb
[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-11-09 10:08:29 +07:00
OCA-git-bot
a0ab18e381
contract 14.0.1.2.2
2021-11-09 10:08:29 +07:00
Alexis de Lattre
a60709e1bd
[FIX] contract: fix an obvious crash when self is a multi-recordset
2021-11-09 10:08:29 +07:00
Ediz Duman
5add2e225f
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-11-09 10:08:29 +07:00
Pedro M. Baeza
4d1a3b31c5
[FIX] contract: Cleanup values on line when invoicing
...
It seems that having several fields returned by `Form` as `False` that
are related to one2many inverse field, makes Odoo ORM mad, and get to
an unbalanced move when generating the invoice.
Cleaning these values assures to work without problems.
Not able to provide a regression test, as I don't get to reproduce the
conditions to happen in test environment, but the patch is safe and
harmless anyways.
TT30842
2021-11-09 10:08:29 +07:00
Ignacio Buioli
32db8d38f4
Translated using Weblate (Spanish (Argentina))
...
Currently translated at 100.0% (307 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/es_AR/
2021-11-09 10:08:29 +07:00
OCA Transbot
23bfb94381
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/
2021-11-09 10:08:29 +07:00
OCA-git-bot
680c93e33f
contract 14.0.1.2.0
2021-11-09 10:08:29 +07:00
Ignacio Buioli
77f3613c82
Translated using Weblate (Spanish (Argentina))
...
Currently translated at 100.0% (306 of 306 strings)
Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/es_AR/
[UPD] Update contract.pot
2021-11-09 10:08:26 +07:00