Code styling

This commit is contained in:
Sergio Morillo 2017-06-01 17:47:35 +02:00
parent 83cf71a2de
commit 61336f39fd
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
from .productive_process import ProductiveProcess, WithinProductiveProcess,\
is_in_productive_process, PYSON_NULL_PROCESS
from .productive_process import (ProductiveProcess, is_in_productive_process,
WithinProductiveProcess, PYSON_NULL_PROCESS)
def register():
Pool.register(
ProductiveProcess,
module='productive_process', type_='model')
module='productive_process', type_='model')

View File

@ -47,4 +47,4 @@ class WithinProductiveProcess(Model):
processes = Process.search([])
if len(processes) == 1:
process_id = processes[0].id
return process_id
return process_id