[FIX] contract: Handle properly multi-company setups

If you have contracts in several companies, cron will create all of them, but
property fields will be populated with incorrect data as the taken company is
the main from the cron user (usually admin).
This commit is contained in:
Pedro M. Baeza
2020-01-08 17:18:28 +01:00
committed by Jean-Charles Drubay
parent e8fe1ecf21
commit 0108df7782
4 changed files with 25 additions and 19 deletions

View File

@@ -9,7 +9,7 @@
{
'name': 'Recurring - Contracts Management',
'version': '12.0.5.1.3',
'version': '12.0.5.2.0',
'category': 'Contract Management',
'license': 'AGPL-3',
'author': "OpenERP SA, "