Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

OCA / account-invoicing / 3465

DEFAULT BRANCH: 9.0
Build:
LAST BUILD BRANCH: 12.0-mig-stock_picking_return_refund_option
Repo Added 02 Jul 2014 10:26PM UTC
Total Files 55
# Builds 2823 Last
Badge
Badge Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Nov 2019 - 12:24 coverage increased (+0.09%) to 94.757%
3465

Pull #634

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
[ADD] sale_order_invoicing_grouping_criteria: Sales order invoicing grouping criteria

This module allows to use custom criteria for grouping sales orders to be
invoiced.

Default criteria for grouping (invoicing partner and currency used) will be
always applied, as if not respected, there will be business inconsistencies,
but you can add more fields to split the invoicing according them.

Configuration
=============

For creating new grouping criteria:

1. Go to *Invoicing > Configuration > Management > Invoicing Grouping Criteria*.
2. Create or modify existing criteria, selecting fields belonging to "Sales
   Order" header model for grouping according them.
3. Invoicing address and currency will always be applied with the selected
   ones.

For setting a different grouping criteria for a specific customer:

1. Go to *Invoicing > Sales > Master Data > Customers*.
2. Open the desired customer.
3. Go to *Invoicing* page.
4. Set on "Sales Invoicing Grouping Criteria" the desired grouping
   criteria.

For setting a different default grouping criteria than the standard for the
whole company:

1. Go to *Invoicing > Configuration> Settings*.
2. Locate inside "Sales Order Invoicing" section, the field "Default
   Grouping Criteria".
3. Introduce there the grouping criteria to be applied by default. If empty,
   the general default of invoicing address + currency will be applied.

Usage
=====

1. Go to *Sales > Invoicing > Orders to Invoice*.
2. Select sales orders whose invoicing you want to do.
3. Click on *Action > Invoice Order*.
4. Click on "Create and View Invoices" button.
5. On that moment, the grouping criteria will be applied, and you will see
   different invoices if the criteria doesn't match for them.
Pull Request #634: [11.0][ADD] sale_order_invoicing_grouping_criteria: Sales order invoicing grouping criteria

40 of 41 new or added lines in 5 files covered. (97.56%)

1265 of 1335 relevant lines covered (94.76%)

1.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.33
sale_order_invoicing_grouping_criteria/models/res_partner.py
Jobs
Coverage Job Files Covered Ran
94.76
3465.2 (TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1") 55 15 Nov 2019 12:36PM UTC Travis Job 3465.2
94.76
3465.3 (TESTS="1" ODOO_REPO="OCA/OCB") 55 15 Nov 2019 12:37PM UTC Travis Job 3465.3
Source Files on build 3465
  • Tree
  • List 110
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #3465
  • Pull Request #634
  • PR Base - 11.0 (#2951)
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2019 Coveralls, LLC