File: account.py

package info (click to toggle)
tryton-modules-account-stock-anglo-saxon 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 336 kB
  • ctags: 83
  • sloc: python: 460; xml: 53; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#This file is part of Tryton.  The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from trytond.pool import PoolMeta

__all__ = ['FiscalYear']
__metaclass__ = PoolMeta


class FiscalYear:
    __name__ = 'account.fiscalyear'

    @classmethod
    def __setup__(cls):
        super(FiscalYear, cls).__setup__()
        cls.account_stock_method.selection.append(
            ('anglo_saxon', 'Anglo-Saxon'))