diff --git a/sequence_for_journal/README.rst b/sequence_for_journal/README.rst new file mode 100755 index 000000000..d2de20a73 --- /dev/null +++ b/sequence_for_journal/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Sequence For Journals +====================== +Create customized Journal Names + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE Version 3 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V14) Mohamed Muzammil VP @cybrosys, + +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..bedfe3143 --- /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': '14.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', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + '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..f86dd2e5a --- /dev/null +++ b/sequence_for_journal/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 11.01.2024 +#### Version 14.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..cd3650095 --- /dev/null +++ b/sequence_for_journal/models/__init__.py @@ -0,0 +1,23 @@ +# -*- 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 diff --git a/sequence_for_journal/models/account_journal.py b/sequence_for_journal/models/account_journal.py new file mode 100644 index 000000000..482d75efb --- /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 the model to add fields and functions""" + _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 size', + help="Step size, how a sequence's next number " + "is calculated") + step_size_default = fields.Integer(default=1, string="Default Step Size", + help='Default step size of journal') + + @api.onchange('sequence_id') + def _onchange_sequence(self): + """writing the prefix value to the short code field""" + prefix = self.sequence_id.prefix + self.code = prefix + + @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..d9546e99f --- /dev/null +++ b/sequence_for_journal/models/account_move.py @@ -0,0 +1,88 @@ +# -*- 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 method gets 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.code, + 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_default) + elif self.journal_id.type in ['purchase', 'general'] and \ + self.journal_id.sequence_id.suffix: + starting_sequence = "%s/%s/%s%s" % ( + self.journal_id.code, 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.next_number) + 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, can change the prefix + and suffix of 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.step_size_default + self[self._sequence_field] = format.format(**format_values) + self._compute_split_sequence() 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..f55c47e0f 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..0c9bb377e 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..d0bd6014d 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..e6f38c747 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.png b/sequence_for_journal/static/description/assets/modules/5.png new file mode 100644 index 000000000..ee36ed365 Binary files /dev/null and b/sequence_for_journal/static/description/assets/modules/5.png 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..90bf4d489 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..22c340ee1 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..012d69895 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..b711ba35e 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..b9a30ed48 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..9c3a7a179 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..f139bd731 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/7.png b/sequence_for_journal/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..02491aa85 Binary files /dev/null and b/sequence_for_journal/static/description/assets/screenshots/7.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..329cf3224 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..23c96891b 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..88e3a2064 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..33940ab7d --- /dev/null +++ b/sequence_for_journal/static/description/index.html @@ -0,0 +1,519 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ +
+
+
+ +

+ Sequence For Journals

+

Users can customise Journal's Sequence number

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ The module has a feature to re-index journals, which means reassigning + sequential numbers to all journals in a particular order. This is helpful to maintain consistency and order in the journal records.
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Support in Desktop and Mobile +
+
+
+
+ + Customise Journal's Sequence number +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+
+

Customise Journals +

+

Select Journals from the configuration menu.

+ +
+
+

Either select an existing Journal or create a new one. +

+ +
+
+

Click on Sequence tab +

+ +

Select the sequence or create one +

+ +
+
+

Fill the fields +

+

Prefix: Characters or numbers need to be placed at the beginning of the journal number.

+

Suffix: Characters or numbers need to be placed at the end of the journal number.

+

Step: Step size determines the specific amount by which each journal number increases.

+ +
+
+

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

+
+
+
+
+
+
+
+ +
+
+
+ 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..09a394f17 --- /dev/null +++ b/sequence_for_journal/views/account_journal_views.xml @@ -0,0 +1,20 @@ + + + + + account.journal.view.form.inherit.sequence.for.journal + account.journal + + + + + + + + + + + + + + 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..435a98f08 --- /dev/null +++ b/sequence_for_journal/views/ir_sequence_views.xml @@ -0,0 +1,121 @@ + + + + + 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 + + + + + + + + + + + + + ir.sequence + + + + + + + + + + + + + ir.sequence.action.sequence.for.journal + ir.actions.act_window + ir.sequence + +