Changeset 6143664 in theo


Ignore:
Timestamp:
07/06/20 21:18:09 (6 weeks ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
138f167
Parents:
433ab27
Message:

Use some CORE-specific views, when that integration is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • theo/web/views/__init__.py

    r433ab27 r6143664  
    4444    config.include('tailbone.views.email')
    4545    config.include('tailbone.views.messages')
    46     config.include('tailbone.views.members')
    47     config.include('tailbone.views.people')
    4846    config.include('tailbone.views.reportcodes')
    4947    config.include('tailbone.views.roles')
    5048    config.include('tailbone.views.settings')
    51     config.include('tailbone.views.subdepartments')
    5249    config.include('tailbone.views.users')
    5350
     
    5653        config.include('tailbone_onager.views.stores')
    5754        config.include('tailbone_onager.views.customers')
     55        config.include('tailbone.views.members')
    5856        config.include('tailbone_onager.views.employees')
     57        config.include('tailbone.views.people')
    5958        config.include('tailbone_onager.views.taxes')
    6059        config.include('tailbone_onager.views.departments')
     60        config.include('tailbone.views.subdepartments')
    6161        config.include('tailbone_onager.views.brands')
    6262        config.include('tailbone_onager.views.vendors')
     
    6767    elif integrate_corepos(rattail_config):
    6868        config.include('tailbone.views.stores')
    69         config.include('tailbone.views.customers')
     69        config.include('tailbone_corepos.views.customers')
     70        config.include('tailbone_corepos.views.members')
    7071        config.include('tailbone.views.employees')
     72        config.include('tailbone_corepos.views.people')
    7173        config.include('tailbone.views.taxes')
    72         config.include('tailbone.views.departments')
     74        config.include('tailbone_corepos.views.departments')
     75        config.include('tailbone_corepos.views.subdepartments')
    7376        config.include('tailbone.views.brands')
    74         config.include('tailbone.views.vendors')
    75         config.include('tailbone.views.products')
     77        config.include('tailbone_corepos.views.vendors')
     78        config.include('tailbone_corepos.views.products')
    7679        config.include('tailbone_corepos.views.corepos')
    7780
     
    7982        config.include('tailbone.views.stores')
    8083        config.include('tailbone.views.customers')
     84        config.include('tailbone.views.members')
    8185        config.include('tailbone.views.employees')
     86        config.include('tailbone.views.people')
    8287        config.include('tailbone.views.taxes')
    8388        config.include('tailbone.views.departments')
     89        config.include('tailbone.views.subdepartments')
    8490        config.include('tailbone.views.brands')
    8591        config.include('tailbone.views.vendors')
Note: See TracChangeset for help on using the changeset viewer.