fix(fusion_plating_jobs): commit res_users_views.xml referenced by manifest but never added
The jobs __manifest__.py data list references views/res_users_views.xml (Plating Signature pad on the user preferences + full user form), and the file was deployed live to entech, but it was never `git add`ed — so the committed manifest pointed at a file absent from the repo. Fresh installs / CI (and any clean-checkout deploy) failed with `FileNotFoundError: .../fusion_plating_jobs/views/res_users_views.xml`. Retrieved the live file from entech and committed it as-is. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
39
fusion_plating/fusion_plating_jobs/views/res_users_views.xml
Normal file
39
fusion_plating/fusion_plating_jobs/views/res_users_views.xml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<!--
|
||||||
|
Add a plating-signature pad to the user preferences dialog.
|
||||||
|
Anchors on the existing HTML 'signature' field (email signature)
|
||||||
|
and adds our binary image-signature right after it. The
|
||||||
|
widget="signature" gives finger / mouse drawing + image upload.
|
||||||
|
-->
|
||||||
|
<record id="view_users_preferences_form_fp_signature" model="ir.ui.view">
|
||||||
|
<field name="name">res.users.preferences.form.fp.signature</field>
|
||||||
|
<field name="model">res.users</field>
|
||||||
|
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='signature']" position="after">
|
||||||
|
<field name="x_fc_signature_image"
|
||||||
|
widget="signature"
|
||||||
|
string="Plating Signature"
|
||||||
|
options="{'full_name': 'name'}"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- Same field on the full user form (Settings > Users) so admins
|
||||||
|
can review or seed signatures for operators who aren't tech-
|
||||||
|
savvy enough to do it themselves. -->
|
||||||
|
<record id="view_users_form_fp_signature" model="ir.ui.view">
|
||||||
|
<field name="name">res.users.form.fp.signature</field>
|
||||||
|
<field name="model">res.users</field>
|
||||||
|
<field name="inherit_id" ref="base.view_users_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='signature']" position="after">
|
||||||
|
<field name="x_fc_signature_image"
|
||||||
|
widget="signature"
|
||||||
|
string="Plating Signature"
|
||||||
|
options="{'full_name': 'name'}"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user