Commit Graph

175 Commits

Author SHA1 Message Date
Pedro M. Baeza
00d71f96f5 [MIG][FIX] contract: Move contracts, but disable them
There were an error in previous query for moving only contracts with the mark checked,
but it's also more logic to move them, but remain them disabled.
2019-11-18 10:13:54 +01:00
OCA-git-bot
9d052558b9 contract 12.0.4.2.5 2019-11-14 14:03:06 +00:00
Sergio Teruel
e0ff2922ff [IMP] contract: Fix test crash with other modules 2019-11-14 13:43:58 +01:00
Bole
47a4b8e51a Translated using Weblate (Croatian)
Currently translated at 21.7% (46 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/hr/
2019-11-12 16:34:27 +00:00
Pedro M. Baeza
6b21d99c61 [MIG] contract: No contract on AA without recurring invoices flag
Don't transfer to contract those analytic accounts with the "Recurring invoicing" flag
unchecked.
2019-11-11 20:38:54 +01:00
OCA Transbot
2539ed1cbe Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
2019-10-30 23:29:58 +00:00
OCA-git-bot
d7b5d9cb9c contract 12.0.4.2.4 2019-10-30 23:29:45 +00:00
oca-travis
0618121577 [UPD] Update contract.pot 2019-10-30 23:10:27 +00:00
OCA-git-bot
04f1099f26 Merge PR #407 into 12.0
Signed-off-by pedrobaeza
2019-10-30 22:30:49 +00:00
OCA-git-bot
d8892bc25a contract 12.0.4.2.3 2019-10-30 22:11:11 +00:00
OCA-git-bot
f348ebe1be Merge PR #406 into 12.0
Signed-off-by rafaelbn
2019-10-30 21:16:15 +00:00
OCA-git-bot
fe92dfcb5f contract 12.0.4.2.2 2019-10-30 20:57:16 +00:00
OCA-git-bot
70cd128635 Merge PR #408 into 12.0
Signed-off-by pedrobaeza
2019-10-30 19:42:23 +00:00
OCA-git-bot
db3a48494b contract 12.0.4.2.1 2019-10-30 19:06:59 +00:00
sbejaoui
e1a399e14b [12.0][FIX] - contract company must be the same as the sale order
When creating a contract from a sale order the company must be the sale order
company and not the user company
2019-10-30 19:30:04 +01:00
sbejaoui
52675888da [12.0][FIX] - Fix contract partner label
the label Partner (always False) don't make any sens
2019-10-30 12:28:33 +01:00
sbejaoui
b9a3b14e30 [12.0][FIX] - Fix performance issue on contract line read
multi-company record rules on contract line causes performance issue
2019-10-30 10:59:09 +01:00
Josep M
73455b6d58 Translated using Weblate (Spanish)
Currently translated at 100.0% (212 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/es/
2019-10-30 01:33:57 +00:00
Rudolf Schnapka
8decb29a31 Translated using Weblate (German)
Currently translated at 99.1% (210 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/de/
2019-10-29 21:33:31 +00:00
sbejaoui
1b99fb6440 [12.0][FIX] - Fix contract report 2019-10-29 11:41:19 +01:00
OCA-git-bot
a70cacb353 contract 12.0.4.2.0 2019-10-26 00:59:28 +00:00
sbejaoui
161af46435 [IMP] - Add multi-company access rule for contract objects 2019-10-25 15:33:52 +02:00
Thomas Pot
c55e5f5214 Translated using Weblate (Dutch)
Currently translated at 98.1% (208 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/nl/
2019-10-23 21:32:52 +00:00
Pedro M. Baeza
656710b490 [MIG] contract: Create contract sequence for allowing to create records 2019-10-23 11:35:11 +02:00
黎伟杰
d3a7ea536b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (212 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/zh_CN/
2019-10-16 18:31:50 +00:00
Pedro M. Baeza
5538c264a8 [MIG] contract: Missing renaming of invoice link
Done through `oldname`.
2019-10-15 18:31:20 +02:00
Eder Brito
470dd05f11 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (212 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/pt_BR/
2019-10-10 20:36:55 +00:00
Albert Pons
0fe9e70228 Translated using Weblate (Catalan)
Currently translated at 61.3% (130 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/ca/
2019-10-10 16:37:04 +00:00
OCA-git-bot
7bac025a7a contract 12.0.4.1.0 2019-10-10 08:05:29 +00:00
OCA-git-bot
c34b664e98 Merge PR #391 into 12.0
Signed-off-by pedrobaeza
2019-10-10 07:42:27 +00:00
Albert Pons
bcfd08b5b5 Translated using Weblate (Catalan)
Currently translated at 60.4% (128 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/ca/
2019-10-09 18:37:02 +00:00
Enrique
87600e18bb [12.0][FIX] contract & contract_sale - security fix
The lowest model access for contract.contract model is group_account_invoice group. However the addon adds two smart buttons to res.partner view without any security restrictions and without compute_sudo attribute on computed fields.
This causes the view to crash when a user without the proper permissions tries to access the res.partner form view.
The solution adds groups_id to the partner form views in which the buttons are added, so the only loads when the user has proper permissions.
Other way to solve it would be to add compute_sudo attribute to the relevant fields, but this causes an access error when the user clicks on the smart buttons.
2019-10-09 17:03:51 +02:00
Maria Sparenberg
e1fe00cee9 Translated using Weblate (German)
Currently translated at 78.8% (167 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/de/
2019-10-09 13:36:39 +00:00
Pedro M. Baeza
19eccecfea [MIG] contract: Assign old partner's salesman to migrated contracts
As v11 takes salesman from linked partner and now the salesman is a field in the
contract that is initialized to current user, we need to assign to the recently
converted contracts following old logic, or they will have admin as responsible.
2019-10-09 00:51:49 +02:00
Lorenzo Battistini
0f87dad60e Translated using Weblate (Italian)
Currently translated at 96.2% (204 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/it/
2019-10-08 16:37:00 +00:00
Lorenzo Battistini
dfe1829b1b Translated using Weblate (Italian)
Currently translated at 50.0% (106 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/it/
2019-10-08 09:25:23 +00:00
OCA Transbot
8b8babc3e6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
2019-10-01 14:00:21 +00:00
oca-travis
1cb22ab072 [UPD] Update contract.pot 2019-10-01 14:00:07 +00:00
OCA-git-bot
ae1471b497 [UPD] README.rst 2019-10-01 05:50:45 +00:00
hparfr
dcda2a1980 Add commercial_partner_id fields into contract module
Remove string attribute
2019-09-24 09:56:11 +02:00
Pedro M. Baeza
316bc77735 [MIG+FIX] contract: Missing pieces for moving info from analytic account to contract 2019-09-18 19:36:21 +02:00
黎伟杰
2902c0355e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (211 of 211 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/zh_CN/
2019-09-17 18:24:06 +00:00
OCA Transbot
695c387e89 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
2019-09-14 14:05:03 +00:00
OCA-git-bot
3216c2a737 [UPD] README.rst 2019-09-14 14:04:51 +00:00
oca-travis
50eca2dcaa [UPD] Update contract.pot 2019-09-14 13:47:47 +00:00
Pedro M. Baeza
09d860ba17 [FIX+IMP+MIG] contract: Several refinements:
* Remove incorrect oldname attributes.
* Add filter on partners for running contracts (+ a support o2m field for that).
* Cover more tables in model renaming + cleaner code using a loop.
* Don't copy contract lines, but rename table + copy contract records on pre.
* Contract code is now populated to "Reference/Description" field in invoice.
* Order on new contract model has been restored to the same as old analytic accounts.
2019-09-14 14:34:02 +02:00
sbejaoui
d93139d147 [IMP] - Make one migration from 12.0.1 to 12.0.4
[RMV] - Remove empty file

[IMP] - Update no_update cron after migration

[IMP] - move contract template recurrence info to line level

[FIX] - Fix contract line model description

[IMP] - Link contracts to analytic accounts

[FIX] - Fix pylint

[IMP] - Move chatter and attachments from analytic account to contract

[IMP] - Move account_analytic_id to contract line level

[IMP] - Improve version check in migration script

[IMP] - Move contracts followers from analytic accounts

[ADD] - Add mail.activity.mixin to contract.contract model

remove data drop from migration scripts

[12.0][FIX] - Fix _init_last_date_invoiced

fix flake8

[ADD] - Update contributors list
2019-09-14 14:34:02 +02:00
Thomas Binsfeld
a429b10c20 [REF] Contract Sale Invoicing: split from analytic account
[REF] Contract Sale Invoicing: update translations

[IMP] - Assert that the predecessor is available for new link at uncancel

[RMV] - remove usless changes

[RMV] - Remove usless field recurring_invoices

after the total isolation between contract model and account analytic one.
recurring_invoices which was used to mark analytic account as contract became usless

[IMP] - P3 syntax

[IMP] - use @openupgrade.migrate() and openupgrade.logged_query

[IMP] - drop transient table in migration script
2019-09-14 14:34:02 +02:00
Thomas Binsfeld
da7826797c [REF] Contract: split from analytic account 2019-09-14 14:34:02 +02:00
Thomas Binsfeld
e167562a20 [REF] Contract: use context_today instead of time in filters 2019-09-14 14:34:02 +02:00