Tryton开源ERP系统windows安装笔记(二)

摘要

此篇为《Tryton开源ERP系统windows安装笔记》的第二篇,内容主要为Windows环境下的Tryton ERP客户端环境安装以及模块安装说明,Server端安装过程请参考《Tryton开源ERP系统windows安装笔记(一)

客户端环境准备

进行客户端环境安装时,确保已经按照第一篇中的内容,创建好客户端环境目录,如上篇中的:tryton-last,并且完成了python客户端目录下的python虚拟环境的创建,由于tryton客户端环境是基于GTK图形环境的,因此需要先安装msys2系统的gtk包以及python的gobject。

pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python3-gobject  mingw-w64-x86_64-python-cffi mingw-w64-x86_64-python-cryptography mingw-w64-x86_64-python-pillow mingw-w64-x86_64-python-levenshtein mingw-w64-x86_64-python-lxml

上述依赖包安装完成后即可安装tryton客户端环境。

# 启动python虚拟环境
source ./venv/bin/activate

#执行tryton客户端安装
pip install tryton

安装过程中如出现某些依赖报安装失败,可通过pacman进行补充安装后再执行tryton安装。

客户端启动和连接配置

tryton

程序正常启动后,会弹出如下窗口

第一次启动时,需要配置服务端连接参数,点击“Manage...”按钮,在配置界面依次维护如下:

其中

【Host】为服务端的ip和端口,本地环境默认为127.0.0.1:8000或根据第一篇中配置文件的内容填写,也可根据Server端启动日志中显示的内容填写。

【Database】在填写host后会自动带出,按默认带出的数据库即可

【Username】为系统中的用户,第一次需要使用admin管理员用户登陆

上述配置完成后,在登陆界面点击“Connect”按钮进行服务端的连接,正常连接后,进入如下界面:

输入管理员密码即可登陆系统。

至此,Tryton ERP系统的Server以及Client端的安装配置就完成了。Server端安装完成后,仅包含基础平台,并没有ERP的相关模块,如果希望使用官方提供的模块,可以在通过在服务端安装所需的模块。具体步骤如下:

ERP模块安装

Tryton的ERP模块也是通过python库进行管理的,官方发布的模块可以通过pip进行远程安装,也可通过下载源码进行本地安装。以下介绍通过pip安装的过程。

