django-grappelli 和 django-brookie 一起导致发票和报价项目不会自动总计
我有一个非常具体的问题。 我有一个 django 项目正在运行应用程序 django-brookie。 一切都很好。 此后,我将 django-grappelli 添加到我的项目中,除了一个小问题外,一切正常事物。
如果您创建新的发票或报价,它会自动以您的货币计算金额。这不再起作用了,我真的不明白为什么。也许 brookie 的 javascript 与 grappelli 的 javascript 发生冲突?
欢迎任何建议,如果您需要更多信息,请询问。
这是项目的屏幕截图。当我以分钟为单位输入时间时,它会在没有 grappelli 的情况下总计:
在这里,您可以看到当我输入时间时,它没有不加总任何东西。正如您在屏幕截图中看到的那样,这有 grappelli:
I have a very specific problem.
I had a django project which was running the application django-brookie.
Everything worked fine.
I have since added django-grappelli to my project and everything works except for one small thing.
If you create a new invoice or quote it should total up the amount in your currency automatically. This is not working anymore and I really can't figure out why. Perhaps something with brookie's javascript clashing with grappelli's javascript?
Any suggestions welcome and if you need more info just ask.
Here is a screenshot of the items. When I place time in minutes it totals up without grappelli:
Here you can see when I put in my time it doesn't total up anything. This has grappelli as you can see in the screenshot:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Pinda django-brookie 的开发人员非常友善地帮助了我。现在,对 brookie.js 文件的更新将为任何想要让 django-grappelli 和 django-brookie 一起运行的人解决这个问题。
目前,您必须执行 git clone 或 pull 才能获取更改。
pinda a developer on the django-brookie very kindly helped me out. The update to the brookie.js file will now fix that problem for whoever wants to have django-grappelli and django-brookie running together.
Currently you have to do a git clone or pull to get the changes.