Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[IMP] internal_transfer_with_agreed_amount: modify write vals in one method i#24002 #1631

Closed CLaurelB closed 11 months ago

CLaurelB commented 11 months ago

Modify in a single method the values that will be written in the account move lines so that the method can be inherited in case it is necessary to modify more values in the lines.

In addition, two methods are added to pre and post process payments, to be used if modifications are required in an inheritance.

Finally, obtaining currencies related to the internal transfer have been moved to a separate method to facilitate the inheritance of the method that validates the number of currencies.

Changelog:

CLaurelB commented 11 months ago

@rolandojduartem could you review, please?

CLaurelB commented 11 months ago

@rolandojduartem could you review again, please?

luisg123v commented 11 months ago

Missing task ID on MR title

CLaurelB commented 11 months ago

Missing task ID on MR title

Since it's related to a ticket, I added the ticket ID on the title.

CLaurelB commented 11 months ago

@luisg123v could you review again, please?