diff --git a/purchase_down_payment/README.rst b/purchase_down_payment/README.rst new file mode 100755 index 000000000..b6578ebab --- /dev/null +++ b/purchase_down_payment/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Purchase Down Payment +======================= +This module helps to register down payment against the purchase order. + +Configuration +============= +No additional configuration + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +======= +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: V16 - Aswathi PN + V17 - Gayathri V +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://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/purchase_down_payment/__init__.py b/purchase_down_payment/__init__.py new file mode 100644 index 000000000..78dddc542 --- /dev/null +++ b/purchase_down_payment/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +############################################################################## +from . import models +from . import wizard diff --git a/purchase_down_payment/__manifest__.py b/purchase_down_payment/__manifest__.py new file mode 100644 index 000000000..8918782d0 --- /dev/null +++ b/purchase_down_payment/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V () +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +############################################################################## +{ + 'name': 'Purchase Down Payment', + 'version': '17.0.1.0.0', + 'summary': """Down payment with purchase order""", + 'description': 'This module provides easy feature to register down payment' + 'against the purchase order. User will be able to register ' + 'downpayment in percentage and amount that would deduct from' + 'vendor bill.', + 'category': 'Purchase', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['purchase', 'sale'], + 'data': [ + 'security/ir.model.access.csv', + 'wizard/purchase_order_advance_payment_views.xml', + 'views/purchase_order_views.xml', + 'views/res_config_settings_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/purchase_down_payment/doc/RELEASE_NOTES.md b/purchase_down_payment/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b563a9d96 --- /dev/null +++ b/purchase_down_payment/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 11.01.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Purchase Down Payment diff --git a/purchase_down_payment/models/__init__.py b/purchase_down_payment/models/__init__.py new file mode 100644 index 000000000..4647f9821 --- /dev/null +++ b/purchase_down_payment/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +############################################################################## +from . import purchase_order +from . import purchase_order_line +from . import res_config_settings diff --git a/purchase_down_payment/models/purchase_order.py b/purchase_down_payment/models/purchase_order.py new file mode 100644 index 000000000..dc001c29e --- /dev/null +++ b/purchase_down_payment/models/purchase_order.py @@ -0,0 +1,198 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +############################################################################## +from odoo import api, models, _ +from odoo.tools import float_is_zero +from itertools import groupby +from odoo.exceptions import UserError + + +class PurchaseOrder(models.Model): + """ + This class is created for inherited model Purchase Order. + + Methods: _nothing_to_invoice_error(self): Function for showing the + user error while there is no products are received for the purchase + order. + + _deduct_payment(self): This function is for deducting the down + payment amount from next down payment invoice. + + _prepare_down_payment_section_line(self): Function for creating + dict of values to create a new purchase down payment section. + + _get_invoiceable_lines(self): + Function for returning the orders invoiceable lines. + + """ + _inherit = 'purchase.order' + + @api.model + def _nothing_to_invoice_error(self): + """Function to showing user error while there is no products are + received for the purchase order""" + return UserError(_( + "There is nothing to bill!\n\n" + "Reason(s) of this behavior could be:\n" + "- You should recieve your products before billing them: Click on the \"truck\" icon " + "(top-right of your screen) and follow instructions.\n" + "- You should modify the control policy of your product: Open the product, go to the " + "\"Purchase\" tab and modify control policy from \"On received " + "quantities\" to \"On ordered" + "quantities\"." + )) + + def _deduct_payment(self, grouped=False, final=False, date=None): + """ + Create the Bill associated to the PO. + :returns: list of created invoices + """ + invoice_vals_list = [] + invoice_item_sequence = 0 # Incremental sequencing to keep the lines + # order on the invoice. + for order in self: + order = order.with_company(order.company_id) + invoice_vals = order._prepare_invoice() + invoiceable_lines = order._get_invoiceable_lines(final) + if not any(not line.display_type for line in invoiceable_lines): + continue + invoice_line_vals = [] + down_payment_section_added = False + for line in invoiceable_lines: + if not down_payment_section_added and line.is_downpayment: + invoice_line_vals.append( + (0, 0, order._prepare_down_payment_section_line( + sequence=invoice_item_sequence, + )), + ) + down_payment_section_added = True + invoice_item_sequence += 1 + invoice_line_vals.append( + (0, 0, line._prepare_invoice_line( + sequence=invoice_item_sequence, + )), + ) + invoice_item_sequence += 1 + invoice_vals['invoice_line_ids'] += invoice_line_vals + invoice_vals_list.append(invoice_vals) + if not invoice_vals_list: + raise self._nothing_to_invoice_error() + if not grouped: + new_invoice_vals_list = [] + invoice_grouping_keys = self._get_invoice_grouping_keys() + invoice_vals_list = sorted( + invoice_vals_list, + key=lambda x: [ + x.get(grouping_key) for grouping_key in + invoice_grouping_keys + ] + ) + for grouping_keys, invoices in groupby(invoice_vals_list, + key=lambda x: [ + x.get(grouping_key) for + grouping_key in + invoice_grouping_keys]): + origins = set() + payment_refs = set() + refs = set() + ref_invoice_vals = None + for invoice_vals in invoices: + if not ref_invoice_vals: + ref_invoice_vals = invoice_vals + else: + ref_invoice_vals['invoice_line_ids'] += invoice_vals[ + 'invoice_line_ids'] + origins.add(invoice_vals['invoice_origin']) + payment_refs.add(invoice_vals['payment_reference']) + refs.add(invoice_vals['ref']) + ref_invoice_vals.update({ + 'ref': ', '.join(refs)[:2000], + 'invoice_origin': ', '.join(origins), + 'payment_reference': len( + payment_refs) == 1 and payment_refs.pop() or False, + }) + new_invoice_vals_list.append(ref_invoice_vals) + invoice_vals_list = new_invoice_vals_list + if len(invoice_vals_list) < len(self): + PurchaseOrderLine = self.env['purchase.order.line'] + for invoice in invoice_vals_list: + sequence = 1 + for line in invoice['invoice_line_ids']: + line[2][ + 'sequence'] = PurchaseOrderLine._get_invoice_line_sequence( + new=sequence, + old=line[2]['sequence']) + sequence += 1 + moves = self.env['account.move'].sudo().with_context( + default_move_type='out_invoice').create(invoice_vals_list) + return moves + + @api.model + def _prepare_down_payment_section_line(self, **optional_values): + """ + Prepare the dict of values to create a new down payment section for a + purchase order line. :param optional_values: any parameter that + should be added to the returned down payment section + """ + context = {'lang': self.partner_id.lang} + down_payments_section_line = { + 'display_type': 'line_section', + 'name': _('Down Payments'), + 'product_id': False, + 'product_uom_id': False, + 'quantity': 0, + 'discount': 0, + 'price_unit': 0, + 'account_id': False + } + del context + if optional_values: + down_payments_section_line.update(optional_values) + return down_payments_section_line + + def _get_invoice_grouping_keys(self): + """Return invoice grouping keys""" + return ['company_id', 'partner_id', 'currency_id'] + + def _get_invoiceable_lines(self, final=False): + """Return the invoiceable lines for order `self`.""" + down_payment_line_ids = [] + invoiceable_line_ids = [] + pending_section = None + precision = self.env['decimal.precision'].precision_get( + 'Product Unit of Measure') + for line in self.order_line: + line.display_type = '' + if line.display_type == 'line_section': + pending_section = line + continue + if line.display_type != 'line_note' and float_is_zero( + line.qty_to_invoice, precision_digits=precision): + continue + if line.qty_to_invoice > 0 or ( + line.qty_to_invoice < 0 and final) or line.display_type == 'line_note': + if line.is_downpayment: + down_payment_line_ids.append(line.id) + continue + if pending_section: + invoiceable_line_ids.append(pending_section.id) + pending_section = None + invoiceable_line_ids.append(line.id) + return self.env['purchase.order.line'].browse( + invoiceable_line_ids + down_payment_line_ids) diff --git a/purchase_down_payment/models/purchase_order_line.py b/purchase_down_payment/models/purchase_order_line.py new file mode 100644 index 000000000..de743d342 --- /dev/null +++ b/purchase_down_payment/models/purchase_order_line.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +############################################################################## +from odoo import fields, models + + +class PurchaseOrderLine(models.Model): + """ + The class is created for inherited the model purchase.order.line. + + Methods: + _prepare_invoice_line(): + Function to add the invoice lines of down payment + """ + _inherit = 'purchase.order.line' + + is_downpayment = fields.Boolean( + string="Is a down payment", help="Down payments are made when " + "creating Bills from a purchase order." + "They are not copied when " + "duplicating a purchase order.") + + def _prepare_invoice_line(self, **optional_values): + """ + Prepare the dict of values to create the new bill line for a purchase + order line. :param qty: float quantity to bill :param + optional_values: any parameter that should be added to the returned + bill line + """ + self.ensure_one() + res = { + 'display_type': 'product', + 'sequence': self.sequence, + 'name': self.name, + 'product_id': self.product_id.id, + 'product_uom_id': self.product_uom.id, + 'quantity': self.qty_to_invoice, + 'price_unit': self.price_unit, + 'purchase_line_id': self.id, + } + if optional_values: + res.update(optional_values) + if self.display_type: + res['account_id'] = False + return res diff --git a/purchase_down_payment/models/res_config_settings.py b/purchase_down_payment/models/res_config_settings.py new file mode 100644 index 000000000..ab36754d6 --- /dev/null +++ b/purchase_down_payment/models/res_config_settings.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +############################################################################## +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """The class is to created for inherited the model Res Config Settings""" + _inherit = 'res.config.settings' + + po_deposit_default_product_id = fields.Many2one( + 'product.product', + 'PO Deposit Product', + domain="[('type', '=', 'service')]", + config_parameter='purchase_down_payment.po_deposit_default_product_id', + help='Default product used for payment advances in purchase order') diff --git a/purchase_down_payment/security/ir.model.access.csv b/purchase_down_payment/security/ir.model.access.csv new file mode 100644 index 000000000..49557aae6 --- /dev/null +++ b/purchase_down_payment/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_purchase_order_advance_payment_user,access.purchase.order.advance.payment.user,model_purchase_order_advance_payment,base.group_user,1,1,1,1 diff --git a/purchase_down_payment/static/description/assets/icons/capture (1).png b/purchase_down_payment/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/capture (1).png differ diff --git a/purchase_down_payment/static/description/assets/icons/check.png b/purchase_down_payment/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/check.png differ diff --git a/purchase_down_payment/static/description/assets/icons/chevron.png b/purchase_down_payment/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/chevron.png differ diff --git a/purchase_down_payment/static/description/assets/icons/cogs.png b/purchase_down_payment/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/cogs.png differ diff --git a/purchase_down_payment/static/description/assets/icons/consultation.png b/purchase_down_payment/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/consultation.png differ diff --git a/purchase_down_payment/static/description/assets/icons/ecom-black.png b/purchase_down_payment/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/ecom-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/education-black.png b/purchase_down_payment/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/education-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/hotel-black.png b/purchase_down_payment/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/hotel-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/img.png b/purchase_down_payment/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/img.png differ diff --git a/purchase_down_payment/static/description/assets/icons/license.png b/purchase_down_payment/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/license.png differ diff --git a/purchase_down_payment/static/description/assets/icons/lifebuoy.png b/purchase_down_payment/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/lifebuoy.png differ diff --git a/purchase_down_payment/static/description/assets/icons/manufacturing-black.png b/purchase_down_payment/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/manufacturing-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/photo-capture.png b/purchase_down_payment/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/photo-capture.png differ diff --git a/purchase_down_payment/static/description/assets/icons/pos-black.png b/purchase_down_payment/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/pos-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/puzzle.png b/purchase_down_payment/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/puzzle.png differ diff --git a/purchase_down_payment/static/description/assets/icons/restaurant-black.png b/purchase_down_payment/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/restaurant-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/service-black.png b/purchase_down_payment/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/service-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/trading-black.png b/purchase_down_payment/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/trading-black.png differ diff --git a/purchase_down_payment/static/description/assets/icons/training.png b/purchase_down_payment/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/training.png differ diff --git a/purchase_down_payment/static/description/assets/icons/update.png b/purchase_down_payment/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/update.png differ diff --git a/purchase_down_payment/static/description/assets/icons/user.png b/purchase_down_payment/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/user.png differ diff --git a/purchase_down_payment/static/description/assets/icons/wrench.png b/purchase_down_payment/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/purchase_down_payment/static/description/assets/icons/wrench.png differ diff --git a/purchase_down_payment/static/description/assets/misc/Cybrosys R.png b/purchase_down_payment/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/Cybrosys R.png differ diff --git a/purchase_down_payment/static/description/assets/misc/categories.png b/purchase_down_payment/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/categories.png differ diff --git a/purchase_down_payment/static/description/assets/misc/check-box.png b/purchase_down_payment/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/check-box.png differ diff --git a/purchase_down_payment/static/description/assets/misc/compass.png b/purchase_down_payment/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/compass.png differ diff --git a/purchase_down_payment/static/description/assets/misc/corporate.png b/purchase_down_payment/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/corporate.png differ diff --git a/purchase_down_payment/static/description/assets/misc/customer-support.png b/purchase_down_payment/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/customer-support.png differ diff --git a/purchase_down_payment/static/description/assets/misc/cybrosys-logo.png b/purchase_down_payment/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/cybrosys-logo.png differ diff --git a/purchase_down_payment/static/description/assets/misc/email.svg b/purchase_down_payment/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/purchase_down_payment/static/description/assets/misc/features.png b/purchase_down_payment/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/features.png differ diff --git a/purchase_down_payment/static/description/assets/misc/logo.png b/purchase_down_payment/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/logo.png differ diff --git a/purchase_down_payment/static/description/assets/misc/phone.svg b/purchase_down_payment/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/purchase_down_payment/static/description/assets/misc/pictures.png b/purchase_down_payment/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/pictures.png differ diff --git a/purchase_down_payment/static/description/assets/misc/pie-chart.png b/purchase_down_payment/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/pie-chart.png differ diff --git a/purchase_down_payment/static/description/assets/misc/right-arrow.png b/purchase_down_payment/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/right-arrow.png differ diff --git a/purchase_down_payment/static/description/assets/misc/star (1) 2.svg b/purchase_down_payment/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/purchase_down_payment/static/description/assets/misc/star.png b/purchase_down_payment/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/star.png differ diff --git a/purchase_down_payment/static/description/assets/misc/support (1) 1.svg b/purchase_down_payment/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/purchase_down_payment/static/description/assets/misc/support-email.svg b/purchase_down_payment/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/purchase_down_payment/static/description/assets/misc/support.png b/purchase_down_payment/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/support.png differ diff --git a/purchase_down_payment/static/description/assets/misc/tick-mark.svg b/purchase_down_payment/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/purchase_down_payment/static/description/assets/misc/whatsapp 1.svg b/purchase_down_payment/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/purchase_down_payment/static/description/assets/misc/whatsapp.png b/purchase_down_payment/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/purchase_down_payment/static/description/assets/misc/whatsapp.png differ diff --git a/purchase_down_payment/static/description/assets/misc/whatsapp.svg b/purchase_down_payment/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/purchase_down_payment/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/purchase_down_payment/static/description/assets/modules/1.png b/purchase_down_payment/static/description/assets/modules/1.png new file mode 100644 index 000000000..ba1058c42 Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/1.png differ diff --git a/purchase_down_payment/static/description/assets/modules/2.png b/purchase_down_payment/static/description/assets/modules/2.png new file mode 100644 index 000000000..6949185dd Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/2.png differ diff --git a/purchase_down_payment/static/description/assets/modules/3.png b/purchase_down_payment/static/description/assets/modules/3.png new file mode 100644 index 000000000..4e506f79b Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/3.png differ diff --git a/purchase_down_payment/static/description/assets/modules/4.png b/purchase_down_payment/static/description/assets/modules/4.png new file mode 100644 index 000000000..e78427938 Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/4.png differ diff --git a/purchase_down_payment/static/description/assets/modules/5.gif b/purchase_down_payment/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/5.gif differ diff --git a/purchase_down_payment/static/description/assets/modules/5.png b/purchase_down_payment/static/description/assets/modules/5.png new file mode 100755 index 000000000..272ec20f9 Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/5.png differ diff --git a/purchase_down_payment/static/description/assets/modules/6.png b/purchase_down_payment/static/description/assets/modules/6.png new file mode 100644 index 000000000..7d5c3154f Binary files /dev/null and b/purchase_down_payment/static/description/assets/modules/6.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/1.png b/purchase_down_payment/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..4838b9694 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/1.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/10.png b/purchase_down_payment/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..33dc58f25 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/10.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/2.png b/purchase_down_payment/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..8210c46f4 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/2.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/3.png b/purchase_down_payment/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..75620ba1a Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/3.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/4.png b/purchase_down_payment/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..1c5f7dfbd Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/4.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/5.png b/purchase_down_payment/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..e40ebabe3 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/5.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/6.png b/purchase_down_payment/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..31e862440 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/6.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/7.png b/purchase_down_payment/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..eaab08492 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/7.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/8.png b/purchase_down_payment/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..1f2a06ef2 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/8.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/9.png b/purchase_down_payment/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..441653885 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/9.png differ diff --git a/purchase_down_payment/static/description/assets/screenshots/hero.gif b/purchase_down_payment/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..0e8509df1 Binary files /dev/null and b/purchase_down_payment/static/description/assets/screenshots/hero.gif differ diff --git a/purchase_down_payment/static/description/banner.jpg b/purchase_down_payment/static/description/banner.jpg new file mode 100644 index 000000000..e5b304d3a Binary files /dev/null and b/purchase_down_payment/static/description/banner.jpg differ diff --git a/purchase_down_payment/static/description/icon.png b/purchase_down_payment/static/description/icon.png new file mode 100644 index 000000000..422b378e6 Binary files /dev/null and b/purchase_down_payment/static/description/icon.png differ diff --git a/purchase_down_payment/static/description/index.html b/purchase_down_payment/static/description/index.html new file mode 100644 index 000000000..717da0d4c --- /dev/null +++ b/purchase_down_payment/static/description/index.html @@ -0,0 +1,800 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Purchase Down Payment

