Remove accounts from products
The edition of accounting categories are limited to accounting administrators. If a product does not have an accounting category, the default value defined on the configuration are used. issue3805 review45111002
This commit is contained in:
1 parent
4344dc7c08
commit
dc6e017e2d
12 files changed
+91
-409
No files matched your search
+12
-16
@@ -2,28 +2,24 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from .product import *
|
||||
from .configuration import *
|
||||
from . import product
|
||||
from . import configuration
|
||||
from . import account
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
ProductConfiguration,
|
||||
Category,
|
||||
CategoryAccount,
|
||||
CategoryCustomerTax,
|
||||
CategorySupplierTax,
|
||||
product.Category,
|
||||
product.CategoryAccount,
|
||||
product.CategoryCustomerTax,
|
||||
product.CategorySupplierTax,
|
||||
account.CreateChartProperties,
|
||||
Template,
|
||||
TemplateAccount,
|
||||
TemplateCustomerTax,
|
||||
TemplateSupplierTax,
|
||||
Product,
|
||||
TemplateAccountCategory,
|
||||
TemplateCategoryAll,
|
||||
Configuration,
|
||||
ConfigurationDefaultAccount,
|
||||
product.Template,
|
||||
product.Product,
|
||||
product.TemplateAccountCategory,
|
||||
product.TemplateCategoryAll,
|
||||
configuration.Configuration,
|
||||
configuration.ConfigurationDefaultAccount,
|
||||
module='account_product', type_='model')
|
||||
Pool.register(
|
||||
account.CreateChart,
|
||||
|
||||
Reference in new issue
Block a user