diff --git a/sequence_for_journal/README.rst b/sequence_for_journal/README.rst new file mode 100755 index 000000000..870a78250 --- /dev/null +++ b/sequence_for_journal/README.rst @@ -0,0 +1,44 @@ +.. 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. + +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: (V16)Mohamed Muzammil VP + (V17)Akhil Ashok + 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..438f6d29f --- /dev/null +++ b/sequence_for_journal/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Akhil Ashok(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..330c0155b --- /dev/null +++ b/sequence_for_journal/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Akhil Ashok(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 Journal', + 'version': '17.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': ['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..423658a1d --- /dev/null +++ b/sequence_for_journal/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 29.01.2023 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Sequence For Journal diff --git a/sequence_for_journal/models/__init__.py b/sequence_for_journal/models/__init__.py new file mode 100644 index 000000000..cedbaff45 --- /dev/null +++ b/sequence_for_journal/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Akhil Ashok(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..9009e317f --- /dev/null +++ b/sequence_for_journal/models/account_journal.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Akhil Ashok(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, string="Default Step Size", + help='Step size of journal') + + @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..2382d4b40 --- /dev/null +++ b/sequence_for_journal/models/account_move.py @@ -0,0 +1,90 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Akhil Ashok(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 + if self.journal_id.payment_sequence and self.payment_id or \ + self._context.get('is_payment'): + starting_sequence = "P" + 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..d3d04e980 --- /dev/null +++ b/sequence_for_journal/models/ir_sequence.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Akhil Ashok(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/capture (1).png b/sequence_for_journal/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/capture (1).png differ 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/img.png b/sequence_for_journal/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/img.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/photo-capture.png b/sequence_for_journal/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/sequence_for_journal/static/description/assets/icons/photo-capture.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/Cybrosys R.png b/sequence_for_journal/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/sequence_for_journal/static/description/assets/misc/Cybrosys R.png differ diff --git a/sequence_for_journal/static/description/assets/misc/email.svg b/sequence_for_journal/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sequence_for_journal/static/description/assets/misc/phone.svg b/sequence_for_journal/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/sequence_for_journal/static/description/assets/misc/star (1) 2.svg b/sequence_for_journal/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sequence_for_journal/static/description/assets/misc/support (1) 1.svg b/sequence_for_journal/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sequence_for_journal/static/description/assets/misc/support-email.svg b/sequence_for_journal/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/sequence_for_journal/static/description/assets/misc/tick-mark.svg b/sequence_for_journal/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/sequence_for_journal/static/description/assets/misc/whatsapp 1.svg b/sequence_for_journal/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/sequence_for_journal/static/description/assets/misc/whatsapp.svg b/sequence_for_journal/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/sequence_for_journal/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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..ba1058c42 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..6949185dd 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..4e506f79b 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..e78427938 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 100755 index 000000000..272ec20f9 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..7d5c3154f 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..a4cf035a9 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..7cec541a3 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..ce87bb1e4 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..c2d9ff1c0 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..5355d9afa 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..8f4c29b42 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..ccc688e28 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..c56ae39e8 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..ee427bfe9 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..76c6c4e70 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..efe071147 --- /dev/null +++ b/sequence_for_journal/static/description/index.html @@ -0,0 +1,575 @@ + + + + + + + Sequence For Journal + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Sequence For Journal

+

+ Users can customise Journal's Sequence number. +

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

Journal sequence number.

+

Customise Journal's Sequence number. +

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

+ Open Journals in Configuration Tab.

+
+
+
+
+
+
+ +
+
+

+ Select the Journal or create one.

+
+
+
+
+
+
+ +
+
+

+ Click --> Sequence

+
+
+
+
+
+
+ +
+
+

+ Select the sequence or create new one.

+
+
+
+
+
+
+ +
+
+

+ Fill the fields.

+
+
+
+
+
+
+ +
+
+

+ The Sequence Number is Changed.

+
+
+
+
+
+
+ +
+
+

+ The Sequence Number is Changed.

+
+
+
+
+
+
+
    +
  • + Users can customise Journal's Sequence number. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:8th Dec 2023 +
+

+ Initial Commit for Sequence For Journals.

+
+
+
+
+
+
+

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/sequence_for_journal/views/account_journal_views.xml b/sequence_for_journal/views/account_journal_views.xml new file mode 100644 index 000000000..de8831503 --- /dev/null +++ b/sequence_for_journal/views/account_journal_views.xml @@ -0,0 +1,25 @@ + + + + + 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..f2e546e47 --- /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 + +