+

+ Down Payment with Purchase Order. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Provides easy feature to register down payment + against the purchase order.

+
+
+
+
+
+
+ +
+
+

+ User will be able to register down payment in + percentage and amount that would deduct from + vendor bill.

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

+ Down Payment product on the settings

+
+
+
+
+
+
+ +
+
+

+ Button For Creating Vendor Bill in Purchase Order.

+
+
+
+
+
+
+ +
+
+

+ Options For Creating Vendor Bill.

+
+
+
+
+
+
+ +
+
+

+ Down Payment with fixed amount.

+
+
+
+
+
+
+ +
+
+

+ Detailed View of Down Payment(Fixed price).

+
+
+
+
+
+
+ +
+
+

+ Down Payment With Percentage .

+
+
+
+
+
+
+ +
+
+

+ Detailed View of Down Payment(Percentage).

+
+
+
+
+
+
+ +
+
+

+ Down Payment Deduction.

+
+
+
+ +
+
+
+ +
+
+

+ Vendor Bill After Down payment Deduction.

+
+
+
+
+
+
+ +
+
+

+ Vendor Bill For Regular Payment.

+
+
+
+
+
+
+
    +
  • + We can easily + manage the down payment with purchase order. +
  • +
  • + You can choose + whether to deduct the down payment from the + invoice or not. +
  • +
  • + A bill can be + created in three ways: with percentages, with + fixed amounts, or with regular amounts. +
  • +
  • + Available in + Odoo Community and Enterprise. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:11th Jan 2024 +
+

+ + Initial Commit for Purchase Down Payment.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/purchase_down_payment/views/purchase_order_views.xml b/purchase_down_payment/views/purchase_order_views.xml new file mode 100644 index 000000000..a356194fa --- /dev/null +++ b/purchase_down_payment/views/purchase_order_views.xml @@ -0,0 +1,20 @@ + + + + + + purchase.order.view.form.inherit.purchase.down.payment + + purchase.order + + + +