diff --git a/sequence_for_journal/README.rst b/sequence_for_journal/README.rst new file mode 100755 index 000000000..dadd8847d --- /dev/null +++ b/sequence_for_journal/README.rst @@ -0,0 +1,37 @@ +.. 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 + +Sequence For Journals +===================== +Create customized Journal Names + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: Mohamed Muzammil VP @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/sequence_for_journal/__init__.py b/sequence_for_journal/__init__.py new file mode 100644 index 000000000..60bc79d7a --- /dev/null +++ b/sequence_for_journal/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohamed Muzammil VP(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 . +# +############################################################################### +from . import models diff --git a/sequence_for_journal/__manifest__.py b/sequence_for_journal/__manifest__.py new file mode 100644 index 000000000..c579ee8ec --- /dev/null +++ b/sequence_for_journal/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohamed Muzammil VP(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': 'Sequence For Journals', + 'version': '15.0.1.0.0', + 'category': 'Accounting', + 'summary': """Customise Sequence Number of Journals""", + 'description': """Users can customise the sequence number of journals, + Users can edit the journal's sequence still after a + entry is posted""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'http://www.cybrosys.com', + 'depends': ['base', 'account'], + 'data': [ + 'views/account_journal_views.xml', + 'views/ir_sequence_views.xml', + ], + 'license': 'AGPL-3', + 'images': ['static/description/banner.jpg'], + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/sequence_for_journal/doc/RELEASE_NOTES.md b/sequence_for_journal/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..faebbdedd --- /dev/null +++ b/sequence_for_journal/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 17.04.2023 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Sequence For Journals diff --git a/sequence_for_journal/models/__init__.py b/sequence_for_journal/models/__init__.py new file mode 100644 index 000000000..85d7c4656 --- /dev/null +++ b/sequence_for_journal/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohamed Muzammil VP(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 . +# +############################################################################### +from . import account_journal +from . import account_move +from . import ir_sequence diff --git a/sequence_for_journal/models/account_journal.py b/sequence_for_journal/models/account_journal.py new file mode 100644 index 000000000..ec95b1780 --- /dev/null +++ b/sequence_for_journal/models/account_journal.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohamed Muzammil VP(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 . +# +############################################################################### +from odoo import api, fields, models + + +class AccountJournal(models.Model): + """inherit account.journal to add fields and methods""" + _inherit = 'account.journal' + + sequence_id = fields.Many2one('ir.sequence', string='Sequence', + help='Select the sequence or create one') + step_size = fields.Integer(related='sequence_id.number_next_actual', + string='Step', + help="Step size, how a sequence's next number" + " is calculated") + default_step_size = fields.Integer(default=1, help='Step size of journal', + string="Default Step Size") + + @api.onchange('sequence_id') + def _onchange_sequence_id(self): + """writing the prefix value to the short code field""" + self.code = self.sequence_id.prefix + self.sequence_id.account_journal_id = self._origin.id + + @api.onchange('code') + def _onchange_code(self): + """change the value in prefix field in ir.sequence model when the + value in code field is changed""" + self.sequence_id.prefix = self.code diff --git a/sequence_for_journal/models/account_move.py b/sequence_for_journal/models/account_move.py new file mode 100644 index 000000000..03d1edd04 --- /dev/null +++ b/sequence_for_journal/models/account_move.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohamed Muzammil VP(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 . +# +############################################################################### +from odoo import models + + +class AccountMove(models.Model): + """inherit account.move to add methods""" + _inherit = 'account.move' + + def _get_starting_sequence(self): + """Overriding the methode, this methode get the initial sequence of a + journal""" + self.ensure_one() + if self.journal_id.type in ['sale', 'bank', 'cash'] and \ + self.journal_id.sequence_id.suffix: + starting_sequence = "%s/%s/%s%s" % ( + self.journal_id.sequence_id.prefix, + self.date.year, + self.journal_id.step_size, + self.journal_id.sequence_id.suffix) + elif self.journal_id.type in ['sale', 'bank', 'cash']: + starting_sequence = "%s/%s/000%d" % ( + self.journal_id.code, + self.date.year, + self.journal_id.step_size) + elif self.journal_id.type in ['purchase', 'general'] and \ + self.journal_id.sequence_id.suffix: + starting_sequence = "%s/%s/%s%s" % ( + self.journal_id.sequence_id.prefix, self.date.year, + self.journal_id.step_size, + self.journal_id.sequence_id.suffix) + else: + starting_sequence = "%s/%s/%s000" % ( + self.journal_id.code, self.date.year, + self.journal_id.default_step_size) + if self.journal_id.refund_sequence and self.move_type in ( + 'out_refund', 'in_refund'): + starting_sequence = "R" + starting_sequence + return starting_sequence + + def _set_next_sequence(self): + """Overriding, to get the next sequence number""" + self.ensure_one() + last_sequence = self._get_last_sequence() + new = not last_sequence + if new: + last_sequence = self._get_last_sequence(relaxed=True) or \ + self._get_starting_sequence() + + format, format_values = self._get_sequence_format_param(last_sequence) + if new: + format_values['seq'] = 0 + if self.journal_id.sequence_id.number_increment > 0: + interpolated_prefix, interpolated_suffix = \ + self.journal_id.sequence_id._get_prefix_suffix() + format_values['seq'] = format_values['seq'] + self.journal_id.\ + sequence_id.number_increment + format_values['prefix1'] = interpolated_prefix + "/" + if self.journal_id.sequence_id.suffix: + format_values[ + 'suffix'] = "/" + interpolated_suffix + else: + format_values['suffix'] = "" + else: + format_values['seq'] = format_values['seq'] + \ + self.journal_id.default_step_size + self[self._sequence_field] = format.format(**format_values) + self._compute_split_sequence() diff --git a/sequence_for_journal/models/ir_sequence.py b/sequence_for_journal/models/ir_sequence.py new file mode 100644 index 000000000..bd3e299a9 --- /dev/null +++ b/sequence_for_journal/models/ir_sequence.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohamed Muzammil VP(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 . +# +############################################################################### +from odoo import api, fields, models + + +class IrSequence(models.Model): + """inherit ir.sequence to add fields and methods""" + _inherit = "ir.sequence" + + account_journal_id = fields.Many2one('account.journal', + help="To add the prefix entered in " + "sequence to journal", + string="Journals") + + @api.onchange('prefix') + def _onchange_prefix(self): + """change the value in code field in account.journal model when + value in prefix changed""" + self.account_journal_id.code = self.prefix diff --git a/sequence_for_journal/static/description/assets/icons/check.png b/sequence_for_journal/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/check.png differ diff --git a/sequence_for_journal/static/description/assets/icons/chevron.png b/sequence_for_journal/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/chevron.png differ diff --git a/sequence_for_journal/static/description/assets/icons/cogs.png b/sequence_for_journal/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/cogs.png differ diff --git a/sequence_for_journal/static/description/assets/icons/consultation.png b/sequence_for_journal/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/consultation.png differ diff --git a/sequence_for_journal/static/description/assets/icons/ecom-black.png b/sequence_for_journal/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/ecom-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/education-black.png b/sequence_for_journal/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/education-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/hotel-black.png b/sequence_for_journal/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/hotel-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/license.png b/sequence_for_journal/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/license.png differ diff --git a/sequence_for_journal/static/description/assets/icons/lifebuoy.png b/sequence_for_journal/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/lifebuoy.png differ diff --git a/sequence_for_journal/static/description/assets/icons/manufacturing-black.png b/sequence_for_journal/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/manufacturing-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/pos-black.png b/sequence_for_journal/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/pos-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/puzzle.png b/sequence_for_journal/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/puzzle.png differ diff --git a/sequence_for_journal/static/description/assets/icons/restaurant-black.png b/sequence_for_journal/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/restaurant-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/service-black.png b/sequence_for_journal/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/service-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/trading-black.png b/sequence_for_journal/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/trading-black.png differ diff --git a/sequence_for_journal/static/description/assets/icons/training.png b/sequence_for_journal/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/training.png differ diff --git a/sequence_for_journal/static/description/assets/icons/update.png b/sequence_for_journal/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/update.png differ diff --git a/sequence_for_journal/static/description/assets/icons/user.png b/sequence_for_journal/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/user.png differ diff --git a/sequence_for_journal/static/description/assets/icons/wrench.png b/sequence_for_journal/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/wrench.png differ diff --git a/sequence_for_journal/static/description/assets/misc/categories.png b/sequence_for_journal/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/categories.png differ diff --git a/sequence_for_journal/static/description/assets/misc/check-box.png b/sequence_for_journal/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/check-box.png differ diff --git a/sequence_for_journal/static/description/assets/misc/compass.png b/sequence_for_journal/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/compass.png differ diff --git a/sequence_for_journal/static/description/assets/misc/corporate.png b/sequence_for_journal/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/corporate.png differ diff --git a/sequence_for_journal/static/description/assets/misc/customer-support.png b/sequence_for_journal/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/customer-support.png differ diff --git a/sequence_for_journal/static/description/assets/misc/cybrosys-logo.png b/sequence_for_journal/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/cybrosys-logo.png differ diff --git a/sequence_for_journal/static/description/assets/misc/features.png b/sequence_for_journal/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/features.png differ diff --git a/sequence_for_journal/static/description/assets/misc/logo.png b/sequence_for_journal/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/logo.png differ diff --git a/sequence_for_journal/static/description/assets/misc/pictures.png b/sequence_for_journal/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/pictures.png differ diff --git a/sequence_for_journal/static/description/assets/misc/pie-chart.png b/sequence_for_journal/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/pie-chart.png differ diff --git a/sequence_for_journal/static/description/assets/misc/right-arrow.png b/sequence_for_journal/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/right-arrow.png differ diff --git a/sequence_for_journal/static/description/assets/misc/star.png b/sequence_for_journal/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/star.png differ diff --git a/sequence_for_journal/static/description/assets/misc/support.png b/sequence_for_journal/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/support.png differ diff --git a/sequence_for_journal/static/description/assets/misc/whatsapp.png b/sequence_for_journal/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/whatsapp.png differ diff --git a/sequence_for_journal/static/description/assets/modules/1.png b/sequence_for_journal/static/description/assets/modules/1.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/1.png differ diff --git a/sequence_for_journal/static/description/assets/modules/2.png b/sequence_for_journal/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/2.png differ diff --git a/sequence_for_journal/static/description/assets/modules/3.png b/sequence_for_journal/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/3.png differ diff --git a/sequence_for_journal/static/description/assets/modules/4.png b/sequence_for_journal/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/4.png differ diff --git a/sequence_for_journal/static/description/assets/modules/5.gif b/sequence_for_journal/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/5.gif differ diff --git a/sequence_for_journal/static/description/assets/modules/6.png b/sequence_for_journal/static/description/assets/modules/6.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/6.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/1.png b/sequence_for_journal/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..e95e5b5ce Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/1.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/2.png b/sequence_for_journal/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..c83259737 Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/2.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/3.png b/sequence_for_journal/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..7f78809d4 Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/3.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/4.png b/sequence_for_journal/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..7065dbe2c Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/4.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/5.png b/sequence_for_journal/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..0c32a8115 Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/5.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/6.png b/sequence_for_journal/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..779c96414 Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/6.png differ diff --git a/sequence_for_journal/static/description/assets/screenshots/hero.gif b/sequence_for_journal/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..fc6eac14e Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/hero.gif differ diff --git a/sequence_for_journal/static/description/banner.jpg b/sequence_for_journal/static/description/banner.jpg new file mode 100644 index 000000000..7e5d02c10 Binary files /dev/null and b/sequence_for_journal/static/description/banner.jpg differ diff --git a/sequence_for_journal/static/description/icon.png b/sequence_for_journal/static/description/icon.png new file mode 100644 index 000000000..b3d5ffd93 Binary files /dev/null and b/sequence_for_journal/static/description/icon.png differ diff --git a/sequence_for_journal/static/description/index.html b/sequence_for_journal/static/description/index.html new file mode 100644 index 000000000..8e1d097c0 --- /dev/null +++ b/sequence_for_journal/static/description/index.html @@ -0,0 +1,538 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Sequence For Journals

+

Users can customise Journal's Sequence number

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ This module helps users to customise journal's sequence number. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Support in Desktop. +
+
+
+
+ + Customise Journal's Sequence number +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Customise Journals +

+ +
+ +
+

Click ->Sequence

+ +

Select the sequence or create one

+ +
+
+

Fill the fields

+ +
+
+

Move it to the top

+ +
+
+

Newly created sequence

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

Suggested + 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/sequence_for_journal/views/account_journal_views.xml b/sequence_for_journal/views/account_journal_views.xml new file mode 100644 index 000000000..8406fc035 --- /dev/null +++ b/sequence_for_journal/views/account_journal_views.xml @@ -0,0 +1,22 @@ + + + + + account.journal.view.form.inherit.sequence.for.journal + account.journal + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sequence_for_journal/views/ir_sequence_views.xml b/sequence_for_journal/views/ir_sequence_views.xml new file mode 100644 index 000000000..a9806d0f2 --- /dev/null +++ b/sequence_for_journal/views/ir_sequence_views.xml @@ -0,0 +1,123 @@ + + + + + ir.sequence.view.form.sequence.for.journal + ir.sequence + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Current Year with + Century: %%(year)s + + Current Year without + Century: %%(y)s + + Month: %%(month)s + Day: %%(day)s + + + Day of the Year: + %%(doy)s + + Week of the Year: + %%(woy)s + + Day of the Week + (0:Monday): %%(weekday)s + + + + Hour 00->24: %%(h24)s + + Hour 00->12: %%(h12)s + + Minute: %%(min)s + Second: %%(sec)s + + + +
+ When subsequences per date range are used, + you can prefix variables with 'range_' + to use the beginning of the range instead + of the current date, e.g. %%(range_year)s + instead of %%(year)s. +
+
+
+
+
+
+
+
+ + + ir.sequence.view.tree.sequence.for.journal + ir.sequence + + + + + + + + + + + + + ir.sequence.view.search.sequence.for.journal + ir.sequence + + + + + + + + + + + + + ir.sequence.action.sequence.for.journal + ir.actions.act_window + ir.sequence + +