首先需要拿到模块清单,tryton的模块清单可以通过源码目录(https://foss.heptapod.net/tryton/tryton/-/tree/branch/default/trytond)下的modules目录获取,或者通过tryton产品下载链接(https://downloads.tryton.org/)中版本目录下的modules.txt获取。以下是6.8版本的modules清单

trytond_account
trytond_account_asset
trytond_account_be
trytond_account_budget
trytond_account_cash_rounding
trytond_account_consolidation
trytond_account_credit_limit
trytond_account_deposit
trytond_account_de_skr03
trytond_account_dunning
trytond_account_dunning_email
trytond_account_dunning_fee
trytond_account_dunning_letter
trytond_account_es
trytond_account_es_sii
trytond_account_eu
trytond_account_fr
trytond_account_fr_chorus
trytond_account_invoice
trytond_account_invoice_correction
trytond_account_invoice_defer
trytond_account_invoice_history
trytond_account_invoice_line_standalone
trytond_account_invoice_secondary_unit
trytond_account_invoice_stock
trytond_account_invoice_watermark
trytond_account_move_line_grouping
trytond_account_payment
trytond_account_payment_braintree
trytond_account_payment_clearing
trytond_account_payment_sepa
trytond_account_payment_sepa_cfonb
trytond_account_payment_stripe
trytond_account_product
trytond_account_receivable_rule
trytond_account_rule
trytond_account_statement
trytond_account_statement_aeb43
trytond_account_statement_coda
trytond_account_statement_mt940
trytond_account_statement_ofx
trytond_account_statement_rule
trytond_account_statement_sepa
trytond_account_stock_anglo_saxon
trytond_account_stock_continental
trytond_account_stock_eu
trytond_account_stock_landed_cost
trytond_account_stock_landed_cost_weight
trytond_account_stock_shipment_cost
trytond_account_stock_shipment_cost_weight
trytond_account_tax_cash
trytond_account_tax_non_deductible
trytond_account_tax_rule_country
trytond_analytic_account
trytond_analytic_budget
trytond_analytic_invoice
trytond_analytic_purchase
trytond_analytic_sale
trytond_attendance
trytond_authentication_saml
trytond_authentication_sms
trytond_bank
trytond_carrier
trytond_carrier_carriage
trytond_carrier_percentage
trytond_carrier_subdivision
trytond_carrier_weight
trytond_commission
trytond_commission_waiting
trytond_company
trytond_company_work_time
trytond_country
trytond_currency
trytond_currency_ro
trytond_currency_rs
trytond_customs
trytond_dashboard
trytond_edocument_uncefact
trytond_edocument_unece
trytond_google_maps
trytond_incoterm
trytond_ldap_authentication
trytond_marketing
trytond_marketing_automation
trytond_marketing_campaign
trytond_marketing_email
trytond_notification_email
trytond_party
trytond_party_avatar
trytond_party_relationship
trytond_party_siret
trytond_product
trytond_product_attribute
trytond_product_classification
trytond_product_classification_taxonomic
trytond_product_cost_fifo
trytond_product_cost_history
trytond_product_cost_warehouse
trytond_product_image
trytond_product_image_attribute
trytond_production
trytond_production_outsourcing
trytond_production_routing
trytond_production_split
trytond_production_work
trytond_production_work_timesheet
trytond_product_kit
trytond_product_measurements
trytond_product_price_list
trytond_product_price_list_dates
trytond_product_price_list_parent
trytond_project
trytond_project_invoice
trytond_project_plan
trytond_project_revenue
trytond_purchase
trytond_purchase_amendment
trytond_purchase_blanket_agreement
trytond_purchase_history
trytond_purchase_invoice_line_standalone
trytond_purchase_price_list
trytond_purchase_product_quantity
trytond_purchase_request
trytond_purchase_request_quotation
trytond_purchase_requisition
trytond_purchase_secondary_unit
trytond_purchase_shipment_cost
trytond_quality
trytond_sale
trytond_sale_advance_payment
trytond_sale_amendment
trytond_sale_blanket_agreement
trytond_sale_complaint
trytond_sale_credit_limit
trytond_sale_discount
trytond_sale_extra
trytond_sale_gift_card
trytond_sale_history
trytond_sale_invoice_date
trytond_sale_invoice_grouping
trytond_sale_opportunity
trytond_sale_payment
trytond_sale_point
trytond_sale_price_list
trytond_sale_product_customer
trytond_sale_product_quantity
trytond_sale_product_recommendation
trytond_sale_product_recommendation_association_rule
trytond_sale_promotion
trytond_sale_promotion_coupon
trytond_sale_promotion_coupon_payment
trytond_sale_secondary_unit
trytond_sale_shipment_cost
trytond_sale_shipment_grouping
trytond_sale_shipment_tolerance
trytond_sale_stock_quantity
trytond_sale_subscription
trytond_sale_subscription_asset
trytond_sale_supply
trytond_sale_supply_drop_shipment
trytond_sale_supply_production
trytond_stock
trytond_stock_assign_manual
trytond_stock_consignment
trytond_stock_forecast
trytond_stock_inventory_location
trytond_stock_location_move
trytond_stock_location_sequence
trytond_stock_lot
trytond_stock_lot_sled
trytond_stock_lot_unit
trytond_stock_package
trytond_stock_package_shipping
trytond_stock_package_shipping_dpd
trytond_stock_package_shipping_mygls
trytond_stock_package_shipping_sendcloud
trytond_stock_package_shipping_ups
trytond_stock_product_location
trytond_stock_quantity_early_planning
trytond_stock_quantity_issue
trytond_stock_secondary_unit
trytond_stock_shipment_cost
trytond_stock_shipment_cost_weight
trytond_stock_shipment_measurements
trytond_stock_split
trytond_stock_supply
trytond_stock_supply_day
trytond_stock_supply_forecast
trytond_stock_supply_production
trytond_timesheet
trytond_timesheet_cost
trytond_user_role
trytond_web_shop
trytond_web_shop_shopify
trytond_web_shop_vue_storefront
trytond_web_shop_vue_storefront_stripe
trytond_web_shortener
trytond_web_user

其中模块名字为trytond_【源码modules目录的目录名】,将上述清单保存为文本文件,如:trytond_modules.txt,通过pip进行批量安装:

pip install -r trytond_modules.txt

模块安装完成后,执行数据库更新升级

trytond-admin -c /home/tryton/trytond.conf  -d  tryton --all


至此,TrytonERP在Windows环境下的的全部安装过程就完成了。如需demo数据,请转到https://www.tryton.org/~demo/获取postgresql版本的数据库备份数据。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值