-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ADD] sign_stamp: add stamp field in sign app #1081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 19.0
Are you sure you want to change the base?
Conversation
Purpose: The Stamp field allows users to apply an official company stamp during the document signing process. Technical changes: add new stamp field in sign.item.type Configured a multi-line placeholder to display structured stamp information (Company, Address, City, Country, VAT Number)
Technical Changes: inherit sign._doc_sign template and add input fields for company, address, city, country, VAT Number
Technical Changes: - stamp_sign_stamp and stamp_sign_stamp_frame field in res.users - Implemented and methods in to fetch user stamp and frame. - Allows displaying the company stamp and frame in signature dialogs for sign requests.
2b41e68 to
d024be1
Compare
…-fill Technical Changes: add stamp_sign_stamp and stamp_sign_stamp_frame in res.users for store stamp data fetch company data in sign_request page add test dialog box when user click stamp then test dialog box is open
d024be1 to
a29f51d
Compare
… auto-fill - add Input fields in dialog box - Extend getIframeProps to include companyInfo in iframe props - Pass company details (name, address, city, country, VAT) when opening stamp dialog - Prefill stamp adoption dialog inputs with company information
12e68ba to
71e0ec8
Compare
…details user can see company information in stamp default when user click stamp then dialog box open and user can edit company information
71e0ec8 to
4dbfbc0
Compare
add preview box for stamp
c901e6b to
bffa9c5
Compare
add sign and sign all button in stamp dialog
bffa9c5 to
cbb21c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
I think the stamp should be single, so sing all is not required for this.
Thanks
sign_stamp/controllers/main.py
Outdated
| @@ -0,0 +1,42 @@ | |||
| from odoo import http | |||
| from odoo.addons.sign.controllers.main import Sign | |||
| import logging | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
External import should be first, and then after odoo improt in alphabetical order.
| _logger = logging.getLogger(__name__) | ||
|
|
||
|
|
||
| class Sign(Sign): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be one empty line after it.
remove signall button from stamp and also remove onConfirmAll function Now primary button is Sign
e6fab2c to
2d0a443
Compare

Purpose:
The Stamp field allows users to apply an official company stamp during the document signing process.
Technical changes:
add new stamp field in sign.item.type
Configured a multi-line placeholder to display structured stamp information (Company, Address, City, Country, VAT Number)