Thursday, April 29, 2021
3 changes · master
Enhancements to existing features
This update improves how sample data is generated for products, price lists, stock, and sales orders. It helps teams test and demonstrate business flows with richer, more realistic records, including product categories, variants, pricing, and sales order lines.
Original PR description
[IMP] product: product_* population - Improve product.product & product category population: Add "random" types, prices, and product categories to product. Specify some product categories as children of others (populate the `parent_id` field). - Provide product template and product attributes population - product pricelist population [IMP] sale: add populate Add populate script for the `sale.order` and `sale.order.line`. task-2446266 closes #50566 Co-authored-by: Feyensv <vfe@odoo.com>
This update improves how sample databases are populated with more realistic product categories, prices, variants, pricelists, and sales orders. It helps teams test and demonstrate product, sales, and stock workflows with data that better reflects real business scenarios.
Original PR description
* `categ_id` randomly generated `product_category` * storable products (`type="product"`) * `product.category` with parent category * `list_price` wasn't defined on generated `product.product` * Added population for: * `product.pricelist` * sale (sale.order, sale.order.line) * product attributes (and values), product variants (template with multiple attribute lines), pricelists -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update replaces older raw content rendering with safer output handling across reports, portal pages, emails, and website templates. It helps reduce the risk of incorrectly displayed or unsafe content while preserving existing business documents and customer-facing pages.
Original PR description
enterprise side of odoo/odoo#68072 Replaces python-side `t-raw` by `t-out`, marks values as markup-safe where found necessary.