Browse Source

Nar 3 [UPDT] : Updated 'base_accounting_kit'

pull/358/merge
AjmalCybro 2 months ago
parent
commit
37588c8650
  1. 2
      base_accounting_kit/__manifest__.py
  2. 5
      base_accounting_kit/doc/RELEASE_NOTES.md
  3. 28
      base_accounting_kit/models/account_move.py
  4. 29
      base_accounting_kit/static/description/index.html

2
base_accounting_kit/__manifest__.py

@ -21,7 +21,7 @@
#############################################################################
{
'name': 'Odoo 18 Full Accounting Kit for Community',
'version': '18.0.1.0.1',
'version': '18.0.1.0.2',
'category': 'Accounting',
'live_test_url': 'https://kit.easyinstance.com/web/login?redirect=/odoo/accounting',
'summary': """Odoo 18 Accounting, Odoo 18 Accounting Reports, Odoo18 Accounting, Odoo Accounting, Odoo18 Financial Reports, Odoo18 Asset, Odoo18 Profit and Loss, PDC, Followups, Odoo18, Accounting, Odoo Apps, Reports""",

5
base_accounting_kit/doc/RELEASE_NOTES.md

@ -10,3 +10,8 @@
#### UPDT
- Added the reconciliation widget and lock dates.
#### 26.02.2025
#### Version 18.0.1.0.2
#### FIX
- Fixed the Asset creation issue from the vendor bill.

28
base_accounting_kit/models/account_move.py

@ -73,7 +73,18 @@ class AccountMove(models.Model):
return res
def action_post(self):
"""Action used to post invoice"""
"""To check the selected customers due amount is exceed than blocking stage"""
pay_type = ['out_invoice', 'out_refund', 'out_receipt']
for rec in self:
if rec.partner_id.active_limit and rec.move_type in pay_type \
and rec.partner_id.enable_credit_limit:
if rec.due_amount >= rec.partner_id.blocking_stage and rec.partner_id.blocking_stage != 0:
raise UserError(_(
"%s is in Blocking Stage and "
"has a due amount of %s %s to pay") % (
rec.partner_id.name, rec.due_amount,
rec.currency_id.symbol))
result = super(AccountMove, self).action_post()
for inv in self:
context = dict(self.env.context)
@ -86,21 +97,6 @@ class AccountMove(models.Model):
inv.invoice_line_ids.with_context(context).asset_create()
return result
def action_post(self):
"""To check the selected customers due amount is exceed than blocking stage"""
pay_type = ['out_invoice', 'out_refund', 'out_receipt']
for rec in self:
if rec.partner_id.active_limit and rec.move_type in pay_type \
and rec.partner_id.enable_credit_limit:
if rec.due_amount >= rec.partner_id.blocking_stage:
if rec.partner_id.blocking_stage != 0:
raise UserError(_(
"%s is in Blocking Stage and "
"has a due amount of %s %s to pay") % (
rec.partner_id.name, rec.due_amount,
rec.currency_id.symbol))
return super(AccountMove, self).action_post()
@api.onchange('partner_id')
def check_due(self):
"""To show the due amount and warning stage"""

29
base_accounting_kit/static/description/index.html

@ -188,7 +188,6 @@
border: 1px solid #7f54b3;
color: #7f54b3;
text-decoration: none;
width: 231px;
"
class="mx-1 mb-2 deep-1 deep_hover">
<img class="img"
@ -208,7 +207,6 @@
border: 1px solid #7f289b;
border-radius: 35px;
text-decoration: none;
width: 231px;
"
class="mx-1 mb-2 deep-1 deep_hover">
<img
@ -221,6 +219,7 @@
style="color: #fff; font-size: 16px; vertical-align: middle"
>Skype Us</span>
</a>
<!--Test -->
<a href="https://wa.me/9074270811"
target="_blank"
@ -233,7 +232,6 @@
border: 1px solid #25D366;
border-radius: 35px;
text-decoration: none;
width: 230px;
"
class="mx-1 mb-2 deep-1 deep_hover">
<img
@ -243,9 +241,28 @@
/>
<span
class="pl-2"
style="color: #fff; font-size: 15px; vertical-align: middle"
>+91 9074270811</span>
style="color: #fff; font-size: 16px; vertical-align: middle"
>WhatsApp</span>
</a>
<!-- <a href="https://wa.me/9074270811"-->
<!-- target="_blank"-->
<!-- style="background-color: #25D366;border-radius: 35px;-->
<!-- font-family: Montserrat;-->
<!-- display: inline-block;-->
<!-- padding: 7px 33px;-->
<!-- border: 1px solid #25D366;-->
<!-- color: #7f54b3;-->
<!-- text-decoration: none;-->
<!-- "-->
<!-- class="mx-1 mb-2 deep-1 deep_hover">-->
<!-- <img class="img"-->
<!-- style="width: 24px"-->
<!-- src="./assets/icons/whatsapp.svg"/>-->
<!-- <span class="pl-2"-->
<!-- style="color: #fff; font-size: 16px; vertical-align: middle"-->
<!-- >WhatsApp</span>-->
<!-- </a>-->
</div>
<div class="d-flex justify-content-center mt-2">
<img src="./assets/screenshots/hero.gif"
@ -270,7 +287,7 @@
padding: 27px 40px;
border: 5px solid #EBEEF2;
background: #E3E3EE;
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25);">
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25); ">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style=" color: var(--text-color);

Loading…
Cancel
Save