mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
117 lines
4.5 KiB
ReStructuredText
117 lines
4.5 KiB
ReStructuredText
=======================
|
|
Account Sequence Option
|
|
=======================
|
|
|
|
..
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
!! This file is generated by oca-gen-addon-readme !!
|
|
!! changes will be overwritten. !!
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
!! source digest: sha256:28733b1121285c3f10186d8b333d79bd9e5806cc6e3215364cc042cbc095a8f8
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
|
|
:target: https://odoo-community.org/page/development-status
|
|
:alt: Alpha
|
|
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
|
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
|
:alt: License: LGPL-3
|
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github
|
|
:target: https://github.com/OCA/account-financial-tools/tree/16.0/account_sequence_option
|
|
:alt: OCA/account-financial-tools
|
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
:target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_sequence_option
|
|
:alt: Translate me on Weblate
|
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=16.0
|
|
:alt: Try me on Runboat
|
|
|
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
|
|
This module extends module base_sequence_option and allow you to
|
|
provide optional sequences for account.move documents, i.e., invoice, bill, journal entry.
|
|
|
|
To use this module, enable developer mode, and check "Use sequence options"
|
|
under Settings -> Technical -> Manage Sequence Options.
|
|
|
|
If you want to define your sequences in XML, feel free to use
|
|
demo/account_demo_options.xml as a base for your own sequence definitions.
|
|
|
|
The demo sequences use a continuous numbering scheme, without the current year
|
|
in the generated name. To use a scheme that does include the year, set
|
|
``use_date_range`` to ``true``, and use ``%(range_year)s`` the represent the
|
|
year.
|
|
For example, to generate an invoice scheme that will generate "2022F00001" in
|
|
2022, try::
|
|
|
|
<record id="seq_customer_invoice_1" model="ir.sequence">
|
|
<field name="name">Customer Invoice</field>
|
|
<field name="padding" eval="5" />
|
|
<field name="prefix">%(range_year)sF</field>
|
|
<field name="use_date_range">true</field>
|
|
</record>
|
|
|
|
Odoo will generate the date ranges automagically when the first invoice (or
|
|
vendor bill, etc) of a year is posted.
|
|
|
|
.. IMPORTANT::
|
|
This is an alpha version, the data model and design can change at any time without warning.
|
|
Only for development or testing purpose, do not use in production.
|
|
`More details on development status <https://odoo-community.org/page/development-status>`_
|
|
|
|
**Table of contents**
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
Bug Tracker
|
|
===========
|
|
|
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/issues>`_.
|
|
In case of trouble, please check there if your issue has already been reported.
|
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_sequence_option%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
|
|
Do not contact contributors directly about support or help with technical issues.
|
|
|
|
Credits
|
|
=======
|
|
|
|
Authors
|
|
~~~~~~~
|
|
|
|
* Ecosoft
|
|
|
|
Contributors
|
|
~~~~~~~~~~~~
|
|
|
|
* Kitti U. <kittiu@ecosoft.co.th>
|
|
* `Sygel <https://www.sygel.es>`_:
|
|
|
|
* Ángel García de la Chica Herrera
|
|
|
|
Maintainers
|
|
~~~~~~~~~~~
|
|
|
|
This module is maintained by the OCA.
|
|
|
|
.. image:: https://odoo-community.org/logo.png
|
|
:alt: Odoo Community Association
|
|
:target: https://odoo-community.org
|
|
|
|
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
mission is to support the collaborative development of Odoo features and
|
|
promote its widespread use.
|
|
|
|
.. |maintainer-kittiu| image:: https://github.com/kittiu.png?size=40px
|
|
:target: https://github.com/kittiu
|
|
:alt: kittiu
|
|
|
|
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
|
|maintainer-kittiu|
|
|
|
|
This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_sequence_option>`_ project on GitHub.
|
|
|
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|