[FIX] stock: remove boolean widget on signature binary field
Before this commit: when writing something in signture field in stock.picking and enable signature field in listview throws traceback. After this commit: when signature field is set and enabling it in list view will not throw traceback, traceback was generated because boolean field was applied on Image field, to fix it simply remove boolean widget on signature field. task-2570929 closes odoo/odoo#72479 X-original-commit: 2679b6721f74ad26f790285855102a44e30fac71 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
<field name="location_id" options="{'no_create': True}" string="From" groups="stock.group_stock_multi_locations" optional="show"/>
|
||||
<field name="location_dest_id" options="{'no_create': True}" string="To" groups="stock.group_stock_multi_locations" optional="show"/>
|
||||
<field name="partner_id" optional="show"/>
|
||||
<field name="signature" string="Signed" optional="hide" widget="boolean" groups="stock.group_stock_sign_delivery"/>
|
||||
<field name="signature" string="Signed" optional="hide" groups="stock.group_stock_sign_delivery"/>
|
||||
<field name="user_id" optional="hide" widget="many2one_avatar_user"/>
|
||||
<field name="scheduled_date" optional="show" widget="remaining_days" attrs="{'invisible':[('state', 'in', ('done', 'cancel'))]}"/>
|
||||
<field name="date_deadline" optional="hide" widget="remaining_days" attrs="{'invisible':[('state', 'in', ('done', 'cancel'))]}"/>
|
||||
|
||||
Reference in New Issue
Block a user