Git Product home page Git Product logo

Comments (4)

pedrobaeza avatar pedrobaeza commented on August 21, 2024 1

OK, great. The code for this module can be very ugly, so any improvement is welcome. NOTE: I'm not a user of this module nor proper reviewer for it, but general community manager for this kind of kick-off.

from rma.

pedrobaeza avatar pedrobaeza commented on August 21, 2024

Can you please do the PR? https://odoo-community.org/page/Contribute

from rma.

adamwojt avatar adamwojt commented on August 21, 2024

Hey @pedrobaeza . Sure we will, we are reworking this method at the moment.

We have better approach for patching this using index to update values from super and not copy/pasting original Odoo method as there are problems with current approach for example:

We are also thinking that tax_line_ids should be dropped for refund invoice since we noticed problem when refund is made for less lines than original invoice - taxes are wrong (calculated for all lines of original invoice). All this can be easily achieved in this patch method.

If dropped, new tax_line_ids will be recalculated anyway with _onchange_invoice_line_ids

from rma.

github-actions avatar github-actions commented on August 21, 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 rma.

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.