diff --git a/digital_signature/README.rst b/digital_signature/README.rst old mode 100644 new mode 100755 index 7ccc3e935..b76d2218f --- a/digital_signature/README.rst +++ b/digital_signature/README.rst @@ -1,29 +1,35 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + Digital Signature In Purchase Order, Invoice, Inventory ======================================================= -* Digital Signature in Purchase Order, Invoice, Inventory +* This module provide feature to add the digital signature and company stamp on + purchase order, invoice, and inventory. Installation ============ - - www.odoo.com/documentation/15.0/setup/install.html - - Install our custom addon + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon License ------- -General Public License, Version 3 (LGPL v3). -(https://www.odoo.com/documentation/user/13.0/legal/licenses/licenses.html) +General Public License, Version 3 (LGPL-3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) Company ------- -* 'Cybrosys Techno Solutions `__ +* `Cybrosys Techno Solutions `__ Credits ------- -* Developer: -(V15) Noorjahan @ Cybrosys +* Developers: (V16) LAJINA,Ranjith R Contact : odoo@cybrosys.com Contacts -------- * Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + Bug Tracker ----------- @@ -31,11 +37,12 @@ Bugs are tracked on GitHub Issues. In case of trouble, please check there if you Maintainer ========== -This module is maintained by Cybrosys Technologies. +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com -For support and more information, please visit https://www.cybrosys.com +This module is maintained by Cybrosys Technologies. +For support and more information, please visit `Our Website `__ Further information =================== HTML Description: ``__ - diff --git a/digital_signature/__init__.py b/digital_signature/__init__.py old mode 100644 new mode 100755 index 3367fdfdb..012ef9bf4 --- a/digital_signature/__init__.py +++ b/digital_signature/__init__.py @@ -1,9 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################# -# # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER @@ -19,5 +18,4 @@ # If not, see . # ############################################################################# - from . import models diff --git a/digital_signature/__manifest__.py b/digital_signature/__manifest__.py old mode 100644 new mode 100755 index 5d5ecf05d..2a844c5e1 --- a/digital_signature/__manifest__.py +++ b/digital_signature/__manifest__.py @@ -1,9 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################# -# # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER @@ -19,28 +18,37 @@ # If not, see . # ############################################################################# - { 'name': 'Digital Signature In Purchase Order, Invoice, Inventory', - 'summary': 'Digital Signature in Purchase Order, Invoice, Inventory V15', - 'version': '16.0.1.0.0', - 'category': 'Tools', - 'description': """Digital Signature in Purchase Order, Invoice, Inventory V15""", + 'version': '16.0.2.1.0', + 'category': 'Extra Tools', + 'summary': """This module provide feature to add the digital signature and + company stamp.""", + 'description': """Module helps to add the digital signature and company + stamp to the report of the purchase order, invoice, and inventory.""", 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', 'depends': ['purchase', 'stock', 'account'], 'data': [ - 'views/res_config_settings.xml', - 'views/purchase_order.xml', - 'views/inventory.xml', - 'views/invoice.xml', - 'views/purchase_report_inherit.xml', - 'views/stock_picking_report.xml', - 'views/invoice_report.xml', + 'views/purchase_order_views.xml', + 'views/account_move_views.xml', + 'views/purchase_order_templates.xml', + 'views/stock_picking_views.xml', + 'views/account_move_templates.xml', + 'views/res_company_views.xml', + 'views/stock_picking_templates.xml', + 'views/res_config_settings_views.xml', ], - 'installable': True, - 'application': False, + 'assets': { + 'web.report_assets_common': [ + 'digital_signature/static/src/css/signature_stamp.css', + ], + }, 'images': ['static/description/banner.png'], 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, } diff --git a/digital_signature/doc/RELEASE_NOTES.md b/digital_signature/doc/RELEASE_NOTES.md old mode 100644 new mode 100755 index 1b116cd66..f55e12951 --- a/digital_signature/doc/RELEASE_NOTES.md +++ b/digital_signature/doc/RELEASE_NOTES.md @@ -1,6 +1,11 @@ ## Module -#### 19.10.2023 +#### 01.07.2022 #### Version 16.0.1.1.0 #### ADD -- Initial commit for Odoo 16 Digital Signature +- Initial commit for Digital Signature In Purchase Order, Invoice, Inventory + +#### 26.10.2023 +#### Version 16.0.2.1.0 +#### UPDT +- Added the company stamp feature in Purchase Order, Invoice and Inventory diff --git a/digital_signature/models/__init__.py b/digital_signature/models/__init__.py old mode 100644 new mode 100755 index 1c39c870c..4d1910e3e --- a/digital_signature/models/__init__.py +++ b/digital_signature/models/__init__.py @@ -1,9 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################# -# # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER @@ -19,8 +18,8 @@ # If not, see . # ############################################################################# - -from . import res_config_settings +from . import account_move from . import purchase_order -from . import inventory -from . import invoice \ No newline at end of file +from . import res_company +from . import res_config_settings +from . import stock_picking diff --git a/digital_signature/models/account_move.py b/digital_signature/models/account_move.py new file mode 100755 index 000000000..423de1c1c --- /dev/null +++ b/digital_signature/models/account_move.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +############################################################################# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ +from odoo.exceptions import UserError + + +class AccountMove(models.Model): + """Inherited the account move model for showing the digital signature + and company stamp in both invoice and bill""" + _inherit = "account.move" + _description = 'Account Move' + + @api.model + def _default_show_signature(self): + """ Returns the value of digital sign from Invoice setting + for invoice""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_invoice') + + @api.model + def _default_enable_sign(self): + """Returns the value of enable options from Invoice setting""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.enable_options_invoice') + + @api.model + def _default_show_sign_bill(self): + """ Returns the value of signature from Invoice setting for bill""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_bill') + + @api.model + def _default_show_stamp_invoice(self): + """ Returns the value of company stamp from Invoice setting + for invoice""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_company_stamp_invoice') + + @api.model + def _default_show_stamp_bill(self): + """ Returns the value of company stamp from Invoice setting + for bill""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_company_stamp_bill') + + digital_sign = fields.Binary(string='Signature', + help="Signature of accounting management " + "person") + sign_by = fields.Char(string='Signed By', help="Name of signed person") + designation = fields.Char(string='Designation', + help="Designation for signed person") + sign_on = fields.Datetime(string='Signed On', help="Date of sign") + show_signature = fields.Boolean('Show Signature', + default=_default_show_signature, + compute='_compute_show_signature', + help="Field to get the value in setting" + " to current model") + show_sign_bill = fields.Boolean('Show Signature', + default=_default_show_sign_bill, + compute='_compute_show_sign_bill', + help="Field to get the value in setting to " + "current model") + enable_others = fields.Boolean(default=_default_enable_sign, + compute='_compute_enable_others', + help="Field to get the value in setting to " + "current model") + show_stamp_invoice = fields.Boolean(default=_default_show_stamp_invoice, + compute='_compute_show_stamp_invoice', + help="Field to get the value in setting" + " to current model") + stamp_invoicing = fields.Selection([ + ('customer_invoice', 'Customer Invoice'), + ('vendor_bill', 'Vendor Bill'), ('both', 'Both'), + ], string="Company Stamp Applicable", + compute='_compute_stamp_invoicing', help="Field to get the value in " + "setting to current model") + + def _compute_show_signature(self): + """ Compute the value of digital signature""" + for record in self: + record.show_signature = self._default_show_signature() + + def _compute_enable_others(self): + """ Compute the value of enable options from the invoicing setting""" + for record in self: + record.enable_others = self._default_enable_sign() + + def _compute_show_sign_bill(self): + """ Compute the value of digital signature in bill""" + for record in self: + record.show_sign_bill = self._default_show_sign_bill() + + def _compute_stamp_invoicing(self): + """ Compute the value, which report has applied the stamp""" + for invoice in self: + invoice.stamp_invoicing = self.env['ir.config_parameter']. \ + sudo().get_param( + 'digital_signature.company_stamp_applicable_invoicing') + + def _compute_show_stamp_invoice(self): + """ Compute the value of company stamp""" + for invoice in self: + invoice.show_stamp_invoice = self._default_show_stamp_invoice() + + def action_post(self): + """Validate the signature is missing or not""" + res = super(AccountMove, self).action_post() + if self.env[ + 'ir.config_parameter'].sudo().get_param( + 'digital_signature.confirm_sign_invoice') and \ + self.digital_sign is False: + raise UserError(_("Signature is missing")) + return res diff --git a/digital_signature/models/inventory.py b/digital_signature/models/inventory.py deleted file mode 100644 index 3484c617f..000000000 --- a/digital_signature/models/inventory.py +++ /dev/null @@ -1,72 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2022-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# - -from odoo import models, fields, api, _ -from odoo.exceptions import Warning, UserError - - -class InventoryInherit(models.Model): - _inherit = "stock.picking" - - def _default_show_sign(self): - return self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.show_digital_sign_inventory') - - def _default_enable_options(self): - return self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.enable_options_inventory') - - digital_sign = fields.Binary(string='Signature') - sign_by = fields.Char(string='Signed By') - designation = fields.Char(string='Designation') - sign_on = fields.Datetime(string='Signed On') - show_sign = fields.Boolean(default=_default_show_sign, - compute='_compute_show_sign') - enable_option = fields.Boolean(default=_default_enable_options, - compute='_compute_enable_optiion') - sign_applicable = fields.Selection([ - ('picking_operations', 'Picking Operations'), - ('delivery', 'Delivery Slip'), - ('both', 'Both'), - ], string="Sign Applicable inside", compute='_compute_sign_applicable') - - def button_validate(self): - res = super(InventoryInherit, self).button_validate() - if self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.confirm_sign_inventory') and self.digital_sign is False: - raise UserError('Signature is missing') - return res - - def _compute_show_sign(self): - show_signature = self._default_show_sign() - for record in self: - record.show_sign = show_signature - - def _compute_enable_optiion(self): - enable_others = self._default_enable_options() - for record in self: - record.enable_option = enable_others - - def _compute_sign_applicable(self): - for rec in self: - rec.sign_applicable = self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.sign_applicable') diff --git a/digital_signature/models/invoice.py b/digital_signature/models/invoice.py deleted file mode 100644 index 7a08f9541..000000000 --- a/digital_signature/models/invoice.py +++ /dev/null @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2022-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# - -from odoo import models, fields, api, _ -from odoo.exceptions import Warning, UserError - - -class InvoiceInherit(models.Model): - _inherit = "account.move" - - @api.model - def _default_show_sign(self): - return self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.show_digital_sign_invoice') - - @api.model - def _default_enable_sign(self): - return self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.enable_options_invoice') - - @api.model - def _default_show_sign_bill(self): - return self.env['ir.config_parameter'].sudo().get_param( - 'digital_signature.show_digital_sign_bill') - - digital_sign = fields.Binary(string='Signature') - sign_by = fields.Char(string='Signed By') - designation = fields.Char(string='Designation') - sign_on = fields.Datetime(string='Signed On') - show_signature = fields.Boolean('Show Signature', - default=_default_show_sign, - compute='_compute_show_signature') - show_sign_bill = fields.Boolean('Show Signature', - default=_default_show_sign_bill, - compute='_compute_show_sign_bill') - enable_others = fields.Boolean(default=_default_enable_sign, - compute='_compute_enable_others') - - def action_post(self): - res = super(InvoiceInherit, self).action_post() - if self.env[ - 'ir.config_parameter'].sudo().get_param( - 'digital_signature.confirm_sign_invoice') and self.digital_sign is False: - raise UserError(_("Signature is missing")) - - return res - - def _compute_show_signature(self): - show_signature = self._default_show_sign() - for record in self: - record.show_signature = show_signature - - def _compute_enable_others(self): - enable_others = self._default_enable_sign() - for record in self: - record.enable_others = enable_others - - def _compute_show_sign_bill(self): - show_sign_bill = self._default_show_sign_bill() - for record in self: - record.show_sign_bill = show_sign_bill diff --git a/digital_signature/models/purchase_order.py b/digital_signature/models/purchase_order.py old mode 100644 new mode 100755 index 610d67a8b..17c2c7a39 --- a/digital_signature/models/purchase_order.py +++ b/digital_signature/models/purchase_order.py @@ -1,9 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################# -# # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER @@ -19,49 +18,76 @@ # If not, see . # ############################################################################# - -from odoo import models, fields, api, _ -from odoo.exceptions import Warning, UserError +from odoo import api, fields, models, _ +from odoo.exceptions import UserError -class PurchaseOrderInherit(models.Model): +class PurchaseOrder(models.Model): + """Inherited the purchase order model for showing the digital signature + and company stamp in the purchase report""" _inherit = "purchase.order" + _description = 'Purchase Order' @api.model def _default_show_sign(self): + """ Returns the value of digital sign from Purchase setting""" return self.env['ir.config_parameter'].sudo().get_param( 'digital_signature.show_digital_sign_po') @api.model def _default_enable_sign(self): + """Returns the value of enable options from Purchase setting""" return self.env['ir.config_parameter'].sudo().get_param( 'digital_signature.enable_options_po') - digital_sign = fields.Binary(string='Signature') - sign_by = fields.Char(string='Signed By') - designation = fields.Char(string='Designation') - sign_on = fields.Datetime(string='Signed On') + @api.model + def _default_show_stamp_po(self): + """ Returns the value of company stamp from purchase setting""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_company_stamp_po') + + digital_sign = fields.Binary(string='Signature', help="Signature of " + "purchase management" + "person") + sign_by = fields.Char(string='Signed By', help="Name of signed person") + designation = fields.Char(string='Designation', + help="Designation for signed person") + sign_on = fields.Datetime(string='Signed On', help="Date of sign") show_signature = fields.Boolean('Show Signature', default=_default_show_sign, - compute='_compute_show_signature') - enable_others = fields.Boolean(default=_default_enable_sign, - compute='_compute_enable_others') - - def button_confirm(self): - res = super(PurchaseOrderInherit, self).button_confirm() - if self.env[ - 'ir.config_parameter'].sudo().get_param( - 'digital_signature.confirm_sign_po') and self.digital_sign is False: - raise UserError(_("Signature is missing")) - - return res + compute='_compute_show_signature', + help="Field to get the value in setting to " + "current model") + enable_sign = fields.Boolean(default=_default_enable_sign, + compute='_compute_enable_sign', + help="Field to get the value in setting to " + "current model") + show_stamp_po = fields.Boolean(default=_default_show_stamp_po, + compute='_compute_show_stamp_po', + help="Field to get the value in setting to " + "current model") def _compute_show_signature(self): - show_signature = self._default_show_sign() + """ Compute the value of digital signature""" for record in self: - record.show_signature = show_signature + record.show_signature = self._default_show_sign() - def _compute_enable_others(self): - enable_others = self._default_enable_sign() + def _compute_enable_sign(self): + """ Compute the value of enable options from the purchase settings""" for record in self: - record.enable_others = enable_others + record.enable_sign = self._default_enable_sign() + + def _compute_show_stamp_po(self): + """ Compute the value of company stamp""" + for record in self: + record.show_stamp_po = self._default_show_stamp_po() + + def button_confirm(self): + """Validate the signature is missing or not""" + res = super(PurchaseOrder, self).button_confirm() + if self.env[ + 'ir.config_parameter'].sudo(). \ + get_param('digital_signature.confirm_sign_po') \ + and self.digital_sign is False: + raise UserError(_("Signature is missing")) + return res diff --git a/digital_signature/models/res_company.py b/digital_signature/models/res_company.py new file mode 100755 index 000000000..6898369ba --- /dev/null +++ b/digital_signature/models/res_company.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class ResCompany(models.Model): + """Inherited the res company for setting the company stamp""" + + _inherit = 'res.company' + _description = 'Company' + + stamp = fields.Binary(string="Stamp", help="Company stamp") + position = fields.Selection(selection=[ + ('left', 'Left'), + ('right', 'Right'), + ('center', 'Center'), + ], string='Position', tracking=True, default="left", + help="The position is used to position the signature and company " + "stamp in reports") diff --git a/digital_signature/models/res_config_settings.py b/digital_signature/models/res_config_settings.py old mode 100644 new mode 100755 index 8011cae50..020ae7135 --- a/digital_signature/models/res_config_settings.py +++ b/digital_signature/models/res_config_settings.py @@ -1,9 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################# -# # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: Cybrosys Techno Solutions() # # You can modify it under the terms of the GNU LESSER @@ -19,36 +18,76 @@ # If not, see . # ############################################################################# - -from odoo import models, fields, api, _ +from odoo import fields, models -class ResConfigurationInherit(models.TransientModel): +class ResConfigSettings(models.TransientModel): + """Inherited the res config settings for returning the value of digital + signature and company stamp from settings""" _inherit = 'res.config.settings' show_digital_sign_po = fields.Boolean( - config_parameter='digital_signature.show_digital_sign_po') + config_parameter='digital_signature.show_digital_sign_po', + help="Enable to show sign in purchase order") enable_options_po = fields.Boolean( - config_parameter='digital_signature.enable_options_po') + config_parameter='digital_signature.enable_options_po', + help="Enable to option in purchase order") confirm_sign_po = fields.Boolean( - config_parameter='digital_signature.confirm_sign_po') + config_parameter='digital_signature.confirm_sign_po', + help="Enable to confirm sign in purchase order") show_digital_sign_inventory = fields.Boolean( - config_parameter='digital_signature.show_digital_sign_inventory') + config_parameter='digital_signature.show_digital_sign_inventory', + help="Enable to show sign in inventory") enable_options_inventory = fields.Boolean( - config_parameter='digital_signature.enable_options_inventory') + config_parameter='digital_signature.enable_options_inventory', + help="Enable to option in inventory") sign_applicable = fields.Selection([ ('picking_operations', 'Picking Operations'), ('delivery', 'Delivery Slip'), ('both', 'Both'), ], string="Sign Applicable inside", default="picking_operations", - config_parameter='digital_signature.sign_applicable') + config_parameter='digital_signature.sign_applicable', + help="Options to whether the feature have to available") confirm_sign_inventory = fields.Boolean( - config_parameter='digital_signature.confirm_sign_inventory') + config_parameter='digital_signature.confirm_sign_inventory', + help="Enable to confirm sign in inventory") show_digital_sign_invoice = fields.Boolean( - config_parameter='digital_signature.show_digital_sign_invoice') + config_parameter='digital_signature.show_digital_sign_invoice', + help="Enable to show sign in invoice") enable_options_invoice = fields.Boolean( - config_parameter='digital_signature.enable_options_invoice') + config_parameter='digital_signature.enable_options_invoice', + help="Enable to option in invoice") confirm_sign_invoice = fields.Boolean( - config_parameter='digital_signature.confirm_sign_invoice') + config_parameter='digital_signature.confirm_sign_invoice', + help="Enable to confirm sign in inventory" + ) show_digital_sign_bill = fields.Boolean( - config_parameter='digital_signature.show_digital_sign_bill') + config_parameter='digital_signature.show_digital_sign_bill', + help="Enable to confirm sign in bill") + show_company_stamp_po = fields.Boolean( + config_parameter='digital_signature.show_company_stamp_po', + help="Enable to confirm stamp in purchase order") + show_company_stamp_inventory = fields.Boolean( + config_parameter='digital_signature.show_company_stamp_inventory', + help="Enable to confirm stamp in inventory") + show_company_stamp_invoice = fields.Boolean( + config_parameter='digital_signature.show_company_stamp_invoice', + help="Enable to confirm stamp in invoice") + show_company_stamp_bill = fields.Boolean( + config_parameter='digital_signature.show_company_stamp_bill', + help="Enable to confirm stamp in bill") + company_stamp_applicable = fields.Selection([ + ('picking_stamp', 'Picking Operations'), + ('delivery_stamp', 'Delivery Slip'), ('both_stamp', 'Both'), + ], string="Company Stamp Applicable", + default="picking_stamp", + config_parameter='digital_signature.company_stamp_applicable', + help="Options to whether the feature have to available" + ) + company_stamp_applicable_invoicing = fields.Selection([ + ('customer_invoice', 'Customer Invoice'), + ('vendor_bill', 'Vendor Bill'), ('both', 'Both'), + ], string="Company Stamp Applicable", + default="customer_invoice", + config_parameter='digital_signature.company_stamp_applicable_invoicing', + help="Options to whether the feature have to available") diff --git a/digital_signature/models/stock_picking.py b/digital_signature/models/stock_picking.py new file mode 100755 index 000000000..74c7f4123 --- /dev/null +++ b/digital_signature/models/stock_picking.py @@ -0,0 +1,117 @@ +# -*- coding: utf-8 -*- +############################################################################# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models +from odoo.exceptions import UserError + + +class StockPicking(models.Model): + """Inherited the stock picking for showing the digital signature + and company stamp in both report of picking operations and delivery slip""" + _inherit = "stock.picking" + + def _default_show_sign(self): + """ Returns the value of digital sign from inventory setting""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_digital_sign_inventory') + + def _default_enable_option(self): + """Returns the value of enable options from inventory setting""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.enable_options_inventory') + + def _default_show_stamp(self): + """Returns the value of company stampfrom inventory setting""" + return self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.show_company_stamp_inventory') + + digital_sign = fields.Binary(string='Signature', + help="Signature of inventory " + "management person") + sign_by = fields.Char(string='Signed By', + help="Name of signed person") + designation = fields.Char(string='Designation', + help="Designation for signed person") + sign_on = fields.Datetime(string='Signed On', help="Date of sign") + show_sign = fields.Boolean(default=_default_show_sign, + compute='_compute_show_sign', + help="Field to get the value in setting to " + "current model") + enable_option = fields.Boolean(default=_default_enable_option, + compute='_compute_enable_option', + help="Field to get the value in setting to " + "current model") + sign_applicable = fields.Selection([ + ('picking_operations', 'Picking Operations'), + ('delivery', 'Delivery Slip'), + ('both', 'Both'), + ], string="Sign Applicable inside", compute='_compute_sign_applicable', + help="Field to get the value in setting to current model") + + stamp_applicable = fields.Selection([ + ('picking_stamp', 'Picking Operations'), + ('delivery_stamp', 'Delivery Slip'), + ('both_stamp', 'Both')], string="stamp", + compute='_compute_stamp_applicable') + show_stamp = fields.Boolean(default=_default_show_stamp, + compute='_compute_show_stamp', + help="Field to get the value in setting " + "to current model") + + def _compute_show_sign(self): + """Function to compute the value of digital signature""" + for record in self: + record.show_sign = self._default_show_sign() + + def _compute_enable_option(self): + """Function to compute the value of enable options from the + inventory setting""" + for record in self: + record.enable_option = self._default_enable_option() + + def _compute_sign_applicable(self): + """Function to compute the value, which report has applied + the signature""" + for rec in self: + rec.sign_applicable = self.env['ir.config_parameter'].sudo(). \ + get_param( + 'digital_signature.sign_applicable') + + def _compute_stamp_applicable(self): + """Function to compute the value which report has applied + the signature""" + for rec in self: + rec.stamp_applicable = self.env['ir.config_parameter'].sudo(). \ + get_param( + 'digital_signature.company_stamp_applicable') + + def _compute_show_stamp(self): + """Function to compute the value which report has applied the stamp""" + for stamp in self: + stamp.show_stamp = self._default_show_stamp() + + def button_validate(self): + """ Function to validate the signature is missing or not""" + res = super(StockPicking, self).button_validate() + if self.env['ir.config_parameter'].sudo().get_param( + 'digital_signature.confirm_sign_inventory') and \ + self.digital_sign is False: + raise UserError('Signature is missing') + return res diff --git a/digital_signature/static/description/assets/icons/check.png b/digital_signature/static/description/assets/icons/check.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/chevron.png b/digital_signature/static/description/assets/icons/chevron.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/cogs.png b/digital_signature/static/description/assets/icons/cogs.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/consultation.png b/digital_signature/static/description/assets/icons/consultation.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/ecom-black.png b/digital_signature/static/description/assets/icons/ecom-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/education-black.png b/digital_signature/static/description/assets/icons/education-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/hotel-black.png b/digital_signature/static/description/assets/icons/hotel-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/license.png b/digital_signature/static/description/assets/icons/license.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/lifebuoy.png b/digital_signature/static/description/assets/icons/lifebuoy.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/manufacturing-black.png b/digital_signature/static/description/assets/icons/manufacturing-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/pos-black.png b/digital_signature/static/description/assets/icons/pos-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/puzzle.png b/digital_signature/static/description/assets/icons/puzzle.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/restaurant-black.png b/digital_signature/static/description/assets/icons/restaurant-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/service-black.png b/digital_signature/static/description/assets/icons/service-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/trading-black.png b/digital_signature/static/description/assets/icons/trading-black.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/training.png b/digital_signature/static/description/assets/icons/training.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/update.png b/digital_signature/static/description/assets/icons/update.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/user.png b/digital_signature/static/description/assets/icons/user.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/icons/wrench.png b/digital_signature/static/description/assets/icons/wrench.png old mode 100644 new mode 100755 diff --git a/digital_signature/static/description/assets/modules/1.png b/digital_signature/static/description/assets/modules/1.png deleted file mode 100644 index 5238bdeab..000000000 Binary files a/digital_signature/static/description/assets/modules/1.png and /dev/null differ diff --git a/digital_signature/static/description/assets/modules/2.png b/digital_signature/static/description/assets/modules/2.png deleted file mode 100644 index 1ae7cfe3b..000000000 Binary files a/digital_signature/static/description/assets/modules/2.png and /dev/null differ diff --git a/digital_signature/static/description/assets/modules/3.png b/digital_signature/static/description/assets/modules/3.png deleted file mode 100644 index 3c3ff1afb..000000000 Binary files a/digital_signature/static/description/assets/modules/3.png and /dev/null differ diff --git a/digital_signature/static/description/assets/modules/4.png b/digital_signature/static/description/assets/modules/4.png deleted file mode 100644 index 3fae4631e..000000000 Binary files a/digital_signature/static/description/assets/modules/4.png and /dev/null differ diff --git a/digital_signature/static/description/assets/modules/5.gif b/digital_signature/static/description/assets/modules/5.gif deleted file mode 100644 index 2a5f8e659..000000000 Binary files a/digital_signature/static/description/assets/modules/5.gif and /dev/null differ diff --git a/digital_signature/static/description/assets/modules/6.png b/digital_signature/static/description/assets/modules/6.png deleted file mode 100644 index 7f2815273..000000000 Binary files a/digital_signature/static/description/assets/modules/6.png and /dev/null differ diff --git a/digital_signature/static/description/assets/modules/l1.png b/digital_signature/static/description/assets/modules/l1.png new file mode 100755 index 000000000..ed175b076 Binary files /dev/null and b/digital_signature/static/description/assets/modules/l1.png differ diff --git a/digital_signature/static/description/assets/modules/l2.png b/digital_signature/static/description/assets/modules/l2.png new file mode 100755 index 000000000..a3194264c Binary files /dev/null and b/digital_signature/static/description/assets/modules/l2.png differ diff --git a/digital_signature/static/description/assets/modules/l3.png b/digital_signature/static/description/assets/modules/l3.png new file mode 100755 index 000000000..e894393ef Binary files /dev/null and b/digital_signature/static/description/assets/modules/l3.png differ diff --git a/digital_signature/static/description/assets/modules/l4.png b/digital_signature/static/description/assets/modules/l4.png new file mode 100755 index 000000000..f3c986fc1 Binary files /dev/null and b/digital_signature/static/description/assets/modules/l4.png differ diff --git a/digital_signature/static/description/assets/modules/l5.png b/digital_signature/static/description/assets/modules/l5.png new file mode 100755 index 000000000..b21837312 Binary files /dev/null and b/digital_signature/static/description/assets/modules/l5.png differ diff --git a/digital_signature/static/description/assets/modules/l6.png b/digital_signature/static/description/assets/modules/l6.png new file mode 100755 index 000000000..e64a5b55c Binary files /dev/null and b/digital_signature/static/description/assets/modules/l6.png differ diff --git a/digital_signature/static/description/assets/screenshots/1.png b/digital_signature/static/description/assets/screenshots/1.png new file mode 100755 index 000000000..71e5aebee Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/1.png differ diff --git a/digital_signature/static/description/assets/screenshots/10.png b/digital_signature/static/description/assets/screenshots/10.png new file mode 100755 index 000000000..0049d6f61 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/10.png differ diff --git a/digital_signature/static/description/assets/screenshots/11.png b/digital_signature/static/description/assets/screenshots/11.png new file mode 100755 index 000000000..45a437146 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/11.png differ diff --git a/digital_signature/static/description/assets/screenshots/12.png b/digital_signature/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..540fb784b Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/12.png differ diff --git a/digital_signature/static/description/assets/screenshots/13.png b/digital_signature/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..dc58730ad Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/13.png differ diff --git a/digital_signature/static/description/assets/screenshots/14.png b/digital_signature/static/description/assets/screenshots/14.png new file mode 100755 index 000000000..10748bb5e Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/14.png differ diff --git a/digital_signature/static/description/assets/screenshots/15.png b/digital_signature/static/description/assets/screenshots/15.png new file mode 100755 index 000000000..a99925108 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/15.png differ diff --git a/digital_signature/static/description/assets/screenshots/16.png b/digital_signature/static/description/assets/screenshots/16.png new file mode 100644 index 000000000..204c30010 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/16.png differ diff --git a/digital_signature/static/description/assets/screenshots/17.png b/digital_signature/static/description/assets/screenshots/17.png new file mode 100644 index 000000000..f764ed20a Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/17.png differ diff --git a/digital_signature/static/description/assets/screenshots/2.png b/digital_signature/static/description/assets/screenshots/2.png new file mode 100755 index 000000000..949d6f2d4 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/2.png differ diff --git a/digital_signature/static/description/assets/screenshots/3.png b/digital_signature/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..30d66e60e Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/3.png differ diff --git a/digital_signature/static/description/assets/screenshots/4.png b/digital_signature/static/description/assets/screenshots/4.png new file mode 100755 index 000000000..6a795562e Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/4.png differ diff --git a/digital_signature/static/description/assets/screenshots/5.png b/digital_signature/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..02a1136b6 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/5.png differ diff --git a/digital_signature/static/description/assets/screenshots/6.png b/digital_signature/static/description/assets/screenshots/6.png new file mode 100755 index 000000000..e17310a2d Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/6.png differ diff --git a/digital_signature/static/description/assets/screenshots/8.png b/digital_signature/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..3b3d0c5c8 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/8.png differ diff --git a/digital_signature/static/description/assets/screenshots/9.png b/digital_signature/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..fd0988009 Binary files /dev/null and b/digital_signature/static/description/assets/screenshots/9.png differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot1.png b/digital_signature/static/description/assets/screenshots/Screenshot1.png deleted file mode 100644 index 96a8ebbe0..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot1.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot10.png b/digital_signature/static/description/assets/screenshots/Screenshot10.png deleted file mode 100644 index 38a777c5a..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot10.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot11.png b/digital_signature/static/description/assets/screenshots/Screenshot11.png deleted file mode 100644 index 883f12551..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot11.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot2.png b/digital_signature/static/description/assets/screenshots/Screenshot2.png deleted file mode 100644 index 3ebb5e133..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot2.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot3.png b/digital_signature/static/description/assets/screenshots/Screenshot3.png deleted file mode 100644 index cf801b46a..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot3.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot4.png b/digital_signature/static/description/assets/screenshots/Screenshot4.png deleted file mode 100644 index e087ecbc7..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot4.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot5.png b/digital_signature/static/description/assets/screenshots/Screenshot5.png deleted file mode 100644 index e70f51182..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot5.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot6.png b/digital_signature/static/description/assets/screenshots/Screenshot6.png deleted file mode 100644 index e1afbf609..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot6.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot7.png b/digital_signature/static/description/assets/screenshots/Screenshot7.png deleted file mode 100644 index 667644e68..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot7.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot8.png b/digital_signature/static/description/assets/screenshots/Screenshot8.png deleted file mode 100644 index cf5baeb6c..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot8.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/Screenshot9.png b/digital_signature/static/description/assets/screenshots/Screenshot9.png deleted file mode 100644 index 694a17d44..000000000 Binary files a/digital_signature/static/description/assets/screenshots/Screenshot9.png and /dev/null differ diff --git a/digital_signature/static/description/assets/screenshots/hero.gif b/digital_signature/static/description/assets/screenshots/hero.gif index e23ca4351..5e127681d 100644 Binary files a/digital_signature/static/description/assets/screenshots/hero.gif and b/digital_signature/static/description/assets/screenshots/hero.gif differ diff --git a/digital_signature/static/description/banner.png b/digital_signature/static/description/banner.png old mode 100644 new mode 100755 index f088c60a2..ed294573b Binary files a/digital_signature/static/description/banner.png and b/digital_signature/static/description/banner.png differ diff --git a/digital_signature/static/description/icon.png b/digital_signature/static/description/icon.png old mode 100644 new mode 100755 index 96176c106..97a045049 Binary files a/digital_signature/static/description/icon.png and b/digital_signature/static/description/icon.png differ diff --git a/digital_signature/static/description/index.html b/digital_signature/static/description/index.html old mode 100644 new mode 100755 index a226c4ed1..abb4ead8d --- a/digital_signature/static/description/index.html +++ b/digital_signature/static/description/index.html @@ -1,15 +1,15 @@ -
+
-
- +
Community
-
Enterprise
@@ -20,32 +20,33 @@
- - -

- Digital Signature In Purchase, Inventory, Invoice -

-

- A Module for adding Digital Signatures in Purchase, Inventory, Invoices -

- - - +
+
+
+

+ Digital Signature In Purchase Order, Invoice, Inventory

+

+ A Module for Adding Digital Signature and Company Stamp in + Purchase, + Inventory, Invoices

+ + +
+
+
-
- +

Explore This - Module -

+ Module
@@ -53,17 +54,12 @@
- - Overview - - - Learn - more about this - module - + Overview + Learn + more about this + module
- +
@@ -72,17 +68,12 @@
- - Features - - - View - features of this - module - + Features + View + features of this + module
- +
@@ -91,17 +82,12 @@
- - Screenshots - - - View - screenshots for this - module - + Screenshots + View + screenshots for this + module
- +
@@ -110,10 +96,11 @@
+ style="border-bottom: 2px solid #714B67; padding: 15px 0px;" + id="overview">
- +

@@ -122,7 +109,8 @@

-
This module helps to add the digital signature +
+ This module helps to add the digital signature and company stamp in purchase order, delivery slip, picking operations, customer invoices and vendor bills, and other details like signed by, designation, and date. Configurations for setting the signature as mandatory, if it is @@ -133,10 +121,11 @@
+ style="border-bottom: 2px solid #714B67; padding: 15px 0px;" + id="features">
- +

@@ -146,34 +135,37 @@
-
- -
- - Print digital signature in reports - -
+ + Add Company Stamp in Reports
-
- -
- - Enable other options to add signature details - -
+ + Option to configure the Alignment of Signature and + Stamp in Different Positions +
-
- -
- - Check signature before Confirmations - -
+ + Add Digital Signature in Reports + +
+
+ + Enable "Other Options" to Add Signature Details +
+
+ + Check signature before Confirmations + +
@@ -184,100 +176,135 @@ id="screenshots">
- +

Screenshots

-
-
- -
-

- Settings in Purchase Module to Show Signature in Purchase Order -

- -
-
-

- Enable Other Options to add extra signature details, Check - signature before confirmation to raise a warning When signature - is missing -

- -
-
-

- Digital Signature Fields in Purchase Order -

- -
-
-

- Digital Signature in Pdf Report -

- -
-
-

- Raise warning when signature is missing -

- -
-
-

- Signature Configuration in Inventory Settings -

- -
-
-
-
-

- Signature Configuration in Invoice Settings -

- -
-
-

- Digital Signature in Picking Operation -

- -
-
-

- Digital Signature in Delivery Slip -

- -
-
-

- Digital Signature in Customer Invoice -

- -
-
-

- Digital Signature in Vendor Bill -

- -
- -
+
+

+ Companies users have the ability to add and configure the Company + Stamp and its position. +

+ +
+
+

+ Enable "Show Digital Sign in Purchase Order" to display the option for adding a + Signature in Purchase Orders and include the signature in Purchase Order + Report. +

+ +
+
+

+ You can activate the " Other Sign Options" feature to include additional + signature details and enable "Check Sign Before Confirmation" to receive + warning if signature is missing. +

+ +
+
+

+ Option to upload Signature for the Purchase Order +

+ +
+
+

+ Enable "Show Company Stamp in Purchase Orders" to show the Company Stamp + in purchase order receipt. +

+ +
+
+

+ Digital Signature and Company Stamp in Pdf Report Based on the + Position. +

+ +
+
+

+ Enable "Show Company Stamp in Inventory" to show Company Stamp in the + Inventory Report. +

+ +
+
+

+ Enable "Show Digital Sign in Inventory" to display the option for adding a + Signature in the Inventory Transfer and subsequently include the Signature + in the Inventory Report +

+
+
+

+ Enable "Other Sign Options" to show option to add additional Signature details +

+ + +
+
+

+ Digital Signature and Company Stamp in Picking Operations Based on + the Position. +

+ +
+
+

+ Digital Signature and Company Stamp in Delivery Slip Based on the + Position. +

+ +
+
+

+ Enable "Show Digital Sign in Customer Invoice" to display option for adding a + Signature in the Invoice and subsequently include the signature in the Invoice Report

+ +
+
+

+ Enable "Show Company Stamp in Invoice" to show the Company Stamp + in Invoice.

+ +
+
+

+ Digital Signature in Customer Invoice Based on the + Position. +

+ +
+
+

+ Digital Signature in Vendor Bill Based on the + Position. +

+ +
+ @@ -285,7 +312,7 @@ style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
- +

@@ -297,74 +324,73 @@

@@ -431,8 +443,7 @@
Odoo - Implementation -
+ Implementation
@@ -444,8 +455,7 @@
Odoo - Support -
+ Support
@@ -459,8 +469,7 @@ style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> Hire Odoo - Developer - + Developer
@@ -472,8 +481,7 @@
Odoo - Integration -
+ Integration
@@ -485,8 +493,7 @@
Odoo - Migration -
+ Migration
@@ -499,8 +506,7 @@
Odoo - Consultancy -
+ Consultancy
@@ -512,8 +518,7 @@
Odoo - Implementation -
+ Implementation
@@ -525,220 +530,207 @@
Odoo - Licensing Consultancy -
+ Licensing Consultancy
- - - - + + - -
-
- -
-

- Our - Industries -

-
- -
+
+
+

Our Industries

+
+
+
+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Trading

Easily procure and - sell your products -

+ sell your products

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
POS

Easy configuration - and convivial experience -

+ and convivial experience

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+ class="img-responsive mb-3" height="48px" + width="48px"> +
Education

A platform for - educational management -

+ educational management

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Manufacturing

Plan, track and - schedule your operations -

+ schedule your operations

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
E-commerce & Website

Mobile friendly, - awe-inspiring product pages -

+ awe-inspiring product pages

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Service Management

Keep track of - services and invoice -

+ services and invoice

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+ class="img-responsive mb-3" height="48px" + width="48px"> +
Restaurant

Run your bar or - restaurant methodically -

+ restaurant methodically

+ style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> -
+
Hotel Management

An all-inclusive - hotel management application -

+ hotel management application

+
-
+ - + - -
-
- -
-

- Support -

-
-
-
-
-
-
- -
-
-

Need Help?

-

Got questions or need help? - Get in touch. -

- -

- odoo@cybrosys.com -

-
-
-
+ + +
+
+
+

Need Help?

+
-
-
-
- +
+ + +
+ +
+ +
+ -
-

WhatsApp

-

Say hi to us on WhatsApp!

- -

- +91 86068 - 27707 -

-
+
+
-
-
- + +
+ +
+
+ +
+ +
+ +
+
+
-
- + + \ No newline at end of file diff --git a/digital_signature/static/src/css/signature_stamp.css b/digital_signature/static/src/css/signature_stamp.css new file mode 100755 index 000000000..1e5d12310 --- /dev/null +++ b/digital_signature/static/src/css/signature_stamp.css @@ -0,0 +1,25 @@ +.left{ +max-height: 4cm; +max-width: 4cm; +padding-top: 50px; +float:left; +} +.right { +max-height: 4cm; +max-width: 4cm; +padding-top: 50px; +float:right +} +.center { +max-height: 4cm; +max-width: 4cm; +padding-top: 50px; +margin-left: 300px; +} +.center_sign { + max-height: 4cm; + max-width: 6cm; + padding-top: 50px; + margin-left: 400px; + margin-top: -153px; +} diff --git a/digital_signature/views/account_move_templates.xml b/digital_signature/views/account_move_templates.xml new file mode 100755 index 000000000..f2fc99fac --- /dev/null +++ b/digital_signature/views/account_move_templates.xml @@ -0,0 +1,173 @@ + + + + + diff --git a/digital_signature/views/invoice.xml b/digital_signature/views/account_move_views.xml old mode 100644 new mode 100755 similarity index 90% rename from digital_signature/views/invoice.xml rename to digital_signature/views/account_move_views.xml index 449cf834f..778965386 --- a/digital_signature/views/invoice.xml +++ b/digital_signature/views/account_move_views.xml @@ -1,12 +1,15 @@ - - account.move.inherit + + + account.move.view.form.inherit.digital.signature + account.move + diff --git a/digital_signature/views/inventory.xml b/digital_signature/views/inventory.xml deleted file mode 100644 index 6509325df..000000000 --- a/digital_signature/views/inventory.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - inventory.view.form.inherit - stock.picking - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/digital_signature/views/invoice_report.xml b/digital_signature/views/invoice_report.xml deleted file mode 100644 index 6dca6db1e..000000000 --- a/digital_signature/views/invoice_report.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - diff --git a/digital_signature/views/purchase_order.xml b/digital_signature/views/purchase_order.xml deleted file mode 100644 index c2fd9f1c2..000000000 --- a/digital_signature/views/purchase_order.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - purchase.order.view.form.inherit - purchase.order - - - - - - - - - - - - - - - - - - diff --git a/digital_signature/views/purchase_order_templates.xml b/digital_signature/views/purchase_order_templates.xml new file mode 100755 index 000000000..9fc5d14da --- /dev/null +++ b/digital_signature/views/purchase_order_templates.xml @@ -0,0 +1,112 @@ + + + + + diff --git a/digital_signature/views/purchase_order_views.xml b/digital_signature/views/purchase_order_views.xml new file mode 100755 index 000000000..6085e9f72 --- /dev/null +++ b/digital_signature/views/purchase_order_views.xml @@ -0,0 +1,33 @@ + + + + + purchase.order.view.form.inherit.digital.signature + + purchase.order + + + + + + + + + + + + + + + + + + diff --git a/digital_signature/views/purchase_report_inherit.xml b/digital_signature/views/purchase_report_inherit.xml deleted file mode 100644 index 985e0caec..000000000 --- a/digital_signature/views/purchase_report_inherit.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - diff --git a/digital_signature/views/res_company_views.xml b/digital_signature/views/res_company_views.xml new file mode 100755 index 000000000..231e81c8b --- /dev/null +++ b/digital_signature/views/res_company_views.xml @@ -0,0 +1,20 @@ + + + + + res.company.view.form.inherit.digital_signature + + res.company + + + + + + + + + + + + + diff --git a/digital_signature/views/res_config_settings.xml b/digital_signature/views/res_config_settings.xml deleted file mode 100644 index 3b8acd5e4..000000000 --- a/digital_signature/views/res_config_settings.xml +++ /dev/null @@ -1,215 +0,0 @@ - - - - - res.config.settings.view.form.inherit.purchase - res.config.settings - - - - -

Digital Signature

-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
- - - res.config.settings.view.form.inherit.stock - res.config.settings - - - - -

Digital Signature

-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
-
- - - - - res.config.settings.view.form.inherit.invoice - res.config.settings - - - - -

Digital Signature

-
-
-
- -
-
-
-
-
-
- -
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
-
-
- -
-
-
-
- - - diff --git a/digital_signature/views/res_config_settings_views.xml b/digital_signature/views/res_config_settings_views.xml new file mode 100755 index 000000000..4249fb3f6 --- /dev/null +++ b/digital_signature/views/res_config_settings_views.xml @@ -0,0 +1,313 @@ + + + + + + res.config.settings.view.form.inherit.digital.signature + + res.config.settings + + + + +

Digital Signature

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +

Company Stamp

+
+
+
+ +
+
+
+
+
+
+
+
+ + + + res.config.settings.view.form.inherit.digital.signature + + res.config.settings + + + + +

Digital Signature

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + +

Company Stamp

+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + + + + + + res.config.settings.view.form.inherit.digital.signature + + res.config.settings + + + + +

Digital Signature

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +

Company stamp

+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/digital_signature/views/stock_picking_report.xml b/digital_signature/views/stock_picking_report.xml deleted file mode 100644 index d5168bae8..000000000 --- a/digital_signature/views/stock_picking_report.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - diff --git a/digital_signature/views/stock_picking_templates.xml b/digital_signature/views/stock_picking_templates.xml new file mode 100755 index 000000000..996cda4ba --- /dev/null +++ b/digital_signature/views/stock_picking_templates.xml @@ -0,0 +1,416 @@ + + + + + + + diff --git a/digital_signature/views/stock_picking_views.xml b/digital_signature/views/stock_picking_views.xml new file mode 100755 index 000000000..8f2ee714c --- /dev/null +++ b/digital_signature/views/stock_picking_views.xml @@ -0,0 +1,32 @@ + + + + + stock.picking.view.form.inherit.digital.signature + + stock.picking + + + + + + + + + + + + + + + + + + +