<commit_before># Mailrun Module
An Odoo/OpenERP module for facilitating ad-hoc sharing between nearby
warehouse locations.

## Overview

This module allows for sharing of stock between warehouses. Product quantities
on hand are calculated according to how much is available in all warehouses
that are being shared with the logged-in user's company warehouses. Stock gets
gets pulled from the "highest weighted" of those warehouses. Weights are
calculated as follows:

1pt  - Warehouse location's address record is the same as the stock location of
       the order's shop's warehouse's stock location address record.

2pts - Warehouse location record is the same as the order's shop's warehouse's
       stock location record.

4pts - Warehouse location has the item in stock.

In other words, delivery orders from sales will pull from whatever location has
the item in stock. If there are multiple locations that have the item in stock,
or if no location has the item in stock, it will pull from the order's shop's
warehouse's stock location. If somehow there are no warehouses belonging to the
logged-in user's company or shared with the user's company's warehouses which
have the item in stock or share a location record with the order's stock
location, it will pull from whichever of those warehouses share an address
record with the order's stock location's address record.<commit_msg>Made the points list a proper list.<commit_after># Mailrun Module
An Odoo/OpenERP module for facilitating ad-hoc sharing between nearby
warehouse locations.

## Overview

This module allows for sharing of stock between warehouses. Product quantities
on hand are calculated according to how much is available in all warehouses
that are being shared with the logged-in user's company warehouses. Stock gets
gets pulled from the "highest weighted" of those warehouses. Weights are
calculated as follows:

- 1pt: Warehouse location's address record is the same as the stock location of
       the order's shop's warehouse's stock location address record.

- 2pts: Warehouse location record is the same as the order's shop's warehouse's
       stock location record.

- 4pts: Warehouse location has the item in stock.

In other words, delivery orders from sales will pull from whatever location has
the item in stock. If there are multiple locations that have the item in stock,
or if no location has the item in stock, it will pull from the order's shop's
warehouse's stock location. If somehow there are no warehouses belonging to the
logged-in user's company or shared with the user's company's warehouses which
have the item in stock or share a location record with the order's stock
location, it will pull from whichever of those warehouses share an address
record with the order's stock location's address record.
{'fraction_non_alphanumeric': 0.03495007132667618, 'fraction_numerical': 0.0021398002853067048, 'mean_word_length': 4.510805500982318, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643525', 'n_tokens_mistral': 718, 'n_tokens_neox': 641, 'n_words': 425}