diff --git a/analytic_account_split_amount/README.rst b/analytic_account_split_amount/README.rst deleted file mode 100644 index 933466e06..000000000 --- a/analytic_account_split_amount/README.rst +++ /dev/null @@ -1,42 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -Analytic Account Split Amount -======================= -Analytic Account Split Amount - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (AGPL v3). -(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) - -Credits -------- -Developer: Ammu @cybrosys, 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/analytic_account_split_amount/__init__.py b/analytic_account_split_amount/__init__.py deleted file mode 100644 index 2762b2360..000000000 --- a/analytic_account_split_amount/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Ammu (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. -# If not, see . -# -################################################################################ diff --git a/analytic_account_split_amount/__manifest__.py b/analytic_account_split_amount/__manifest__.py deleted file mode 100644 index 890b71eb8..000000000 --- a/analytic_account_split_amount/__manifest__.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Ammu (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. -# If not, see . -# -################################################################################ -{ - 'name': 'Analytic Account Split Amount', - 'version': '16.0.1.0.0', - 'category': 'Accounting', - 'summary': 'Analytic account split amount with percentage', - 'description': 'Allows to split the total amount by required amount', - 'author': 'Cybrosys Techno solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': 'https://www.cybrosys.com', - 'depends': ['account_accountant', 'analytic', 'stock'], - 'data': ['views/account_move_views.xml'], - 'assets': { - 'web.assets_backend': [ - 'analytic_account_split_amount/static/src/xml/analytic_distribution_split.xml', - 'analytic_account_split_amount/static/src/js/analytic_distribution_split.js', - ], - }, - 'license': 'AGPL-3', - 'images': ['static/description/banner.png'], - 'installable': True, - 'application': False, - 'auto_install': False, -} diff --git a/analytic_account_split_amount/doc/RELEASE_NOTES.md b/analytic_account_split_amount/doc/RELEASE_NOTES.md deleted file mode 100644 index d9064f4dd..000000000 --- a/analytic_account_split_amount/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 10.07.2023 -#### Version 16.0.1.0.0 -#### ADD -- Initial commit for Analytic Account Split Amount diff --git a/analytic_account_split_amount/static/description/assets/icons/check.png b/analytic_account_split_amount/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/check.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/chevron.png b/analytic_account_split_amount/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/cogs.png b/analytic_account_split_amount/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/consultation.png b/analytic_account_split_amount/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/ecom-black.png b/analytic_account_split_amount/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/education-black.png b/analytic_account_split_amount/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/hotel-black.png b/analytic_account_split_amount/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/license.png b/analytic_account_split_amount/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/license.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/lifebuoy.png b/analytic_account_split_amount/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/manufacturing-black.png b/analytic_account_split_amount/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/pos-black.png b/analytic_account_split_amount/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/puzzle.png b/analytic_account_split_amount/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/restaurant-black.png b/analytic_account_split_amount/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/service-black.png b/analytic_account_split_amount/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/trading-black.png b/analytic_account_split_amount/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/training.png b/analytic_account_split_amount/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/training.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/update.png b/analytic_account_split_amount/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/update.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/user.png b/analytic_account_split_amount/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/user.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/icons/wrench.png b/analytic_account_split_amount/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/analytic_account_split_amount/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/categories.png b/analytic_account_split_amount/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/categories.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/check-box.png b/analytic_account_split_amount/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/compass.png b/analytic_account_split_amount/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/compass.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/corporate.png b/analytic_account_split_amount/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/customer-support.png b/analytic_account_split_amount/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/cybrosys-logo.png b/analytic_account_split_amount/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/features.png b/analytic_account_split_amount/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/features.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/logo.png b/analytic_account_split_amount/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/logo.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/pictures.png b/analytic_account_split_amount/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/pie-chart.png b/analytic_account_split_amount/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/right-arrow.png b/analytic_account_split_amount/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/star.png b/analytic_account_split_amount/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/star.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/support.png b/analytic_account_split_amount/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/support.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/misc/whatsapp.png b/analytic_account_split_amount/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/analytic_account_split_amount/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/modules/1.png b/analytic_account_split_amount/static/description/assets/modules/1.png deleted file mode 100644 index 15b141248..000000000 Binary files a/analytic_account_split_amount/static/description/assets/modules/1.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/modules/2.png b/analytic_account_split_amount/static/description/assets/modules/2.png deleted file mode 100644 index 57eebc5b2..000000000 Binary files a/analytic_account_split_amount/static/description/assets/modules/2.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/modules/3.png b/analytic_account_split_amount/static/description/assets/modules/3.png deleted file mode 100644 index 31ed46762..000000000 Binary files a/analytic_account_split_amount/static/description/assets/modules/3.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/modules/4.png b/analytic_account_split_amount/static/description/assets/modules/4.png deleted file mode 100644 index f14dc60c5..000000000 Binary files a/analytic_account_split_amount/static/description/assets/modules/4.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/modules/5.png b/analytic_account_split_amount/static/description/assets/modules/5.png deleted file mode 100644 index 216c130e0..000000000 Binary files a/analytic_account_split_amount/static/description/assets/modules/5.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/modules/6.png b/analytic_account_split_amount/static/description/assets/modules/6.png deleted file mode 100644 index dd2b151c6..000000000 Binary files a/analytic_account_split_amount/static/description/assets/modules/6.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/screenshots/analytic1.png b/analytic_account_split_amount/static/description/assets/screenshots/analytic1.png deleted file mode 100644 index 37023d231..000000000 Binary files a/analytic_account_split_amount/static/description/assets/screenshots/analytic1.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/screenshots/analytic2.png b/analytic_account_split_amount/static/description/assets/screenshots/analytic2.png deleted file mode 100644 index 048accf06..000000000 Binary files a/analytic_account_split_amount/static/description/assets/screenshots/analytic2.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/screenshots/analytic3.png b/analytic_account_split_amount/static/description/assets/screenshots/analytic3.png deleted file mode 100644 index 523748010..000000000 Binary files a/analytic_account_split_amount/static/description/assets/screenshots/analytic3.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/screenshots/analytic4.png b/analytic_account_split_amount/static/description/assets/screenshots/analytic4.png deleted file mode 100644 index 3967bd484..000000000 Binary files a/analytic_account_split_amount/static/description/assets/screenshots/analytic4.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/assets/screenshots/hero.gif b/analytic_account_split_amount/static/description/assets/screenshots/hero.gif deleted file mode 100644 index 05eecb760..000000000 Binary files a/analytic_account_split_amount/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/analytic_account_split_amount/static/description/banner.png b/analytic_account_split_amount/static/description/banner.png deleted file mode 100644 index aaa358110..000000000 Binary files a/analytic_account_split_amount/static/description/banner.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/icon.png b/analytic_account_split_amount/static/description/icon.png deleted file mode 100644 index 544102987..000000000 Binary files a/analytic_account_split_amount/static/description/icon.png and /dev/null differ diff --git a/analytic_account_split_amount/static/description/index.html b/analytic_account_split_amount/static/description/index.html deleted file mode 100644 index b72215892..000000000 --- a/analytic_account_split_amount/static/description/index.html +++ /dev/null @@ -1,520 +0,0 @@ -
- -
- -
-
- Enterprise -
-
-
- -
-
-
- -

- Analytic Account Split Amount -

-

Allows to split the total amount by the required amount more than percentage

- - -
-
-
-
- - -
-
- -
-

Explore This - Module

-
- - - - -
-
- -
-

Overview -

-
-
-
- Odoo only allows to split the amount to analytic account by percentage, this app allows to split the amount in amount. -
-
- - - -
-
- -
-

Features -

-
-
-
-
- - Allows to split the amount in amount more than percentage. -
-
-
- - - -
-
- -
-

Screenshots -

-
-
-
- -
-

Widget with amount option. -

-

You can view the widget of Analytic with Amount option.

- -
- -
-

Set amount -

-

Here you can set required amount for the required analytic account.

- -
- -
-

You can see the amount is converted to percentage and added to order line.

- -
-
-

Here the corresponding Analytic account is effected by the amount.

- -
- -
-
- - - -
-
- -
-

Related - Products -

-
-
-
- -
-
- - - - -
-
- -
-

Our Services -

-
- -
-
-
-
- -
-
- Odoo - Customization
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- Odoo - Support
-
- - -
-
- -
-
- Hire - Odoo - Developer
-
- -
-
- -
-
- Odoo - Integration
-
- -
-
- -
-
- Odoo - Migration
-
- - -
-
- -
-
- Odoo - Consultancy
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- 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 86068 - 27707

-
-
-
-
-
-
-
- -
-
-
- \ No newline at end of file diff --git a/analytic_account_split_amount/static/src/js/analytic_distribution_split.js b/analytic_account_split_amount/static/src/js/analytic_distribution_split.js deleted file mode 100644 index 4dcd9235e..000000000 --- a/analytic_account_split_amount/static/src/js/analytic_distribution_split.js +++ /dev/null @@ -1,52 +0,0 @@ -/** @odoo-module **/ - -import { registry } from "@web/core/registry"; -import { AnalyticDistribution } from "@analytic/components/analytic_distribution/analytic_distribution"; - - -export class AnalyticDistributionAmount extends AnalyticDistribution { - -//For saving the amount permanently in widget - async amountChange(dist_tag, ev) { - dist_tag.amount = this.parse(ev.target.value); - let total = this.props.record.data.price_subtotal; - let value = this.parse(ev.target.value) / total * 100; - dist_tag.percentage = value; - if (this.remainderByGroup(dist_tag.group_id)) { - this.setFocusSelector(`#plan_${dist_tag.group_id} .incomplete .o_analytic_account_name`); - } - this.autoFill(); - } - -// For saving the amount permanently in widget - async formatData(nextProps) { - const price= nextProps.record.data.price_subtotal - const data = nextProps.value; - const analytic_account_ids = Object.keys(data).map((id) => parseInt(id)); - const records = analytic_account_ids.length ? await this.fetchAnalyticAccounts([["id", "in", analytic_account_ids]]) : []; - if (records.length < data.length) { - console.log('removing tags... value should be updated'); - } - let widgetData = Object.assign({}, ...this.allPlans.map((plan) => ({[plan.id]: {...plan, distribution: []}}))); - records.map((record) => { - if (!widgetData[record.root_plan_id[0]]) { - // plans might not have been retrieved - widgetData[record.root_plan_id[0]] = { distribution: [] } - } - const amount = data[record.id] * price/100 - widgetData[record.root_plan_id[0]].distribution.push({ - analytic_account_id: record.id, - percentage: data[record.id], - amount: amount, - id: this.nextId++, - group_id: record.root_plan_id[0], - analytic_account_name: record.display_name, - color: record.color, - }); - }); - - this.state.list = widgetData; - } -} - -registry.category("fields").add("analytic_distribution_amount", AnalyticDistributionAmount); \ No newline at end of file diff --git a/analytic_account_split_amount/static/src/xml/analytic_distribution_split.xml b/analytic_account_split_amount/static/src/xml/analytic_distribution_split.xml deleted file mode 100644 index 5f926358c..000000000 --- a/analytic_account_split_amount/static/src/xml/analytic_distribution_split.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - -
-
-
-
Analytic
-
- - -
-
-
-
- No plans available - - - - - - - - - - - - - - - - - - - -
PercentageAmount
- - - - - -
-
-
-
-
- - diff --git a/analytic_account_split_amount/views/account_move_views.xml b/analytic_account_split_amount/views/account_move_views.xml deleted file mode 100644 index 80b7324e4..000000000 --- a/analytic_account_split_amount/views/account_move_views.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - account.move.view.form.inherit.analytic.account.split.amount - - account.move - - - - - - - -