Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3b2bd31
[13.0][ADD] account_invoice_section_sale_order
TDu Jun 30, 2020
8351d0c
[IMP] account_invoice_section_sale_order: black, isort, prettier
phuctranfxvn Dec 20, 2020
43ef104
[MIG] account_invoice_section_sale_order: Migration to 14.0
phuctranfxvn Dec 20, 2020
e467175
[IMP] add a hook to get ordered invoice lines
sebalix Feb 10, 2021
32f53c8
account_invoice_section_sale_order fix create_invoice
TDu Dec 1, 2021
b36af90
[IMP] account_invoice_section_sale_order: black, isort, prettier
Jan 4, 2022
9c57014
[mig] Odoo 15 fixes
Jan 4, 2022
b8a9a2a
[15.0] fix remove unused date-parameter from _create_invoices
Jan 10, 2022
7ca30e9
[15.0][FIX] Remove tests from init
CRogos Nov 9, 2022
7c4f941
[MIG] account_invoice_section_sale_order: Migration to 16.0
rven Apr 28, 2023
d269d64
Added translation using Weblate (Spanish)
Gelo-fl Sep 20, 2023
fd663a8
[IMP] account_invoice_section_sale_order: pre-commit auto fixes
NICO-SOLUTIONS Jan 7, 2024
bbfeba5
[MIG] account_invoice_section_sale_order: Migration to 17.0
NICO-SOLUTIONS Jan 7, 2024
71c3b53
Added translation using Weblate (Italian)
mymage Jul 22, 2024
d69937e
Translated using Weblate (Italian)
mymage Jul 22, 2024
5fe8f1a
account_invoice_section_sale_order: Custom section name
grindtildeath Nov 29, 2021
f88fcc3
[FIX] fix passing default_journal_id when invoicing
sebastienbeau Mar 15, 2022
47e1f87
[FIX] account_invoice_section_sale: fix invoice total when using curr…
sebastienbeau Apr 11, 2022
36dca4d
[FIX] account_invoice_section_sale_order: Avoid problems in integrati…
pedrobaeza Feb 24, 2023
6bb8525
Translated using Weblate (Italian)
mymage Oct 24, 2024
6a90cb9
account_invoice_section_sale_order: Fix read/write access
mmequignon Aug 9, 2024
88763bb
account_invoice_section_sale_order: fix access right tests not running
simahawk Dec 9, 2024
137dccd
account_invoice_section_sale_order: fix access right on move line write
simahawk Dec 9, 2024
e16fced
[FIX] account_invoice_section_sale_order check line_ids exists
sergiocorato Aug 1, 2024
512f7c3
[IMP] account_invoice_section_sale_order: pre-commit auto fixes
Nov 1, 2024
f1f9874
[MIG] account_invoice_section_sale_order: Migration to 18.0
Nov 1, 2024
7117640
[UPD] Update account_invoice_section_sale_order.pot
Jun 4, 2025
e5423dc
[BOT] post-merge updates
OCA-git-bot Jun 4, 2025
608ec3d
Added translation using Weblate (French)
matnoublanche Sep 17, 2025
218f873
Translated using Weblate (French)
matnoublanche Sep 17, 2025
58ad819
[FIX] account_invoice_section_sale_order: Change of result due a chan…
etobella Dec 17, 2025
cec372a
[BOT] post-merge updates
OCA-git-bot Dec 17, 2025
85ac3f8
[MIG] account_invoice_section_sale_order: Migration to 19.0
mt-software-de Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 107 additions & 0 deletions account_invoice_section_sale_order/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================================
Acccount Invoice Section Sale Order
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0488231787f2cee4449e52e836f99e66ffee626e65acad727580c4deedf07b2a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/18.0/account_invoice_section_sale_order
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-18-0/account-invoicing-18-0-account_invoice_section_sale_order
: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-invoicing&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

When invoicing multiple sale orders at the same time, sale orders may be
grouped by customer into a single invoice. Unfortunately when this
happens, it is hard to know which invoice line belongs to which sale
order.

This module helps by grouping invoicing lines into sections with the
name of the targeted sale order. This is only done when an invoice
targets multiple sale order.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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-invoicing/issues/new?body=module:%20account_invoice_section_sale_order%0Aversion:%2018.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
-------

* Camptocamp

Contributors
------------

- `Camptocamp <https://www.camptocamp.com>`__

- Thierry Ducrest <thierry.ducrest@camptocamp.com>
- Hiep Nguyen Hoang <hiepnh@trobz.com>
- Nhan Tran <nhant@trobz.com>

- `Dynapps <https://www.dynapps.eu>`__

- Jeroen Evens
- Raf Ven

