pyflakes fixed
This commit is contained in:
parent
e527a166e5
commit
0e019c9aa3
|
@ -6,6 +6,5 @@ include CHANGELOG
|
|||
include LICENSE
|
||||
include tryton.cfg
|
||||
include *.xml
|
||||
include *.odt
|
||||
include locale/*.po
|
||||
include doc/*
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# This file is part of subscription module of Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from .subscription import *
|
||||
|
||||
|
|
8
setup.py
8
setup.py
|
@ -1,13 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
# This file is part of subscription module of Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from setuptools import setup
|
||||
import re
|
||||
import os
|
||||
import ConfigParser
|
||||
|
||||
|
||||
def read(fname):
|
||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# This file is part of subscription module of Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
|
||||
from ...config import CONFIG
|
||||
from datetime import datetime
|
||||
from trytond.model import ModelView, ModelSQL, fields
|
||||
|
@ -23,6 +22,7 @@ STATES = {
|
|||
}
|
||||
DEPENDS = ['state']
|
||||
|
||||
|
||||
class SubscriptionSubscription(ModelSQL, ModelView):
|
||||
'Subscription'
|
||||
__name__ = 'subscription.subscription'
|
||||
|
|
|
@ -4,7 +4,6 @@ The COPYRIGHT file at the top level of this repository contains the full
|
|||
copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
|
||||
<record model="res.group" id="group_subscription_admin">
|
||||
<field name="name">Subscription Administration</field>
|
||||
</record>
|
||||
|
@ -20,7 +19,7 @@ copyright notices and license terms. -->
|
|||
<menuitem name="Subscription" id="menu_main_subscription"
|
||||
parent="ir.menu_administration"/>
|
||||
|
||||
<!-- subscription.subscription -->
|
||||
<!-- subscription.subscription -->
|
||||
<record model="ir.ui.view" id="subscription_subscription_view_tree">
|
||||
<field name="model">subscription.subscription</field>
|
||||
<field name="type">tree</field>
|
||||
|
@ -144,7 +143,7 @@ copyright notices and license terms. -->
|
|||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
|
||||
<!-- subscription.line -->
|
||||
<!-- subscription.line -->
|
||||
<record model="ir.ui.view" id="subscription_line_view_tree">
|
||||
<field name="model">subscription.line</field>
|
||||
<field name="type">tree</field>
|
||||
|
@ -210,8 +209,7 @@ copyright notices and license terms. -->
|
|||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- subscription.history -->
|
||||
<!-- subscription.history -->
|
||||
<record model="ir.ui.view" id="subscription_history_view_tree">
|
||||
<field name="model">subscription.history</field>
|
||||
<field name="type">tree</field>
|
||||
|
@ -284,6 +282,5 @@ copyright notices and license terms. -->
|
|||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
# This file is part of subscription module of Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from .test_subscription import suite
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
# This file is part of subscription module of Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
|
Loading…
Reference in New Issue