1
0
forked from erp-dev/erp

feat: sales return order and purchase return order

This commit is contained in:
2025-12-01 16:52:59 +08:00
parent a3b4af2602
commit fae33809ac
17 changed files with 1745 additions and 6 deletions

View File

@@ -34,4 +34,4 @@
## 5. 与采购/销售单的关系
- 继承相同的方向抽象(`get_direction()`),可与采购/销售的金额统计组合成统一的应收/应付报表。
- 不触发库存任务,也没有 `items`、仓库等字段;扩展字段(如付款方式、附件)可在此基础上继续添加。
- 采购退货 / 销售退货等复合单据在审批时会**同时**触发库存与余额写入,可视为采购/销售单 + 资金单据的组合;资金类单据仍需保持独立,以便单独统计资金流水。