Skip to content

Commit

Permalink
Merge pull request #383 from HarshK-SerpentCS/13_partner_credit_limit
Browse files Browse the repository at this point in the history
[13.0] [MIG] partner_credit_limit: Migrated the module in v13.
  • Loading branch information
JayVora-SerpentCS authored Oct 10, 2019
2 parents 4291335 + 46183dc commit 6f6082d
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion partner_credit_limit/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
'name': 'Partner Credit Limit',
'version': '12.0.1.0.0',
'version': '13.0.1.0.0',
'category': 'Partner',
'license': 'AGPL-3',
'author': 'Tiny, Serpent Consulting Services Pvt. Ltd.',
Expand Down
2 changes: 0 additions & 2 deletions partner_credit_limit/models/sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
class SaleOrder(models.Model):
_inherit = "sale.order"

@api.multi
def check_limit(self):
self.ensure_one()
partner = self.partner_id
Expand Down Expand Up @@ -48,7 +47,6 @@ def check_limit(self):
{'credit_limit': credit - debit + self.amount_total})
return True

@api.multi
def action_confirm(self):
res = super(SaleOrder, self).action_confirm()
for order in self:
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified partner_credit_limit/static/description/img/msg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified partner_credit_limit/static/description/img/over.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion partner_credit_limit/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<div class="text-center"
style="margin-top: 10px; margin-bottom: 20px;">
<img class="img img-responsive center-block oe_demo oe_screenshot"
src="img/conf.png" style="width: 90%;"/>
src="img/config.png" style="width: 90%;"/>
</div>
<div class="oe_span12 text-center">
<h4 class="centered text-primary" style="font-size: calc(16px + 1.3vw); font-family: 'Lato', 'Open Sans', 'Helvetica', Sans;
Expand Down

0 comments on commit 6f6082d

Please sign in to comment.