-
-
Notifications
You must be signed in to change notification settings - Fork 873
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
[9.0] [PORT] partner_firstname #238
Conversation
yvaucher
commented
Jan 13, 2016
- Take history of module partner_firstname from 8.0
- add missing authors
- use reduced license header
- move models in models directory
- adapt views
- show firstname, lastname only in edit mode
- use company_type in views instead of is_company
- adapt constraint on contacts
- remove hack to make user editable
- adapt check to accept invoicing or shipping address without name
59f95e0
to
e4e2c3e
Compare
e4e2c3e
to
db36544
Compare
pylint error is not related. I fix it in #239 |
0e92966
to
4895b4e
Compare
Have you included latest changes in v8 following https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0? |
Got it you talk about commits in 8.0 tree. I'll check it |
4895b4e
to
5f9b61b
Compare
@pedrobaeza I added the missing commits some impact other modules. I tried to follow https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0 however, 2nd procedure had conflicts on cherry picks, thus I had to make cherry-picks one by one by hand. |
I'm afraid cherry-picking doesn't work, because it modifies a lot of modules. Can you try again? Maybe I can bring the changes in 8.0 to 9.0 and then you rebase over that new 9.0 branch. |
@pedrobaeza What I can do is reedit my cherry-pick to ignore change in other modules. But this will split the commits in 9.0. Especially for translation. Maybe I should drop completely the translation commits ? |
You can use filter-branch in that commits to remove the rest of the modules, or directly discard then and then we need to make the translation again in Transifex. We can also do the other option I mention (prepare the 9.0 branch). |
5f9b61b
to
ae0d15e
Compare
…tics. Conflicts: partner_contact_gender/__openerp__.py
|
||
* Danish: Hans Henrik Gabelgaard | ||
* Italian: Leonardo Donelli | ||
* Spanish: Antonelli Espinosa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Antonelli Espinosa/Antonio Espinosa/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that, I'll fix it.
- add missing authors - use reduced license header - move models in models directory - adapt views - show firstname, lastname only in edit mode - use company_type in views instead of is_company - adapt constraint on contacts
…iew. Fixed in odoo/odoo#cf63d4d277ef1ba02ff4ebcdae8583332a1775b1
3c43fdc
to
a55ea3e
Compare
@yvaucher ok, whatever first. Thanks |
"is_company": False, | ||
"type": 'invoice', | ||
"lastname": "", | ||
"firstname": ""}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really expected to work? A partner without name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does. For invoicing or shipping address only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then shouldn't you add a test for shipping too?
Hello! |
88ea07a
to
b5cabce
Compare
@pedrobaeza Fixed the user.py and partner.py filename @JonathanNEMRY Should be ready now |
Would you mind fixing #238 (comment)? |
"""Create an shipping patner without name.""" | ||
self.original = self.env["res.partner"].create({ | ||
"is_company": False, | ||
"type": 'shipping', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"delivery". See travis.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, thanks
5dd2ceb
to
205ccfe
Compare
👍 Tested on runbot. Great work! |
Awesome! So it's ready to be merged 😄 |
[9.0] [PORT] partner_firstname
It seems we missed the required name on user form which forbid to create a user. Fixed here: |