Coder Social home page Coder Social logo

Comments (7)

Ismaw34 avatar Ismaw34 commented on June 30, 2024

On a 14 upgraded from 13 also happens.

from contract.

maisim avatar maisim commented on June 30, 2024

@Ismaw34
Strange because it works here (14.0 runbot)
http://oca-contract-14-0-cab52350c3a3.runboat.odoo-community.org/web#id=5&action=413&model=contract.contract&view_type=form&cids=&menu_id=316

Probably because of this :

if line.display_type == "line_section" or not line.recurring_next_date:
continue

Edit: I just try again on this link, I'm not able to save the contract if the invoice date < contract start date.
So same as on 12.0

from contract.

maisim avatar maisim commented on June 30, 2024

12.0...maisim:contract:12.0

For 12.0, this do the trick

I will PR soon

from contract.

rafaelbn avatar rafaelbn commented on June 30, 2024

Hello @maisim ! I confirm this BUG in 12, 13 and 14

Did you made the PR? Before it, It would help really to check and review

from contract.

maisim avatar maisim commented on June 30, 2024

Hi @rafaelbn,

Did you made the PR? Before it, It would help really to check and review

Not for the moment, I just did a quick fix, but I did not check for potential side effects

I also found others problem like bad computation of periods end (on montly, quarterly types) ... Thanks for the references I will look at it on the next week

from contract.

Ismaw34 avatar Ismaw34 commented on June 30, 2024

@Ismaw34 Strange because it works here (14.0 runbot) http://oca-contract-14-0-cab52350c3a3.runboat.odoo-community.org/web#id=5&action=413&model=contract.contract&view_type=form&cids=&menu_id=316

Probably because of this :

if line.display_type == "line_section" or not line.recurring_next_date:
continue

Edit: I just try again on this link, I'm not able to save the contract if the invoice date < contract start date. So same as on 12.0

The issue happens here:


The contract says for example, last date 03/31/2022 and next invoice 04/01/2022, says cant have the next invoice before the date of last invoice.
Thats weird because the next invoice is after the last date invoiced but still says is not.

from contract.

github-actions avatar github-actions commented on June 30, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

from contract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.