- `NICO SOLUTIONS <https://www.nico-solutions-de>`__

- Nils Coenen

Other credits
-------------

The development of this module has been financially supported by:

- Camptocamp

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.

This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/18.0/account_invoice_section_sale_order>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_invoice_section_sale_order/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
18 changes: 18 additions & 0 deletions account_invoice_section_sale_order/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2020 Camptocamp
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Acccount Invoice Section Sale Order",
"version": "19.0.1.0.0",
"summary": "For invoices targetting multiple sale order add"
"sections with sale order name.",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-invoicing",
"license": "AGPL-3",
"category": "Accounting & Finance",
"depends": ["account", "sale"],
"data": [
"security/res_groups.xml",
"views/res_config_settings.xml",
"views/res_partner.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_section_sale_order
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_invoice_section_sale_order
#: model:res.groups,name:account_invoice_section_sale_order.group_sale_order_invoice_section_name
msgid "Allow customization of invoice section name from sale order"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_res_company
msgid "Companies"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_res_partner
msgid "Contact"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.view_partner_property_form
msgid "Custom section name on invoice"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Customize section names when invoicing from sale orders"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_company__invoice_section_grouping
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_config_settings__invoice_section_grouping
msgid "Defines object used to group invoice lines"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields.selection,name:account_invoice_section_sale_order.selection__res_company__invoice_section_grouping__sale_order
msgid "Group by sale Order"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Grouping object"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_company__invoice_section_grouping
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_config_settings__invoice_section_grouping
msgid "Invoice Section Grouping"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_company__invoice_section_name_scheme
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_config_settings__invoice_section_name_scheme
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_partner__invoice_section_name_scheme
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_users__invoice_section_name_scheme
msgid "Invoice Section Name Scheme"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Naming scheme"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Section names"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_company__invoice_section_name_scheme
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_config_settings__invoice_section_name_scheme
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_partner__invoice_section_name_scheme
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_users__invoice_section_name_scheme
msgid ""
"This is the name of the sections on invoices when generated from sales "
"orders. Keep empty to use default. You can use a python expression with the "
"'object' (representing sale order) and 'time' variables."
msgstr ""

#. module: account_invoice_section_sale_order
#. odoo-python
#: code:addons/account_invoice_section_sale_order/models/account_move.py:0
msgid "Unrecognized invoice_section_grouping"
msgstr ""
120 changes: 120 additions & 0 deletions account_invoice_section_sale_order/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_section_sale_order
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-20 19:41+0000\n"
"Last-Translator: gelo joga Rodríguez <gelo.joga@factorlibre.com>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: account_invoice_section_sale_order
#: model:res.groups,name:account_invoice_section_sale_order.group_sale_order_invoice_section_name
msgid "Allow customization of invoice section name from sale order"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_res_company
msgid "Companies"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_res_partner
msgid "Contact"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.view_partner_property_form
msgid "Custom section name on invoice"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Customize section names when invoicing from sale orders"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_company__invoice_section_grouping
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_config_settings__invoice_section_grouping
msgid "Defines object used to group invoice lines"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields.selection,name:account_invoice_section_sale_order.selection__res_company__invoice_section_grouping__sale_order
msgid "Group by sale Order"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Grouping object"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_company__invoice_section_grouping
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_config_settings__invoice_section_grouping
msgid "Invoice Section Grouping"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_company__invoice_section_name_scheme
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_config_settings__invoice_section_name_scheme
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_partner__invoice_section_name_scheme
#: model:ir.model.fields,field_description:account_invoice_section_sale_order.field_res_users__invoice_section_name_scheme
msgid "Invoice Section Name Scheme"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Naming scheme"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model,name:account_invoice_section_sale_order.model_sale_order
msgid "Sales Order"
msgstr "Pedido de Venta"

#. module: account_invoice_section_sale_order
#: model_terms:ir.ui.view,arch_db:account_invoice_section_sale_order.res_config_settings_view_form
msgid "Section names"
msgstr ""

#. module: account_invoice_section_sale_order
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_company__invoice_section_name_scheme
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_config_settings__invoice_section_name_scheme
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_partner__invoice_section_name_scheme
#: model:ir.model.fields,help:account_invoice_section_sale_order.field_res_users__invoice_section_name_scheme
msgid ""
"This is the name of the sections on invoices when generated from sales "
"orders. Keep empty to use default. You can use a python expression with the "
"'object' (representing sale order) and 'time' variables."
msgstr ""

#. module: account_invoice_section_sale_order
#. odoo-python
#: code:addons/account_invoice_section_sale_order/models/account_move.py:0
#, python-format
msgid "Unrecognized invoice_section_grouping"
msgstr ""
Loading