73235ad6aeb1dadf12fbfd3db05a1e4c06de9314
Before this commit, when creating a PO line with a description that was long enough (~2712 bytes long) and then confirming the PO, a traceback would pop up with an error from postgres "index row size exceeds maximum". This is because when confirming a PO, a stock.move is created with a stock.move.line mirroring the purchase.order.line, however the "name" field on stock.move.line is indexed (whereas the purchase.order.line is not), thus triggering the aforementioned error. This commit solves this issue by truncating the name field on the stock.move.line to 2000 bytes (for simplicity's sake) upon creation. Fixes #33549 closes odoo/odoo#33607 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%