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

[MIG][9.0] sale_commission #67

Merged
merged 4 commits into from
May 30, 2017
Merged

[MIG][9.0] sale_commission #67

merged 4 commits into from
May 30, 2017

Conversation

oihane
Copy link
Contributor

@oihane oihane commented Feb 2, 2016

No description provided.

{
'name': 'Sales commissions',
'version': '8.0.2.0.0',
'version': '8.0.2.3.0',
Copy link
Member

Choose a reason for hiding this comment

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

Change to 9.0.1.0.0

@pedrobaeza pedrobaeza mentioned this pull request Feb 2, 2016
6 tasks
@pedrobaeza
Copy link
Member

This one is ready for reviewing. @oihane, please confirm from your side.

From mine, it's 👍

@oihane oihane mentioned this pull request Feb 14, 2016
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
'name': 'Sales commissions',
'version': '8.0.2.3.0',
'version': '9.0.1.0.0',
'author': 'Pexego, '
'Savoire-faire linux, '

Choose a reason for hiding this comment

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

Savoir

oihane and others added 2 commits February 16, 2016 23:08
* Change in author name
* deleted company from contributors in openerp file
* added settlement to partner view
* erase dead code
@alan196
Copy link

alan196 commented Nov 6, 2016

I just tested in runbot and local with Odoo Enterprise and this is the results:

1- There is an issue in Odoo Enterprise in Commission types form view:

  • Form view in community is the next. (Everything is OK)
    captura de pantalla 2016-11-06 a la s 08 52 35
  • In Odoo Enterprise the Fixed Percentage field looks ugly but still functional:
    captura de pantalla 2016-11-06 a la s 08 52 15
  • When you edit/create a record Fixed Percentage is not properly displayed, you can edit but you can't see the input.
    captura de pantalla 2016-11-06 a la s 08 52 03

2- When you create a sale order and click to edit an already created sale order line the Agents & Commission Fields get a duplicated record and it doubles every time you try to edit a sale.order.line
ezgif com-optimize

@alan196
Copy link

alan196 commented Nov 6, 2016

@oihane are you still working on this PR?... I already fix the first issue I posted, there is a way that I can help to this PR? or I need to make a new PR with this + my fix.???

@oihane
Copy link
Contributor Author

oihane commented Nov 7, 2016

@alan196 you can make a PR against my branch, then I merge it and the changed will be shown in this PR.

@oihane
Copy link
Contributor Author

oihane commented Nov 12, 2016

@alan196 you have been invited as collaborator to my fork, so you can now edit the code in this PR.

Can the second point be a problem caused by the _default???

@luistriana28
Copy link

+1
Tested and it works!

@alan196
Copy link

alan196 commented Nov 23, 2016

@oihane I think is a bug of Odoo with the one2many widget inside tree view. I don't know how to solve it

@pedrobaeza
Copy link
Member

In v8 we have switched to a new widget one2many_tags

@alan196
Copy link

alan196 commented Nov 23, 2016

@pedrobaeza I already try with that widget and I get the same issue and it also looks ugly.

captura de pantalla 2016-11-23 a la s 16 37 56

@pedrobaeza
Copy link
Member

Does it happen also in community edition?

@alan196
Copy link

alan196 commented Nov 24, 2016

Yes it also looks like that in community edition.

captura de pantalla 2016-11-24 a la s 06 30 24

I have another question. Can I use the same branch to change the code to fit the conventions? for example to change all the relational fields to _id or _ids.

@pedrobaeza
Copy link
Member

If you changed that, you should put oldname for an automatic migration

@sergio-teruel
Copy link
Contributor

@pedrobaeza @oihane Why "sale.commission.company_id" has been removed in v9?

@pedrobaeza
Copy link
Member

It hasn't been removed, but added in v8 after this migration.

@pedrobaeza
Copy link
Member

We have to cherry-pick that commits.

@pedrobaeza
Copy link
Member

Closing as superseeded by #72

@pedrobaeza pedrobaeza closed this Dec 13, 2016
@pedrobaeza pedrobaeza deleted the 9.0-sale_commission branch December 13, 2016 21:25
@atchuthan
Copy link
Member

@oihane any possibility of starting the migration once again for v9.0 with the superseded commits from #72?

@pedrobaeza IMO, we could have merged this PR and create a new PR containing the bug fixes in v8.0 using cherry-pick.

@pedrobaeza
Copy link
Member

@atchuthan, there's another PR already merged. What you can do is to make another PR with the rest of the changes.

@pedrobaeza pedrobaeza restored the 9.0-sale_commission branch December 29, 2016 12:57
@pedrobaeza
Copy link
Member

I have mixed PRs, as the other was only latest changes from the 8.0 branch, so this branch is still relevant. I reopen the PR.

@pedrobaeza pedrobaeza reopened this Dec 29, 2016
@atchuthan
Copy link
Member

@pedrobaeza thanks for re-opening it.

@atchuthan
Copy link
Member

Functional Test(locally) + code review 👍

Seems OCA runbot fails due to skipped[unknown reason] (Tried 2 times)

@atchuthan
Copy link
Member

@pedrobaeza Could we merge this PR as we have 4 Upvote in this PR?

@hurrinico
Copy link

hi @oihane @pedrobaeza i've tried locally to reproduce the travis error but i can't and the test run perfectly.

@tafaRU
Copy link
Member

tafaRU commented Mar 27, 2017

Just tried to restart jobs with red build. Let's see!

@tafaRU
Copy link
Member

tafaRU commented Mar 27, 2017

@pedrobaeza, Travis now looks green, could we merge it?

@cubells cubells mentioned this pull request Apr 25, 2017
1 task
@pedrobaeza
Copy link
Member

We are going to merge this one and we will improve it when the widget is available.

@pedrobaeza pedrobaeza merged commit ce30038 into OCA:9.0 May 30, 2017
@pedrobaeza pedrobaeza deleted the 9.0-sale_commission branch May 30, 2017 15:42
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