35b778590a00f35284422dcddc748a429dcc348c
For signature field widget, we can set 'full_name' node option, which can be used to auto fill the sign. However, current implementation for getting data for field provided in 'full_name' (mainly, a string) has some flaws. For example : -In case of m2o fields, the string is not properly fetched due to different structure than regular 'input' fields - In case of x2m views inside a form view, field with same name can exist in both parent record and child records. This is already the case with form view of res.partner, where 'phone' field is there in both parent's form as well as children's kanban view (for field 'child_ids'). With current implementation, if we add signature on the form view, and set 'phone' as 'full_name' node option, instead of form view, we will get phone number from 'child_ids'. This commit improves the behavior by getting data from the 'recordData' instead of searching them from the DOM. To have recordData in it's latest state, we've set 'resetOnAnyFieldChange' flag to true. task-1948364 closes odoo/odoo#33105 Signed-off-by: Martin Geubelle (mge) <mge@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%