Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于销售毛利的测试 #1902

Open
lonelyleaves opened this issue Aug 28, 2018 · 2 comments
Open

关于销售毛利的测试 #1902

lonelyleaves opened this issue Aug 28, 2018 · 2 comments

Comments

@lonelyleaves
Copy link

lonelyleaves commented Aug 28, 2018

操作系统及版本:
----ubuntu+gooderp

重现问题的步骤:

1.采购入库10个单价10,采购入库2个,单价15

2.销售12个单价20

3.退货5个,然后又退货7个

...

当前结果:

毛利是-54.15

截图:
image

正常应该毛利是0,同时demo测试的数据发现销售明细表没有该产品的销售数据

@lonelyleaves
Copy link
Author

这个问题的复现情况是如果这个销售单全退,销售成本是正确的,如果销售只有部分退货,那么销售成本就是0

@deng888529
Copy link

您好:请问这个gooderp如何在ubuntu下运行单元测试呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants