采购订单上有个字段“账单状态”,在值为“no”时,目前翻译叫“无需开单”, 觉得这个翻译不太合适,改为什么比较好呢?
-
采购订单上有个字段“账单状态”,在值为“no”时,目前翻译叫“无需开单”, 觉得这个翻译不太合适,改为什么比较好呢?
大问题没有,就是 容易误解,以为 这个采购订单 是无需开票的,

采购订单 purchase.order
状态(state): draft, sent, to approve, purchase, done, cancel
账单状态(invoice_status)及翻译: no---无须开单, to invoice---未收到账单, invoiced---已完全开单。计算 invoice_status 账单状态逻辑(依赖采购订单的state, 采购订单行的数量product_qty,已接收 (qty_received)-也就是收货数量,已开单(qty_invoiced)-也就是开票数量):
第一种情况:是根据订单状态判断
po的状态不是purchase 或 done--->invoice_status='no'
第二种情况:(订单状态是purchase/done的情况)
采购订单行比较数量(采购数量或收货数量,下面说明)跟开票数量:
筛选出没有显示类型display_type的订单行,如果开票数量<数量--->invoice_status='to invoice',任意一个是to invoice,po的账单状态是to invoice
筛选出没有显示类型display_type的订单行,如果开票数量>=数量--->invoice_status='invoiced',全部都是invoiced, po的账单状态就是invoiced
否则--->invoice_status='no'
说明:数量:如果设置的控制策略是订货数量,那么上述提到的数量是product_qty,;如果设置的控制策略是收到数量,那么上述提到的数量就是收到数量(qty_received)这个翻译 倒是不着急,目前 “按订单开票” 策略 下,分组前 先筛选 采购订单,采购订单中没有“无需开单”的 ,只有询价单状态才会出现“无需开单”;
如果开票 策略 是 按收货来,确认 采购订单后, 如果还没收货, 账单状态 是 no(目前翻译“无需开票”), 目前我是 不会用这个 策略,所以目前问题不大 ;
另外:控制策略如果是订货数量,原来的代码逻辑也不是太好,部分收货+部分开票后,这个账单状态 就 invoiced---已完全开单了,应该还是 to invoice比较好,或者增加个状态; Odoo15 runbot上测试也是如此。或者把 已完全开单 的翻译 改为 已开单 可能也就好了。 -
采购订单上有个字段“账单状态”,在值为“no”时,目前翻译叫“无需开单”, 觉得这个翻译不太合适,改为什么比较好呢?
大问题没有,就是 容易误解,以为 这个采购订单 是无需开票的,

采购订单 purchase.order
状态(state): draft, sent, to approve, purchase, done, cancel
账单状态(invoice_status)及翻译: no---无须开单, to invoice---未收到账单, invoiced---已完全开单。计算 invoice_status 账单状态逻辑(依赖采购订单的state, 采购订单行的数量product_qty,已接收 (qty_received)-也就是收货数量,已开单(qty_invoiced)-也就是开票数量):
第一种情况:是根据订单状态判断
po的状态不是purchase 或 done--->invoice_status='no'
第二种情况:(订单状态是purchase/done的情况)
采购订单行比较数量(采购数量或收货数量,下面说明)跟开票数量:
筛选出没有显示类型display_type的订单行,如果开票数量<数量--->invoice_status='to invoice',任意一个是to invoice,po的账单状态是to invoice
筛选出没有显示类型display_type的订单行,如果开票数量>=数量--->invoice_status='invoiced',全部都是invoiced, po的账单状态就是invoiced
否则--->invoice_status='no'
说明:数量:如果设置的控制策略是订货数量,那么上述提到的数量是product_qty,;如果设置的控制策略是收到数量,那么上述提到的数量就是收到数量(qty_received)这个翻译 倒是不着急,目前 “按订单开票” 策略 下,分组前 先筛选 采购订单,采购订单中没有“无需开单”的 ,只有询价单状态才会出现“无需开单”;
如果开票 策略 是 按收货来,确认 采购订单后, 如果还没收货, 账单状态 是 no(目前翻译“无需开票”), 目前我是 不会用这个 策略,所以目前问题不大 ;
另外:控制策略如果是订货数量,原来的代码逻辑也不是太好,部分收货+部分开票后,这个账单状态 就 invoiced---已完全开单了,应该还是 to invoice比较好,或者增加个状态; Odoo15 runbot上测试也是如此。或者把 已完全开单 的翻译 改为 已开单 可能也就好了。 -
D digitalsatori 将这个主题转为问答主题,在
-
D digitalsatori 将这个主题标记为已解决,在
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login