File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 22 'author' : 'Odoo S.A.' ,
33 'name' : 'Sign Stamp' ,
44 'description' : """
5- add stamp field in sign app
5+ add stamp field in sing app
66 """ ,
77 'data' : [
88 'data/sign_data.xml' ,
9+ 'views/sign_request_templates.xml'
910 ],
1011 'depends' : ['sign' ],
1112 'license' : 'LGPL-3' ,
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <odoo >
3+ <template id =" sign_stamp._doc_sign" inherit_id =" sign._doc_sign" >
4+ <xpath expr =" //input[@id='o_sign_signer_phone_input_info']" position =" before" >
5+ <input
6+ id =" o_sign_signer_company_input_info"
7+ type =" hidden"
8+ t-att-value =" current_request_item.partner_id.company_id.name if current_request_item and current_request_item.partner_id else None"
9+ />
10+ <input
11+ id =" o_sign_signer_address_input_info"
12+ type =" hidden"
13+ t-att-value =" current_request_item.partner_id.street if current_request_item and current_request_item.partner_id else None"
14+ />
15+ <input
16+ id =" o_sign_signer_city_input_info"
17+ type =" hidden"
18+ t-att-value =" current_request_item.partner_id.city if current_request_item and current_request_item.partner_id else None"
19+ />
20+ <input
21+ id =" o_sign_signer_country_input_info"
22+ type =" hidden"
23+ t-att-value =" current_request_item.partner_id.country_id.name if current_request_item and current_request_item.partner_id else None"
24+ />
25+ <input
26+ id =" o_sign_signer_vat_input_info"
27+ type =" hidden"
28+ t-att-value =" current_request_item.partner_id.vat if current_request_item and current_request_item.partner_id else None"
29+ />
30+ </xpath >
31+ </template >
32+ </odoo >
You can’t perform that action at this time.
0 commit comments