Rejected: the rule pattern doesn't seem to be a good one.
In some cases, a company might want to have more control over the drop shipment mechanism than it is currently possible. For example, small quantities of product might be delivered from the company's warehouse but bigger orders should use the drop shipment feature provided by Tryton.
- Whether to apply or not drop shipping will be defined by rules
- Easily extensible with specific modules to take into account different shipment policies
Module name: 'sale_supply_drop_shipment_rules'
Those models were designed to mimic the Tax Rule mechanism that is already present. The first matching rule will define, per 'sale.line', whether or not the drop shipment mechanism is to be applied.
- 'name': char
- 'company': many2one to 'company.company'
- 'lines': one2many to 'sale.drop_shipment.rule.line'
- 'rule': many2one to 'sale.drop_shipment.rule'
- 'sequence': integer
- 'apply_drop_shipment': selection Yes / No
- 'drop_shipment_rule': many2one to 'sale.drop_shipment.rule'