Release version 6.0

This commit is contained in:
Oscar 2021-05-29 13:50:50 -05:00
parent c960409043
commit d4ba195e14
4 changed files with 42 additions and 14 deletions

29
.gitignore vendored Normal file
View File

@ -0,0 +1,29 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/build
/dist
*egg-info
/node_modules
# testing
/coverage
# production
/build
# misc
.DS_Store
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock*
/__pycache__
/app/__pycache__
/app/commons/__pycache__

View File

@ -2,22 +2,21 @@
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
from .party import (Party, PartyPreference, PartyByCategory,
PartyByCategoryReport, PartyByCategoryStart)
from .nationality import Nationality
from .preference import Preference
from . import party
from . import nationality
from . import preference
def register():
Pool.register(
Nationality,
Preference,
Party,
PartyPreference,
PartyByCategoryStart,
nationality.Nationality,
preference.Preference,
party.Party,
party.PartyPreference,
party.PartyByCategoryStart,
module='party_personal', type_='model')
Pool.register(
PartyByCategory,
party.PartyByCategory,
module='party_personal', type_='wizard')
Pool.register(
PartyByCategoryReport,
party.PartyByCategoryReport,
module='party_personal', type_='report')

View File

@ -20,9 +20,9 @@ STATES = {
DEPENDS = ['active']
class Party:
__metaclass__ = PoolMeta
class Party(metaclass=PoolMeta):
__name__ = 'party.party'
birthday = fields.Date('Birthday')
age = fields.Function(fields.Integer('Age'), 'get_age')
city_born = fields.Char('City Born')

View File

@ -1,5 +1,5 @@
[tryton]
version=5.0.0
version=6.0.0
depends:
country
party