Skip to content

[16.0] BUG? last date invoiced ? #1214

@ygol

Description

@ygol

Module

contract

Describe the bug

Last Date Invoiced is not correctly set on all the lines.
Image

To Reproduce

OCA runboat: http://oca-contract-16-0-70e4ace4e291.runboat.odoo-community.org/web#id=8&cids=1&menu_id=151&action=363&model=contract.contract&view_type=form
V16.0

Steps to reproduce the behavior:

  1. create a new contract. post-paid monthly.
  2. set date start = 01/01/2025 and date of next invoice 02/01/2025
  3. in debug mode click on "CREATE INVOICES"

Expected behavior
Last Date Invoiced to be 01/31/2025 for all the lines

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions