Compare commits
2 Commits
MacheteCal
...
8.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
| c7efae9297 | |||
| bf537eadaf |
28
__init__.py
28
__init__.py
@@ -1,28 +0,0 @@
|
||||
from trytond.pool import Pool
|
||||
from . import (
|
||||
product, sale, production, invoice, user, report_close_statement, report)
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
product.Product,
|
||||
invoice.InvoiceLine,
|
||||
sale.Sale,
|
||||
sale.Line,
|
||||
sale.SaleLineDeletedLog,
|
||||
user.User,
|
||||
production.Production,
|
||||
report_close_statement.ReportCloseStatementStart,
|
||||
report.ReportSaleProduct,
|
||||
report.ReportSaleByUser,
|
||||
report.ReportSaleByZone,
|
||||
report.ReportSaleContext,
|
||||
module='sale_fast_food', type_='model')
|
||||
Pool.register(
|
||||
report_close_statement.PrintReportCloseStatement,
|
||||
module='sale_fast_food', type_='wizard')
|
||||
Pool.register(
|
||||
report_close_statement.CashRegister,
|
||||
module='sale_fast_food', type_='report')
|
||||
|
||||
23
tryton.cfg
23
tryton.cfg
@@ -1,5 +1,5 @@
|
||||
[tryton]
|
||||
version=7.6.0
|
||||
version=8.0.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
@@ -19,3 +19,24 @@ xml:
|
||||
user.xml
|
||||
report_close_statement.xml
|
||||
report.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
product.Product
|
||||
invoice.InvoiceLine
|
||||
sale.Sale
|
||||
sale.Line
|
||||
sale.SaleLineDeletedLog
|
||||
user.User
|
||||
production.Production
|
||||
report_close_statement.ReportCloseStatementStart
|
||||
report.ReportSaleProduct
|
||||
report.ReportSaleByUser
|
||||
report.ReportSaleByZone
|
||||
report.ReportSaleContext
|
||||
|
||||
wizards:
|
||||
report_close_statement.PrintReportCloseStatement
|
||||
|
||||
report:
|
||||
report_close_statement.CashRegister
|
||||
|
||||
Reference in New Issue
Block a user