摘要:
配置文件位置 # vi /boot/grub/grub.cfg if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else 阅读全文
摘要:
使用route_sequence, sequence进行排序,并取第一个值 源代码如下: def _search_rule(self, route_ids, product_id, warehouse_id, domain): """ First find a rule among the ones 阅读全文
摘要:
最近有需求需要调用库存补货规则,流程稍微有点复杂,在这里简单整理下 # 1. 订单确认调用 @api.multi def _action_confirm(self): for order in self: order.order_line._action_launch_stock_rule() # 阅读全文