-
-
Notifications
You must be signed in to change notification settings - Fork 207
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] crm_claim_rma #128
[MIG] crm_claim_rma #128
Conversation
Hi everyone, regards |
Still blocked? |
I merged
What I don't understand because when I look at the view it is as followed:
I tried enabling
Which I than changed to:
Then I got:
Which i fixed with:
I Can't find the repository to make the pull request on... |
# © 2015 Vauxoo | ||
# © 2015 Eezee-It | ||
# © 2009-2013 Akretion | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
'name': 'RMA Claim (Product Return Management)', | ||
'version': '9.0.1.0.0', | ||
'version': '10.0.1.0.0', | ||
'category': 'Generic Modules/CRM & SRM', | ||
'author': "Akretion, Camptocamp, Eezee-it, MONK Software, Vauxoo, " | ||
"Odoo Community Association (OCA)", |
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 in the wrong place
crm_claim_rma/models/claim_line.py
Outdated
return self.env['product.supplierinfo']._columns[ | ||
'warranty_return_partner' | ||
].selection | ||
return self.env['product.supplierinfo'].warranty_return_partner |
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.
Change this to: self.env['product.supplierinfo'].fields_get('warranty_return_partner')['warranty_return_partner']['selection']
and you are golden. Will test the rest tomorrow.
wizard/claim_make_picking.py: @ Line 135 & 235 I however can't change the state of the Claim Line. However this is the first time I'm working with this plugin :p |
Any way I can help with this module? |
68da72e
to
31dafdb
Compare
# Conflicts: # crm_claim_rma/wizards/claim_make_picking.py
470db17
to
6d97cf5
Compare
[MIG] 10.0 crm_claim_rma
@max3903 Hi, could you tell me if the PR is usable as this or not ? and eventually what we can do to end it ? Thanks |
@Cedric-Pigeon I don't remember :( |
@Cedric-Pigeon @DipSwitch @flotho I was not able to restart runbot. I propose you 2 options:
|
I am available to offer my help on this task. |
@max3903 I've relaunched runbot. WARNING openerp_test odoo.models: crm.team.create() includes unknown fields: code |
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.
LGTM. Some comments
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.
All looks good. I have few comments to make.
Change openerp.py to manifest.py
The licence is in the file __openerp__.py |
Change OpenERP to Odoo
crm_claim_rma for OpenERP |
Do we really need copy method. Can't we use copy=False at fields level?
rma/crm_claim_rma/models/claim_line.py
Line 188 in 6e17197
def copy(self, default=None): |
Add _compute_priority to test case
rma/crm_claim_rma/models/claim_line.py
Line 200 in 6e17197
def _compute_priority(self): |
method _get_subject not used anywhere
rma/crm_claim_rma/models/claim_line.py
Line 182 in 6e17197
def _compute_line_total_amount(self): |
Add set_warranty_limit to test case
rma/crm_claim_rma/models/claim_line.py
Line 279 in 6e17197
def set_warranty_limit(self): |
Add method set_warranty to test case
rma/crm_claim_rma/models/claim_line.py
Line 372 in 6e17197
def set_warranty(self): |
Add _compute_display_name to test case
rma/crm_claim_rma/models/claim_line.py
Line 406 in 6e17197
def _compute_display_name(self): |
/ocabot merge |
Sorry @rafaelbn you do not have push permission, so I can't merge for you. |
/ocabot merge |
What a great day to merge this nice PR. Let's do it! |
Merge command aborted due to a failed check on 10.0-ocabot-merge-pr-128-by-max3903-bump-no. |
Supersedes #107