Skip to content

Conversation

vincent-mundo
Copy link

Hello, here is a pull request to validate an article return with or without "absolute_discount".

At the beginning the return of article was possible only when there was an absolute_discount (discount by number, not percentage).

Now there is the return no matter what.
I tested it in all possibilities, from ticket to invoice.

Thanks

@vincent-mundo vincent-mundo changed the title [FIX] Line deletion impossible in module pos_orderline_absolute_discount [FIX] POS order return impossible (pos_orderline_absolute_discount) Sep 14, 2022
@@ -62,12 +62,13 @@ def _compute_amount_line_all(self):
product=line.product_id,
partner=line.order_id.partner_id,
)
line.update(
res.update(
Copy link
Collaborator

@yelizariev yelizariev Sep 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be line I think

@flotho
Copy link
Contributor

flotho commented Nov 22, 2022

thanks @yelizariev , we're going to have a look to this with @gaelTorrecillas

@flotho
Copy link
Contributor

flotho commented Feb 15, 2023

I think we can close this one because it was not totally correct.
The #1485 is really better @yelizariev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants