Code styling
This commit is contained in:
parent
83cf71a2de
commit
61336f39fd
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue