Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] account_invoice_merge - record set used instead of list of ids in do_merge #104

Closed
wants to merge 17 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 23, 2015

corrected part 'make link between original sale order'

bt-admin and others added 3 commits September 22, 2015 15:04
@@ -207,8 +206,9 @@ def make_key(br, fields):
[('product_id', '=', so_line.product_id.id),
('invoice_id', '=', new_invoice_id)])
if invoice_line_ids:
invoice_line_ids_list = [x.id for x in invoice_line_ids]
Copy link
Member

Choose a reason for hiding this comment

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

Would be better if you renamed that variable invoice_lines as search returns a record set. Thus you can do: invoice_lines.ids to get a list of ids.

@yvaucher yvaucher changed the title Bugfixing [FIX] account_invoice_merge - record set used instead of list of ids in do_merge Oct 9, 2015
BT-admin and others added 14 commits November 16, 2017 07:57
Conflicts:
	account_invoice_merge/models/account_invoice.py
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
Syncing from upstream OCA/account-invoicing (8.0)
[bt#871] Put new rounding line at the end of the invoice
@yvaucher
Copy link
Member

Seems that was changed a lot from what I reviewed in 2015.

The title of this PR is not reflecting the fix.

I guess your change was dropped.
I let you open an other PR with your new change.

You should also create a dedicated branch per PR to avoid changing state of a PR.

Thus I will close the current PR.

@yvaucher yvaucher closed this Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants