Browse Source

Apr 5 [UPDT] : Bug Fixed 'base_accounting_kit'

pull/313/head
AjmalCybro 1 year ago
parent
commit
8f171701a3
  1. 2
      base_accounting_kit/__manifest__.py
  2. 10
      base_accounting_kit/models/res_partner.py
  3. 2
      base_accounting_kit/views/account_payment_view.xml

2
base_accounting_kit/__manifest__.py

@ -21,7 +21,7 @@
#############################################################################
{
'name': 'Odoo 17 Full Accounting Kit',
'version': '17.0.1.0.3',
'version': '17.0.1.0.4',
'category': 'Accounting',
'summary': """Odoo 17 Accounting, Odoo 17 Accounting Reports, Odoo Accounting, Odoo17 Financial Reports, Odoo17 Asset, Odoo17 Profit and Loss, PDC, Followups, Odo17""",
'description': """ Odoo 17 Accounting, The module used to manage the Full

10
base_accounting_kit/models/res_partner.py

@ -95,9 +95,13 @@ class ResPartner(models.Model):
return today
def get_delay(self):
delay = """select id,delay from followup_line where followup_id =
(select id from account_followup where company_id = %s)
order by delay limit 1"""
delay = """SELECT fl.id, fl.delay
FROM followup_line fl
JOIN account_followup af ON fl.followup_id = af.id
WHERE af.company_id = %s
ORDER BY fl.delay;
"""
self._cr.execute(delay, [self.env.company.id])
record = self._cr.dictfetchall()
return record

2
base_accounting_kit/views/account_payment_view.xml

@ -80,7 +80,7 @@
ref="account.view_account_payment_register_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='payment_date']" position="after">
<field name="effective_date"/>
<field name="effective_date" required="1"/>
<field name="bank_reference"/>
<field name="cheque_reference"/>
</xpath>

Loading…
Cancel
Save