[MERGE] *: create records in batch
Ensure main Odoo models supports batch record creation.
* `purchase.order.line` supports multi creation in `purchase`, but not anymore when `purchase_stock` is installed.
* `sale.order.line` supports multi creation in `sale`, but not anymore when `sale_purchase` is installed.
* `crm.lead` doesn't support batch creation atm, but it doesn't cost anything to support it.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
closes odoo/odoo#50468
Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
Showing
- addons/crm/models/crm_lead.py 5 additions, 5 deletionsaddons/crm/models/crm_lead.py
- addons/purchase_stock/models/purchase.py 5 additions, 6 deletionsaddons/purchase_stock/models/purchase.py
- addons/sale_purchase/models/sale_order.py 6 additions, 5 deletionsaddons/sale_purchase/models/sale_order.py
Loading
Please register or sign in to comment