Compare commits
2 Commits
e130ae7f9d
...
8.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ad6f9965b | |||
| f4b99e0ea9 |
39
__init__.py
39
__init__.py
@@ -1,39 +0,0 @@
|
|||||||
# This file is part of the sale_payment module for 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 . import device
|
|
||||||
from . import sale
|
|
||||||
from . import statement
|
|
||||||
from . import user
|
|
||||||
from . import configuration_statement
|
|
||||||
|
|
||||||
|
|
||||||
def register():
|
|
||||||
Pool.register(
|
|
||||||
statement.Journal,
|
|
||||||
statement.Statement,
|
|
||||||
statement.Line,
|
|
||||||
statement.StatementLine,
|
|
||||||
statement.LinesInvoiceToPay,
|
|
||||||
device.SaleDevice,
|
|
||||||
user.User,
|
|
||||||
device.SaleDeviceStatementJournal,
|
|
||||||
sale.Sale,
|
|
||||||
sale.SalePaymentForm,
|
|
||||||
sale.ChangePaymentMethodForm,
|
|
||||||
statement.OpenStatementStart,
|
|
||||||
statement.OpenStatementDone,
|
|
||||||
statement.CloseStatementStart,
|
|
||||||
statement.CloseStatementDone,
|
|
||||||
statement.PayInvoiceSupplierStart,
|
|
||||||
configuration_statement.Configuration,
|
|
||||||
module='sale_payment', type_='model')
|
|
||||||
Pool.register(
|
|
||||||
sale.WizardSalePayment,
|
|
||||||
sale.ChangePaymentMethod,
|
|
||||||
sale.WizardSaleReconcile,
|
|
||||||
statement.OpenStatement,
|
|
||||||
statement.CloseStatement,
|
|
||||||
statement.PayInvoiceSupplier,
|
|
||||||
module='sale_payment', type_='wizard')
|
|
||||||
|
|||||||
30
tryton.cfg
30
tryton.cfg
@@ -1,5 +1,5 @@
|
|||||||
[tryton]
|
[tryton]
|
||||||
version=7.6.0
|
version=8.0.0
|
||||||
depends:
|
depends:
|
||||||
account_statement
|
account_statement
|
||||||
sale_shop
|
sale_shop
|
||||||
@@ -9,3 +9,31 @@ xml:
|
|||||||
sale.xml
|
sale.xml
|
||||||
user.xml
|
user.xml
|
||||||
message.xml
|
message.xml
|
||||||
|
|
||||||
|
[register]
|
||||||
|
model:
|
||||||
|
statement.Journal
|
||||||
|
statement.Statement
|
||||||
|
statement.Line
|
||||||
|
statement.StatementLine
|
||||||
|
statement.LinesInvoiceToPay
|
||||||
|
device.SaleDevice
|
||||||
|
user.User
|
||||||
|
device.SaleDeviceStatementJournal
|
||||||
|
sale.Sale
|
||||||
|
sale.SalePaymentForm
|
||||||
|
sale.ChangePaymentMethodForm
|
||||||
|
statement.OpenStatementStart
|
||||||
|
statement.OpenStatementDone
|
||||||
|
statement.CloseStatementStart
|
||||||
|
statement.CloseStatementDone
|
||||||
|
statement.PayInvoiceSupplierStart
|
||||||
|
configuration_statement.Configuration
|
||||||
|
|
||||||
|
wizards:
|
||||||
|
sale.WizardSalePayment
|
||||||
|
sale.ChangePaymentMethod
|
||||||
|
sale.WizardSaleReconcile
|
||||||
|
statement.OpenStatement
|
||||||
|
statement.CloseStatement
|
||||||
|
statement.PayInvoiceSupplier
|
||||||
|
|||||||
Reference in New Issue
Block a user