-
- Downloads
[FIX] website_sale: prevent changing name when invoiced are issued
/my/account controller blocks name/vat/company_name updating if there are issued invoices. However Before this commit, user can change name via /shop/address page STEPS 1/ install sales, eCommerce,inventory,Accounting 2/ create a sales order from the portal page, validate and create an invoice from SO and post it 3/ Try to change the name from the Portal > Account Result - not possible = correct 4/ Place a new SO by the same portal user and edit the name on the address before proceeding to checkout [1]: https://github.com/odoo/odoo/blob/1f49528a4b198e8912beb33be921d2855c694e2e/addons/account/controllers/portal.py#L111-L113 opw-2848251 closes odoo/odoo#97686 Signed-off-by:William Braeckman (wbr) <wbr@odoo.com>
Showing
- addons/website_sale/controllers/main.py 7 additions, 0 deletionsaddons/website_sale/controllers/main.py
- addons/website_sale/i18n/website_sale.pot 8 additions, 0 deletionsaddons/website_sale/i18n/website_sale.pot
- addons/website_sale/tests/test_sale_process.py 2 additions, 0 deletionsaddons/website_sale/tests/test_sale_process.py
Loading
Please register or sign in to comment