【问题标题】:Tryton unable to add tax to the product templateTryton 无法向产品模板添加税金
【发布时间】:2015-04-22 21:44:36
【问题描述】:

我正在尝试使用 account-invoice 来创建账单,并且我已经成功地创建了一个税收和账户以及一个具有用户上下文的公司...按照 this example 但似乎当我将税收附加到产品模板并使用template.save() 保存模板我收到此错误。

UserError: ('UserError', (u'The value "32" of field "Tax" on "Product Template - Customer Tax" doesn\'t exist.', ''))

我尝试了很多东西,也尝试了 IRC...但找不到解决方案。

这是我得到的错误Traceback

【问题讨论】:

    标签: python tryton


    【解决方案1】:

    这是一个错误,没有正确保存在数据库中。我的税务实例没有正确保存在数据库中,因此我不得不面对这个问题。 我得到了 IRC 的帮助...

    【讨论】:

      猜你喜欢
      • 2022-08-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多