minor fix

This commit is contained in:
wilsongomez 2022-02-17 11:42:16 -05:00
parent facf56c1ed
commit 2b2e1ef5c1
8 changed files with 1445 additions and 33 deletions

View File

@ -2,8 +2,9 @@
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
import collection
import configuration
from . import collection
from . import configuration
from . import account
def register():
@ -19,15 +20,18 @@ def register():
collection.TrackingReportStart,
collection.PortfolioStatusStart,
collection.BillCollectionStart,
account.AccountReceivablePayableStart,
module='collection', type_='model')
Pool.register(
collection.CreateCollection,
collection.TrackingReportWizard,
collection.PortfolioStatus,
collection.BillCollection,
account.AccountReceivablePayable,
module='collection', type_='wizard')
Pool.register(
collection.TrackingReport,
collection.PortfolioStatusReport,
collection.BillCollectionReport,
account.AccountReceivablePayableReport,
module='collection', type_='report')

267
account.py Normal file
View File

@ -0,0 +1,267 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from dateutil.relativedelta import relativedelta
from trytond.model import ModelView, fields
# from trytond.pyson import If, Eval
from sql import Column, Null, Window, Literal
from sql.aggregate import Sum, Max, Min
from sql.conditionals import Coalesce, Case
from trytond.transaction import Transaction
from trytond.pool import Pool
from trytond.wizard import Wizard, StateView, Button, StateReport
from trytond.report import Report
from decimal import Decimal
import copy
# from trytond.i18n import gettext
class AccountReceivablePayableStart(ModelView):
'Account Receivable Payable Start'
__name__ = 'collection.account_receivable_payable.start'
date = fields.Date('Date To')
terms = fields.Char('Terms', help='write terms separed by comma \b example 0,30,60,90')
type = fields.Selection([
('customer', 'Customers'),
('supplier', 'Suppliers'),
('customer_supplier', 'Customers and Suppliers'),
],
"Type", required=True)
company = fields.Many2One('company.company', 'Company', required=True)
posted = fields.Boolean('Posted Move', help="Only include posted moves.")
unit = fields.Selection([
('day', 'Days'),
('week', "Weeks"),
('month', 'Months'),
('year', "Years"),
], "Unit", required=True, sort=False)
@staticmethod
def default_terms():
return '0,30,60,90'
@staticmethod
def default_company():
return Transaction().context.get('company')
@classmethod
def default_type(cls):
return 'customer'
@classmethod
def default_unit(cls):
return 'day'
@classmethod
def default_posted(cls):
return False
@classmethod
def default_date(cls):
return Pool().get('ir.date').today()
class AccountReceivablePayable(Wizard):
'Account Receivable Payable'
__name__ = 'collection.account_receivable_payable'
start = StateView('collection.account_receivable_payable.start',
'collection.account_receivable_payable_start_view_form', [
Button('Cancel', 'end', 'tryton-cancel'),
Button('Print', 'print_', 'tryton-print', default=True),
])
print_ = StateReport('collection.account_receivable_payable.report')
def do_print_(self, action):
try:
terms = self.start.terms.split(',')
except:
terms = [0, 30, 60, 90]
data = {
'terms': terms,
'date': self.start.date,
'unit': self.start.unit,
'type': self.start.type,
'company': self.start.company.id,
'posted': self.start.posted,
}
return action, data
def transition_print_(self):
return 'end'
class AccountReceivablePayableReport(Report):
__name__ = 'collection.account_receivable_payable.report'
@classmethod
def get_table_query(cls, data):
pool = Pool()
MoveLine = pool.get('account.move.line')
Move = pool.get('account.move')
Reconciliation = pool.get('account.move.reconciliation')
Account = pool.get('account.account')
Type = pool.get('account.account.type')
Party = pool.get('party.party')
line = MoveLine.__table__()
move = Move.__table__()
reconciliation = Reconciliation.__table__()
account = Account.__table__()
type_ = Type.__table__()
debit_type = Type.__table__()
party = Party.__table__()
company_id = data.get('company')
date = data.get('date')
with Transaction().set_context(date=None):
line_query, _ = MoveLine.query_get(line)
_type = data.get('type')
kind = cls.get_kind(type_, _type)
debit_kind = cls.get_kind(debit_type, _type)
columns = [
line.party.as_('party'),
party.id_number.as_('id_number'),
party.name.as_('name'),
party.type_document.as_('type_document'),
party.type_person.as_('type_person'),
move.company.as_('company'),
Sum((line.debit - line.credit)).as_('balance'),
]
terms = cls.get_terms(data.get('terms'))
factor = cls.get_unit_factor()
# Ensure None are before 0 to get the next index pointing to the next
# value and not a None value
term_values = sorted(
list(terms.values()), key=lambda x: ((x is not None), x or 0))
line_date = Coalesce(line.maturity_date, move.date)
for name, value in terms.items():
if value is None or factor is None or date is None:
columns.append(Literal(None).as_(name))
continue
cond = line_date >= (date - value * factor)
idx = term_values.index(value)
if idx + 1 < len(terms) and idx != 0:
cond &= line_date < (
date - (term_values[idx - 1] or 0) * factor)
elif idx + 1 == len(terms):
cond = line_date < (
date - (term_values[idx-1] or 0) * factor)
if _type == 'customer':
columns.append(
Sum(Case((cond, line.debit), else_=0)).as_(name))
else:
columns.append(
Sum(Case((cond, line.credit), else_=0)).as_(name))
cond = line_date <= date
if _type == 'customer':
columns.append(
Sum(Case((cond, line.credit), else_=0)).as_('amount'))
else:
columns.append(
Sum(Case((cond, line.debit), else_=0)).as_('amount'))
return line.join(move, condition=line.move == move.id
).join(party, condition=line.party == party.id
).join(account, condition=line.account == account.id
).join(type_, condition=account.type == type_.id
).join(debit_type, 'LEFT',
condition=account.debit_type == debit_type.id
).join(reconciliation, 'LEFT',
condition=reconciliation.id == line.reconciliation
).select(*columns,
where=(line.party != Null)
& (kind | debit_kind)
& line_query
& ((line.reconciliation == Null)
| (reconciliation.date > date))
& (move.date <= date)
& (account.company == company_id),
group_by=(line.party, move.company, party.id_number,
party.name,
party.type_document,
party.type_person),
having=((Sum(line.debit) - Sum(line.credit)) != 0))
# & line_query,
# & ((line.reconciliation == Null)
# | (reconciliation.date > date))
# ).join(debit_type, 'LEFT',
# condition=account.debit_type == debit_type.id
@classmethod
def get_terms(cls, terms):
terms_dict = {}
for term in terms:
terms_dict['term ' + term] = int(term)
term_final = 'term >' + terms[len(terms) - 1]
terms_dict.update({term_final: int(terms[len(terms)-1])+1})
return terms_dict
@classmethod
def get_unit_factor(cls):
context = Transaction().context
return {
'year': relativedelta(years=1),
'month': relativedelta(months=1),
'week': relativedelta(weeks=1),
'day': relativedelta(days=1)
}.get(context.get('unit', 'day'))
@classmethod
def get_kind(cls, account_type, type_):
if type_ == 'supplier':
return account_type.payable
elif type_ == 'customer':
return account_type.receivable
else:
return Literal(False)
@classmethod
def get_context(cls, records, header, data):
report_context = super().get_context(records, header, data)
records = []
if data['type'] == 'customer_supplier':
for t in ('customer', 'supplier'):
data['type'] = t
query = cls.get_table_query(data)
records_ = cls.get_values(query, records)
records.extend(records_)
else:
query = cls.get_table_query(data)
records = cls.get_values(query, records)
report_context['records'] = records
report_context['header_report'] = records[0].keys() if records else []
return report_context
@classmethod
def get_values(cls, query, records):
cursor = Transaction().connection.cursor()
cursor.execute(*query)
columns = list(cursor.description)
result = cursor.fetchall()
records_append = records.append
for row in result:
row_dict = {}
amount = row[-1]
for i, col in enumerate(columns):
row_dict[col.name] = row[i]
if amount:
terms_ = []
for k in row_dict.keys():
if k.startswith('term') and row_dict[k] > 0:
terms_.append(k)
if terms_:
for k in reversed(terms_):
value = row_dict[k]
if value >= amount:
row_dict[k] = value - amount
break
elif value < amount:
row_dict[k] = 0
amount -= row_dict[k]
records_append(row_dict)
return records

26
account.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="account_receivable_payable_start_view_form">
<field name="model">collection.account_receivable_payable.start</field>
<field name="type">form</field>
<field name="name">account_receivable_payable_start</field>
</record>
<record model="ir.action.wizard" id="wizard_account_receivable_payable">
<field name="name">Accounts Receivable Payable</field>
<field name="wiz_name">collection.account_receivable_payable</field>
</record>
<record model="ir.action.report" id="report_account_receivable_payable">
<field name="name">Accounts Receivable Payable</field>
<field name="model"></field>
<field name="report_name">collection.account_receivable_payable.report</field>
<field name="report">collection/account_receivable_payable.fods</field>
<field name="template_extension">ods</field>
<field name="translatable">False</field>
</record>
<menuitem parent="menu_collection_report" action="wizard_account_receivable_payable"
id="menu_account_receivable_payable" icon="tryton-print" sequence="300"/>
</data>
</tryton>

View File

@ -0,0 +1,420 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:document xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rpt="http://openoffice.org/2005/report" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" office:version="1.3" office:mimetype="application/vnd.oasis.opendocument.spreadsheet">
<office:meta><meta:creation-date>2021-10-26T11:02:03.279401331</meta:creation-date><dc:date>2022-02-16T17:19:43.831268646</dc:date><meta:editing-duration>PT50M59S</meta:editing-duration><meta:editing-cycles>12</meta:editing-cycles><meta:generator>LibreOffice/7.1.1.2$Linux_X86_64 LibreOffice_project/fe0b08f4af1bacafe4c7ecc87ce55bb426164676</meta:generator><meta:document-statistic meta:table-count="1" meta:cell-count="13" meta:object-count="0"/></office:meta>
<office:settings>
<config:config-item-set config:name="ooo:view-settings">
<config:config-item config:name="VisibleAreaTop" config:type="int">0</config:config-item>
<config:config-item config:name="VisibleAreaLeft" config:type="int">0</config:config-item>
<config:config-item config:name="VisibleAreaWidth" config:type="int">21358</config:config-item>
<config:config-item config:name="VisibleAreaHeight" config:type="int">3106</config:config-item>
<config:config-item-map-indexed config:name="Views">
<config:config-item-map-entry>
<config:config-item config:name="ViewId" config:type="string">view1</config:config-item>
<config:config-item-map-named config:name="Tables">
<config:config-item-map-entry config:name="Sheet1">
<config:config-item config:name="CursorPositionX" config:type="int">3</config:config-item>
<config:config-item config:name="CursorPositionY" config:type="int">5</config:config-item>
<config:config-item config:name="HorizontalSplitMode" config:type="short">0</config:config-item>
<config:config-item config:name="VerticalSplitMode" config:type="short">0</config:config-item>
<config:config-item config:name="HorizontalSplitPosition" config:type="int">0</config:config-item>
<config:config-item config:name="VerticalSplitPosition" config:type="int">0</config:config-item>
<config:config-item config:name="ActiveSplitRange" config:type="short">2</config:config-item>
<config:config-item config:name="PositionLeft" config:type="int">0</config:config-item>
<config:config-item config:name="PositionRight" config:type="int">0</config:config-item>
<config:config-item config:name="PositionTop" config:type="int">0</config:config-item>
<config:config-item config:name="PositionBottom" config:type="int">0</config:config-item>
<config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
<config:config-item config:name="ZoomValue" config:type="int">160</config:config-item>
<config:config-item config:name="PageViewZoomValue" config:type="int">60</config:config-item>
<config:config-item config:name="ShowGrid" config:type="boolean">true</config:config-item>
<config:config-item config:name="AnchoredTextOverflowLegacy" config:type="boolean">false</config:config-item>
</config:config-item-map-entry>
</config:config-item-map-named>
<config:config-item config:name="ActiveTable" config:type="string">Sheet1</config:config-item>
<config:config-item config:name="HorizontalScrollbarWidth" config:type="int">1840</config:config-item>
<config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
<config:config-item config:name="ZoomValue" config:type="int">160</config:config-item>
<config:config-item config:name="PageViewZoomValue" config:type="int">60</config:config-item>
<config:config-item config:name="ShowPageBreakPreview" config:type="boolean">false</config:config-item>
<config:config-item config:name="ShowZeroValues" config:type="boolean">true</config:config-item>
<config:config-item config:name="ShowNotes" config:type="boolean">true</config:config-item>
<config:config-item config:name="ShowGrid" config:type="boolean">true</config:config-item>
<config:config-item config:name="GridColor" config:type="int">12632256</config:config-item>
<config:config-item config:name="ShowPageBreaks" config:type="boolean">true</config:config-item>
<config:config-item config:name="HasColumnRowHeaders" config:type="boolean">true</config:config-item>
<config:config-item config:name="HasSheetTabs" config:type="boolean">true</config:config-item>
<config:config-item config:name="IsOutlineSymbolsSet" config:type="boolean">true</config:config-item>
<config:config-item config:name="IsValueHighlightingEnabled" config:type="boolean">false</config:config-item>
<config:config-item config:name="IsSnapToRaster" config:type="boolean">false</config:config-item>
<config:config-item config:name="RasterIsVisible" config:type="boolean">false</config:config-item>
<config:config-item config:name="RasterResolutionX" config:type="int">1270</config:config-item>
<config:config-item config:name="RasterResolutionY" config:type="int">1270</config:config-item>
<config:config-item config:name="RasterSubdivisionX" config:type="int">1</config:config-item>
<config:config-item config:name="RasterSubdivisionY" config:type="int">1</config:config-item>
<config:config-item config:name="IsRasterAxisSynchronized" config:type="boolean">true</config:config-item>
<config:config-item config:name="AnchoredTextOverflowLegacy" config:type="boolean">false</config:config-item>
</config:config-item-map-entry>
</config:config-item-map-indexed>
</config:config-item-set>
<config:config-item-set config:name="ooo:configuration-settings">
<config:config-item config:name="EmbedComplexScriptFonts" config:type="boolean">true</config:config-item>
<config:config-item config:name="EmbedAsianScriptFonts" config:type="boolean">true</config:config-item>
<config:config-item config:name="EmbedLatinScriptFonts" config:type="boolean">true</config:config-item>
<config:config-item config:name="EmbedOnlyUsedFonts" config:type="boolean">false</config:config-item>
<config:config-item config:name="RasterResolutionY" config:type="int">1270</config:config-item>
<config:config-item config:name="IsOutlineSymbolsSet" config:type="boolean">true</config:config-item>
<config:config-item config:name="RasterSubdivisionY" config:type="int">1</config:config-item>
<config:config-item config:name="GridColor" config:type="int">12632256</config:config-item>
<config:config-item config:name="HasColumnRowHeaders" config:type="boolean">true</config:config-item>
<config:config-item config:name="ShowNotes" config:type="boolean">true</config:config-item>
<config:config-item config:name="HasSheetTabs" config:type="boolean">true</config:config-item>
<config:config-item config:name="PrinterSetup" config:type="base64Binary">lQH+/1NBVDIzVFVTRQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ1VQUzpTQVQyM1RVU0UAAAAAAAAAAAAAAAAAAAAAAAAWAAMAsgAAAAAAAAAIAFZUAAAkbQAASm9iRGF0YSAxCnByaW50ZXI9U0FUMjNUVVNFCm9yaWVudGF0aW9uPVBvcnRyYWl0CmNvcGllcz0xCmNvbGxhdGU9ZmFsc2UKbWFyZ2luZGFqdXN0bWVudD0wLDAsMCwwCmNvbG9yZGVwdGg9MjQKcHNsZXZlbD0wCnBkZmRldmljZT0xCmNvbG9yZGV2aWNlPTAKUFBEQ29udGV4RGF0YQpQYWdlU2l6ZTpMZXR0ZXIAABIAQ09NUEFUX0RVUExFWF9NT0RFEwBEdXBsZXhNb2RlOjpVbmtub3du</config:config-item>
<config:config-item config:name="RasterResolutionX" config:type="int">1270</config:config-item>
<config:config-item config:name="SyntaxStringRef" config:type="short">7</config:config-item>
<config:config-item config:name="RasterIsVisible" config:type="boolean">false</config:config-item>
<config:config-item config:name="ShowZeroValues" config:type="boolean">true</config:config-item>
<config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item>
<config:config-item config:name="RasterSubdivisionX" config:type="int">1</config:config-item>
<config:config-item config:name="IsRasterAxisSynchronized" config:type="boolean">true</config:config-item>
<config:config-item config:name="LoadReadonly" config:type="boolean">false</config:config-item>
<config:config-item config:name="AutoCalculate" config:type="boolean">true</config:config-item>
<config:config-item config:name="EmbedFonts" config:type="boolean">false</config:config-item>
<config:config-item config:name="SaveThumbnail" config:type="boolean">true</config:config-item>
<config:config-item config:name="ShowGrid" config:type="boolean">true</config:config-item>
<config:config-item config:name="PrinterName" config:type="string">SAT23TUSE</config:config-item>
<config:config-item config:name="PrinterPaperFromSetup" config:type="boolean">false</config:config-item>
<config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item>
<config:config-item config:name="LinkUpdateMode" config:type="short">3</config:config-item>
<config:config-item config:name="ShowPageBreaks" config:type="boolean">true</config:config-item>
<config:config-item config:name="SaveVersionOnClose" config:type="boolean">false</config:config-item>
<config:config-item config:name="IsSnapToRaster" config:type="boolean">false</config:config-item>
<config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item>
<config:config-item config:name="UpdateFromTemplate" config:type="boolean">true</config:config-item>
<config:config-item config:name="IsDocumentShared" config:type="boolean">false</config:config-item>
<config:config-item config:name="AllowPrintJobCancel" config:type="boolean">true</config:config-item>
<config:config-item-map-named config:name="ScriptConfiguration">
<config:config-item-map-entry config:name="Sheet1">
<config:config-item config:name="CodeName" config:type="string">Sheet1</config:config-item>
</config:config-item-map-entry>
</config:config-item-map-named>
</config:config-item-set>
</office:settings>
<office:scripts>
<office:script script:language="ooo:Basic">
<ooo:libraries xmlns:ooo="http://openoffice.org/2004/office" xmlns:xlink="http://www.w3.org/1999/xlink">
<ooo:library-embedded ooo:name="Standard"/>
</ooo:libraries>
</office:script>
</office:scripts>
<office:font-face-decls>
<style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
<style:font-face style:name="Noto Sans" svg:font-family="&apos;Noto Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
<style:font-face style:name="Droid Sans Fallback" svg:font-family="&apos;Droid Sans Fallback&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="Lohit Devanagari" svg:font-family="&apos;Lohit Devanagari&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="Lohit Hindi" svg:font-family="&apos;Lohit Hindi&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="Noto Sans CJK SC" svg:font-family="&apos;Noto Sans CJK SC&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
</office:font-face-decls>
<office:styles>
<style:default-style style:family="table-cell">
<style:paragraph-properties style:tab-stop-distance="0.5in"/>
<style:text-properties style:font-name="Liberation Sans" fo:language="en" fo:country="US" style:font-name-asian="Noto Sans CJK SC" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="Lohit Devanagari" style:language-complex="hi" style:country-complex="IN"/>
</style:default-style>
<number:number-style style:name="N0">
<number:number number:min-integer-digits="1"/>
</number:number-style>
<number:currency-style style:name="N122P0" style:volatile="true">
<number:currency-symbol number:language="es" number:country="CO">$</number:currency-symbol>
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>
</number:currency-style>
<number:currency-style style:name="N122">
<style:text-properties fo:color="#ff0000"/>
<number:text>(</number:text>
<number:currency-symbol number:language="es" number:country="CO">$</number:currency-symbol>
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>
<number:text>)</number:text>
<style:map style:condition="value()&gt;=0" style:apply-style-name="N122P0"/>
</number:currency-style>
<number:currency-style style:name="N124P0" style:volatile="true">
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>
<number:text> </number:text>
<number:currency-symbol number:language="fr" number:country="BE">€</number:currency-symbol>
</number:currency-style>
<number:currency-style style:name="N124">
<style:text-properties fo:color="#ff0000"/>
<number:text>-</number:text>
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>
<number:text> </number:text>
<number:currency-symbol number:language="fr" number:country="BE">€</number:currency-symbol>
<style:map style:condition="value()&gt;=0" style:apply-style-name="N124P0"/>
</number:currency-style>
<number:number-style style:name="N125P0" style:volatile="true">
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1"/>
</number:number-style>
<number:number-style style:name="N125">
<style:text-properties fo:color="#ff0000"/>
<number:text>-</number:text>
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1"/>
<style:map style:condition="value()&gt;=0" style:apply-style-name="N125P0"/>
</number:number-style>
<number:currency-style style:name="N10108P0" style:volatile="true" number:language="sl" number:country="SI">
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>
<number:text> </number:text>
<number:currency-symbol number:language="sl" number:country="SI">€</number:currency-symbol>
</number:currency-style>
<number:currency-style style:name="N10108" number:language="sl" number:country="SI">
<style:text-properties fo:color="#ff0000"/>
<number:text>-</number:text>
<number:number number:decimal-places="2" number:min-decimal-places="2" number:min-integer-digits="1" number:grouping="true"/>
<number:text> </number:text>
<number:currency-symbol number:language="sl" number:country="SI">€</number:currency-symbol>
<style:map style:condition="value()&gt;=0" style:apply-style-name="N10108P0"/>
</number:currency-style>
<style:style style:name="Default" style:family="table-cell"/>
<style:style style:name="Heading" style:family="table-cell" style:parent-style-name="Default">
<style:text-properties fo:color="#000000" fo:font-size="24pt" fo:font-style="normal" fo:font-weight="bold"/>
</style:style>
<style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="table-cell" style:parent-style-name="Heading">
<style:text-properties fo:color="#000000" fo:font-size="18pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Heading_20_2" style:display-name="Heading 2" style:family="table-cell" style:parent-style-name="Heading">
<style:text-properties fo:color="#000000" fo:font-size="12pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Text" style:family="table-cell" style:parent-style-name="Default"/>
<style:style style:name="Note" style:family="table-cell" style:parent-style-name="Text">
<style:table-cell-properties fo:background-color="#ffffcc" style:diagonal-bl-tr="none" style:diagonal-tl-br="none" fo:border="0.74pt solid #808080"/>
<style:text-properties fo:color="#333333" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Footnote" style:family="table-cell" style:parent-style-name="Text">
<style:text-properties fo:color="#808080" fo:font-size="10pt" fo:font-style="italic" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Hyperlink" style:family="table-cell" style:parent-style-name="Text">
<style:text-properties fo:color="#0000ee" fo:font-size="10pt" fo:font-style="normal" style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="#0000ee" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Status" style:family="table-cell" style:parent-style-name="Default"/>
<style:style style:name="Good" style:family="table-cell" style:parent-style-name="Status">
<style:table-cell-properties fo:background-color="#ccffcc"/>
<style:text-properties fo:color="#006600" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Neutral" style:family="table-cell" style:parent-style-name="Status">
<style:table-cell-properties fo:background-color="#ffffcc"/>
<style:text-properties fo:color="#996600" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Bad" style:family="table-cell" style:parent-style-name="Status">
<style:table-cell-properties fo:background-color="#ffcccc"/>
<style:text-properties fo:color="#cc0000" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Warning" style:family="table-cell" style:parent-style-name="Status">
<style:text-properties fo:color="#cc0000" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Error" style:family="table-cell" style:parent-style-name="Status">
<style:table-cell-properties fo:background-color="#cc0000"/>
<style:text-properties fo:color="#ffffff" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="bold"/>
</style:style>
<style:style style:name="Accent" style:family="table-cell" style:parent-style-name="Default">
<style:text-properties fo:color="#000000" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="bold"/>
</style:style>
<style:style style:name="Accent_20_1" style:display-name="Accent 1" style:family="table-cell" style:parent-style-name="Accent">
<style:table-cell-properties fo:background-color="#000000"/>
<style:text-properties fo:color="#ffffff" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Accent_20_2" style:display-name="Accent 2" style:family="table-cell" style:parent-style-name="Accent">
<style:table-cell-properties fo:background-color="#808080"/>
<style:text-properties fo:color="#ffffff" fo:font-size="10pt" fo:font-style="normal" fo:font-weight="normal"/>
</style:style>
<style:style style:name="Accent_20_3" style:display-name="Accent 3" style:family="table-cell" style:parent-style-name="Accent">
<style:table-cell-properties fo:background-color="#dddddd"/>
</style:style>
<style:style style:name="Result" style:family="table-cell" style:parent-style-name="Default">
<style:text-properties fo:color="#000000" fo:font-size="10pt" fo:font-style="italic" style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="#000000" fo:font-weight="bold"/>
</style:style>
</office:styles>
<office:automatic-styles>
<style:style style:name="co1" style:family="table-column">
<style:table-column-properties fo:break-before="auto" style:column-width="1.298in"/>
</style:style>
<style:style style:name="co2" style:family="table-column">
<style:table-column-properties fo:break-before="auto" style:column-width="0.889in"/>
</style:style>
<style:style style:name="ro1" style:family="table-row">
<style:table-row-properties style:row-height="0.1937in" fo:break-before="auto" style:use-optimal-row-height="true"/>
</style:style>
<style:style style:name="ro2" style:family="table-row">
<style:table-row-properties style:row-height="0.2244in" fo:break-before="auto" style:use-optimal-row-height="true"/>
</style:style>
<style:style style:name="ro3" style:family="table-row">
<style:table-row-properties style:row-height="0.2717in" fo:break-before="auto" style:use-optimal-row-height="false"/>
</style:style>
<style:style style:name="ro4" style:family="table-row">
<style:table-row-properties style:row-height="0.178in" fo:break-before="auto" style:use-optimal-row-height="true"/>
</style:style>
<style:style style:name="ta1" style:family="table" style:master-page-name="Default">
<style:table-properties table:display="true" style:writing-mode="lr-tb"/>
</style:style>
<number:text-style style:name="N100">
<number:text-content/>
</number:text-style>
<number:number-style style:name="N20000" number:language="en" number:country="US">
<number:number number:min-integer-digits="1"/>
</number:number-style>
<style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default">
<style:table-cell-properties style:text-align-source="fix" style:repeat-content="false" fo:background-color="transparent" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="start" fo:margin-left="0in"/>
<style:text-properties fo:color="#666666" style:font-name="Noto Sans" fo:font-size="9pt" fo:font-weight="bold" style:font-size-asian="9pt" style:font-weight-asian="bold" style:font-size-complex="9pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="ce2" style:family="table-cell" style:parent-style-name="Default">
<style:table-cell-properties style:text-align-source="fix" style:repeat-content="false" fo:background-color="transparent" fo:border="0.06pt solid #ffffff" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="start" fo:margin-left="0in"/>
<style:text-properties fo:color="#1c1c1c" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Noto Sans" fo:font-size="13pt" fo:language="en" fo:country="US" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:text-underline-mode="continuous" style:text-overline-mode="continuous" style:text-line-through-mode="continuous" style:font-size-asian="13pt" style:language-asian="en" style:country-asian="US" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="13pt" style:language-complex="en" style:country-complex="US" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="ce3" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N20000">
<style:table-cell-properties fo:border-bottom="1.56pt double #000000" style:border-line-width-bottom="0.0102in 0.0102in 0.0008in" style:text-align-source="value-type" style:repeat-content="false" fo:background-color="transparent" fo:border-left="none" fo:border-right="none" fo:border-top="none" style:vertical-align="middle"/>
<style:paragraph-properties fo:margin-left="0in"/>
<style:text-properties fo:color="#000000" style:font-name="Noto Sans" fo:font-size="6pt" style:font-name-asian="Droid Sans Fallback" style:font-size-asian="6pt" style:font-name-complex="Lohit Hindi" style:font-size-complex="6pt"/>
</style:style>
<style:style style:name="ce4" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N20000">
<style:table-cell-properties style:text-align-source="value-type" style:repeat-content="false" fo:background-color="transparent" fo:border="0.06pt solid #cccccc" style:vertical-align="middle"/>
<style:paragraph-properties fo:margin-left="0in"/>
<style:text-properties fo:color="#000000" style:font-name="Noto Sans" fo:font-size="6pt" style:font-name-asian="Droid Sans Fallback" style:font-size-asian="6pt" style:font-name-complex="Lohit Hindi" style:font-size-complex="6pt"/>
</style:style>
<style:style style:name="ce7" style:family="table-cell" style:parent-style-name="Default">
<style:table-cell-properties style:vertical-align="middle"/>
<style:text-properties style:font-name="Noto Sans"/>
</style:style>
<style:style style:name="ce8" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N100">
<style:table-cell-properties fo:border-bottom="1.56pt double #000000" style:border-line-width-bottom="0.0102in 0.0102in 0.0008in" fo:background-color="#b4c7dc" style:text-align-source="fix" style:repeat-content="false" fo:border-left="none" fo:border-right="none" fo:border-top="none" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="start" fo:margin-left="0in"/>
<style:text-properties style:use-window-font-color="true" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Noto Sans" fo:font-size="6pt" fo:language="es" fo:country="CO" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="bold" style:text-underline-mode="continuous" style:text-overline-mode="continuous" style:text-line-through-mode="continuous" style:font-name-asian="Droid Sans Fallback" style:font-size-asian="6pt" style:language-asian="zh" style:country-asian="CN" style:font-style-asian="normal" style:font-weight-asian="bold" style:font-name-complex="Lohit Hindi" style:font-size-complex="6pt" style:language-complex="hi" style:country-complex="IN" style:font-style-complex="normal" style:font-weight-complex="bold" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="ce9" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N100">
<style:table-cell-properties style:text-align-source="fix" style:repeat-content="false" fo:border="0.06pt solid #cccccc" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="start" fo:margin-left="0in"/>
<style:text-properties style:use-window-font-color="true" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Noto Sans" fo:font-size="6pt" fo:language="es" fo:country="CO" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:text-underline-mode="continuous" style:text-overline-mode="continuous" style:text-line-through-mode="continuous" style:font-name-asian="Droid Sans Fallback" style:font-size-asian="6pt" style:language-asian="zh" style:country-asian="CN" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-name-complex="Lohit Hindi" style:font-size-complex="6pt" style:language-complex="hi" style:country-complex="IN" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="ce11" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N100">
<style:table-cell-properties fo:border-bottom="1.56pt double #000000" style:border-line-width-bottom="0.0102in 0.0102in 0.0008in" style:text-align-source="fix" style:repeat-content="false" fo:border-left="none" fo:border-right="none" fo:border-top="none" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="start" fo:margin-left="0in"/>
<style:text-properties style:use-window-font-color="true" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Noto Sans" fo:font-size="6pt" fo:language="es" fo:country="CO" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:text-underline-mode="continuous" style:text-overline-mode="continuous" style:text-line-through-mode="continuous" style:font-name-asian="Droid Sans Fallback" style:font-size-asian="6pt" style:language-asian="zh" style:country-asian="CN" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-name-complex="Lohit Hindi" style:font-size-complex="6pt" style:language-complex="hi" style:country-complex="IN" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-emphasize="none" style:font-relief="none" style:text-overline-style="none" style:text-overline-color="font-color"/>
</style:style>
<style:style style:name="ce18" style:family="table-cell" style:parent-style-name="Default">
<style:table-cell-properties style:text-align-source="fix" style:repeat-content="false" fo:background-color="transparent" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="start" fo:margin-left="0in"/>
<style:text-properties fo:color="#666666" style:font-name="Noto Sans" fo:font-size="9pt" fo:font-weight="normal" style:font-size-asian="9pt" style:font-weight-asian="normal" style:font-size-complex="9pt" style:font-weight-complex="normal"/>
</style:style>
<style:style style:name="ce19" style:family="table-cell" style:parent-style-name="Default">
<style:text-properties fo:color="#666666" style:font-name="Noto Sans" fo:font-size="9pt" style:font-size-asian="9pt" style:font-size-complex="9pt"/>
</style:style>
<style:style style:name="ce23" style:family="table-cell" style:parent-style-name="Default">
<style:table-cell-properties style:text-align-source="fix" style:repeat-content="false" fo:background-color="transparent" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="center"/>
<style:text-properties fo:font-size="5pt" style:font-size-asian="5pt" style:font-size-complex="5pt"/>
</style:style>
<style:style style:name="ce21" style:family="table-cell" style:parent-style-name="Default">
<style:table-cell-properties style:text-align-source="fix" style:repeat-content="false" fo:background-color="transparent" style:vertical-align="middle"/>
<style:paragraph-properties fo:text-align="end" fo:margin-left="0in"/>
<style:text-properties fo:color="#666666" style:font-name="Noto Sans" fo:font-size="9pt" fo:font-weight="normal" style:font-size-asian="9pt" style:font-weight-asian="normal" style:font-size-complex="9pt" style:font-weight-complex="normal"/>
</style:style>
<style:page-layout style:name="pm1">
<style:page-layout-properties style:writing-mode="lr-tb"/>
<style:header-style>
<style:header-footer-properties fo:min-height="0.2953in" fo:margin-left="0in" fo:margin-right="0in" fo:margin-bottom="0.0984in"/>
</style:header-style>
<style:footer-style>
<style:header-footer-properties fo:min-height="0.2953in" fo:margin-left="0in" fo:margin-right="0in" fo:margin-top="0.0984in"/>
</style:footer-style>
</style:page-layout>
<style:page-layout style:name="pm2">
<style:page-layout-properties style:writing-mode="lr-tb"/>
<style:header-style>
<style:header-footer-properties fo:min-height="0.2953in" fo:margin-left="0in" fo:margin-right="0in" fo:margin-bottom="0.0984in" fo:border="2.49pt solid #000000" fo:padding="0.0071in" fo:background-color="#c0c0c0">
<style:background-image/>
</style:header-footer-properties>
</style:header-style>
<style:footer-style>
<style:header-footer-properties fo:min-height="0.2953in" fo:margin-left="0in" fo:margin-right="0in" fo:margin-top="0.0984in" fo:border="2.49pt solid #000000" fo:padding="0.0071in" fo:background-color="#c0c0c0">
<style:background-image/>
</style:header-footer-properties>
</style:footer-style>
</style:page-layout>
<style:style style:name="T1" style:family="text">
<style:text-properties style:text-underline-style="none" style:text-underline-color="font-color" fo:font-size="9pt" style:font-name="Noto Sans" fo:color="#666666" style:text-overline-style="none" style:text-overline-color="font-color" style:font-relief="none" style:text-emphasize="none" style:font-style-complex="normal" style:font-style-asian="normal" style:font-weight-complex="normal" style:font-weight-asian="normal" fo:font-weight="normal" style:font-size-complex="9pt" style:font-name-complex="Lohit Devanagari" style:font-name-asian="Noto Sans CJK SC" style:language-complex="hi" style:country-complex="IN" style:language-asian="zh" style:country-asian="CN" fo:language="en" fo:country="US" style:text-line-through-mode="continuous" fo:text-shadow="none" style:text-outline="false" fo:font-style="normal" style:text-line-through-type="none" style:font-size-asian="9pt"/>
</style:style>
</office:automatic-styles>
<office:master-styles>
<style:master-page style:name="Default" style:page-layout-name="pm1">
<style:header style:display="false"/>
<style:header-left style:display="false"/>
<style:footer style:display="false"/>
<style:footer-left style:display="false"/>
</style:master-page>
<style:master-page style:name="Report" style:page-layout-name="pm2">
<style:header style:display="false"/>
<style:header-left style:display="false"/>
<style:footer style:display="false"/>
<style:footer-left style:display="false"/>
</style:master-page>
</office:master-styles>
<office:body>
<office:spreadsheet>
<table:calculation-settings table:automatic-find-labels="false" table:use-regular-expressions="false" table:use-wildcards="true"/>
<table:table table:name="Sheet1" table:style-name="ta1">
<table:table-column table:style-name="co1" table:default-cell-style-name="ce4"/>
<table:table-column table:style-name="co2" table:number-columns-repeated="2" table:default-cell-style-name="ce9"/>
<table:table-column table:style-name="co2" table:number-columns-repeated="6" table:default-cell-style-name="Default"/>
<table:table-row table:style-name="ro1">
<table:table-cell table:style-name="ce1" office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio://context[&apos;company.rec_name&apos;]" xlink:type="simple">context[&apos;company.rec_name&apos;]</text:a></text:p>
</table:table-cell>
<table:table-cell table:style-name="Default" table:number-columns-repeated="2"/>
<table:table-cell office:value-type="string" calcext:value-type="string">
<text:p>Tipo:</text:p>
</table:table-cell>
<table:table-cell table:style-name="ce19" office:value-type="string" calcext:value-type="string"><text:p><text:span text:style-name="T1"><text:a xlink:href="relatorio://&apos;Cliente&apos;%20if%20data[&apos;type&apos;]%20==%20&apos;customer&apos;%20else%20&apos;&apos;" xlink:type="simple">data[&apos;type&apos;]</text:a></text:span><text:span text:style-name="T1"> </text:span><text:span text:style-name="T1"><text:a xlink:href="relatorio://&apos;Proveedor&apos;%20if%20data[&apos;type&apos;]%20==%20&apos;supplier&apos;%20else%20&apos;&apos;" xlink:type="simple">data[&apos;type&apos;]</text:a></text:span></text:p>
</table:table-cell>
<table:table-cell table:number-columns-repeated="2"/>
<table:table-cell table:style-name="ce18"/>
<table:table-cell table:style-name="ce21" office:value-type="string" calcext:value-type="string"><text:p>Fecha de corte: <text:a xlink:href="relatorio://data[&apos;date&apos;]" xlink:type="simple">data[&apos;date]</text:a></text:p>
</table:table-cell>
</table:table-row>
<table:table-row table:style-name="ro2">
<table:table-cell table:style-name="ce2" office:value-type="string" calcext:value-type="string">
<text:p>CUENTAS POR PAGAR O POR COBRAR TERCEROS</text:p>
</table:table-cell>
<table:table-cell table:style-name="ce7" table:number-columns-repeated="2"/>
<table:table-cell table:style-name="ce18"/>
<table:table-cell table:style-name="ce23"/>
<table:table-cell table:number-columns-repeated="4"/>
</table:table-row>
<table:table-row table:style-name="ro3">
<table:table-cell table:style-name="ce3" office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio://for%20each=%22p%20in%20header_report%22" xlink:type="simple">for each=&quot;p in header_report&quot;</text:a></text:p>
</table:table-cell>
<table:table-cell table:style-name="ce8" office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio://p" xlink:type="simple">p</text:a></text:p>
</table:table-cell>
<table:table-cell table:style-name="ce11" office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio:///for" xlink:type="simple">/for</text:a></text:p>
</table:table-cell>
<table:table-cell table:number-columns-repeated="6"/>
</table:table-row>
<table:table-row table:style-name="ro4">
<table:table-cell office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio://for%20each=%22rec%20in%20records%22" xlink:type="simple">for each=&quot;rec in records&quot;</text:a></text:p>
</table:table-cell>
<table:table-cell table:style-name="ce4" table:number-columns-repeated="2"/>
<table:table-cell table:number-columns-repeated="6"/>
</table:table-row>
<table:table-row table:style-name="ro4">
<table:table-cell office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio://for%20each=%22p%20in%20rec.values()%22" xlink:type="simple">for each=&quot;p in rec.values()&quot;</text:a></text:p>
</table:table-cell>
<table:table-cell office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio://p" xlink:type="simple">p</text:a></text:p>
</table:table-cell>
<table:table-cell office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio:///for" xlink:type="simple">/for</text:a></text:p>
</table:table-cell>
<table:table-cell table:number-columns-repeated="6"/>
</table:table-row>
<table:table-row table:style-name="ro4">
<table:table-cell office:value-type="string" calcext:value-type="string"><text:p><text:a xlink:href="relatorio:///for" xlink:type="simple">/for</text:a></text:p>
</table:table-cell>
<table:table-cell table:number-columns-repeated="8"/>
</table:table-row>
</table:table>
<table:named-expressions/>
</office:spreadsheet>
</office:body>
</office:document>

View File

@ -861,37 +861,36 @@ class PortfolioStatusReport(Report):
type_ = 'payable'
cursor = Transaction().connection.cursor()
query = f"""select ml.id, ml.move, pp.name, pc.name as category, pp.id_number, ml.description, ml.reference, am.date, am.number, ml.maturity_date, ac.code, (current_date-ml.maturity_date::date) as expired_days, coalesce(sum(av.amount), 0) as payment_amount,
case when (current_date-ml.maturity_date::date)<=0
then (ml.debit-ml.credit) - coalesce(sum(av.amount), 0) else 0
end as range_0,
case when (current_date-ml.maturity_date::date)<=30 and (current_date-ml.maturity_date::date) > 0
then (ml.debit-ml.credit) - coalesce(sum(av.amount), 0) else 0
end as range_1_30,
case when (current_date-ml.maturity_date::date)<=60 and (current_date-ml.maturity_date::date) > 30
then (ml.debit-ml.credit) - coalesce(sum(av.amount), 0) else 0
end as range_31_60,
case when (current_date-ml.maturity_date::date)<=90 and (current_date-ml.maturity_date::date) > 60
then (ml.debit-ml.credit) - coalesce(sum(av.amount), 0) else 0
end as range_61_90,
case when (current_date-ml.maturity_date::date)>90
then (ml.debit-ml.credit) - coalesce(sum(av.amount), 0) else 0
end as range_91,
((ml.debit-ml.credit) - coalesce(sum(av.amount), 0)) as total
from account_move_line as ml
left join account_account as ac
on ml.account = ac.id left join account_account_type as at
on ac.type = at.id left join account_voucher_line as av
on ml.id=av.move_line left join account_move as am
on am.id=ml.move left join party_party as pp
on pp.id=ml.party left join (select DISTINCT ON (party) party, category from party_category_rel) as pcr
on pcr.party=pp.id left join party_category as pc
on pcr.category=pc.id
%s at.{type_}='t' and ac.reconcile='t' and ml.maturity_date is not null and am.origin is null and ml.reconciliation is null
query = f"""SELECT ml.id, ml.move, pp.name, pc.name AS category, pp.id_number, ml.description, ml.reference, am.date, am.number, ml.maturity_date, ac.code, (current_date-ml.maturity_date::date) AS expired_days, COALESCE(sum(av.amount), 0) AS payment_amount,
CASE WHEN (current_date-ml.maturity_date::date)<=0
THEN (ml.debit-ml.credit) - COALESCE(sum(av.amount), 0) ELSE 0
END AS range_0,
CASE WHEN (current_date-ml.maturity_date::date)<=30 AND (current_date-ml.maturity_date::date) > 0
THEN (ml.debit-ml.credit) - COALESCE(sum(av.amount), 0) ELSE 0
END AS range_1_30,
CASE WHEN (current_date-ml.maturity_date::date)<=60 AND (current_date-ml.maturity_date::date) > 30
THEN (ml.debit-ml.credit) - COALESCE(sum(av.amount), 0) ELSE 0
END AS range_31_60,
CASE WHEN (current_date-ml.maturity_date::date)<=90 AND (current_date-ml.maturity_date::date) > 60
THEN (ml.debit-ml.credit) - COALESCE(sum(av.amount), 0) ELSE 0
END AS range_61_90,
CASE WHEN (current_date-ml.maturity_date::date)>90
THEN (ml.debit-ml.credit) - COALESCE(sum(av.amount), 0) ELSE 0
END AS range_91,
((ml.debit-ml.credit) - COALESCE(sum(av.amount), 0)) AS total
from account_move_line AS ml
LEFT JOIN account_account AS ac
ON ml.account = ac.id LEFT JOIN account_account_type AS at
ON ac.type = at.id LEFT JOIN account_voucher_line AS av
ON ml.id=av.move_line LEFT JOIN account_move AS am
ON am.id=ml.move LEFT JOIN party_party AS pp
ON pp.id=ml.party LEFT JOIN (SELECT DISTINCT ON (party) party, category from party_category_rel) AS pcr
ON pcr.party=pp.id LEFT JOIN party_category AS pc
ON pcr.category=pc.id
%s at.{type_}='t' AND ac.reconcile='t' AND ml.maturity_date is not null AND am.origin is null AND ml.reconciliation is null
%s %s %s
group by ml.id, ml.move, pp.name, pc.name, pp.id_number, ml.description, ml.reference, am.date, am.number, ml.maturity_date, ac.code, expired_days, ml.debit, ml.credit;""" % (cond1, cond2, cond3, cond4)
print('query', query)
cursor.execute(query)
columns = list(cursor.description)
result = cursor.fetchall()

View File

@ -10,6 +10,30 @@ msgctxt "field:account.account.procedure,procedure:"
msgid "Procedure"
msgstr "Procedimiento de Cartera"
msgctxt "field:collection.account_receivable_payable.start,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:collection.account_receivable_payable.start,date:"
msgid "Date To"
msgstr "Fecha de corte"
msgctxt "field:collection.account_receivable_payable.start,posted:"
msgid "Posted Move"
msgstr "Asientos contabilizados"
msgctxt "field:collection.account_receivable_payable.start,terms:"
msgid "Terms"
msgstr "Plazos"
msgctxt "field:collection.account_receivable_payable.start,type:"
msgid "Type"
msgstr "Tipo"
msgctxt "field:collection.account_receivable_payable.start,unit:"
msgid "Unit"
msgstr "Unidad"
msgctxt "field:collection.collection,active:"
msgid "Active"
msgstr "Activo"
@ -234,6 +258,14 @@ msgctxt "field:collection.tracking_report.start,start_date:"
msgid "Start Date"
msgstr "Inicio"
msgctxt "help:collection.account_receivable_payable.start,posted:"
msgid "Only include posted moves."
msgstr "Sólo asientos contabilizados"
msgctxt "help:collection.account_receivable_payable.start,terms:"
msgid "write terms separed by comma"
msgstr "Escribe los plazos separados por coma"
msgctxt "help:collection.collection,company:"
msgid "Make the collection belong to the company."
msgstr ""
@ -254,6 +286,10 @@ msgctxt "model:account.account.procedure,name:"
msgid "Account Procedure"
msgstr ""
msgctxt "model:collection.account_receivable_payable.start,name:"
msgid "Account Receivable Payable Start"
msgstr "Cuentas por Pagar o por Cobrar"
msgctxt "model:collection.collection,name:"
msgid "Collection"
msgstr "Cartera"
@ -302,6 +338,10 @@ msgctxt "model:ir.action,name:act_collection_procedure_form"
msgid "Collection Procedures"
msgstr "Procedimiento de Cartera"
msgctxt "model:ir.action,name:report_account_receivable_payable"
msgid "Accounts Receivable Payable"
msgstr ""
msgctxt "model:ir.action,name:report_bill_collection"
msgid "Bill Collection"
msgstr "Recaudo de Cartera"
@ -314,6 +354,10 @@ msgctxt "model:ir.action,name:report_tracking"
msgid "Tracking Report"
msgstr "Reporte de Seguimiento de Cartera"
msgctxt "model:ir.action,name:wizard_account_receivable_payable"
msgid "Accounts Receivable Payable"
msgstr ""
msgctxt "model:ir.action,name:wizard_collection_create"
msgid "Create Collections"
msgstr "Crear Carteras a Recaudar"
@ -340,10 +384,18 @@ msgctxt ""
msgid "Running"
msgstr "En ejecución"
msgctxt "model:ir.message,text:msg_missing_account_procedure"
msgid "Missing the configuration accounts in procedure selected."
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_collection"
msgid "Collection"
msgstr "Cartera"
msgctxt "model:ir.ui.menu,name:menu_account_receivable_payable"
msgid "Accounts Receivable Payable"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_collection_configuration"
msgid "Configuration"
msgstr "Configuración"
@ -388,6 +440,579 @@ msgctxt "model:res.group,name:group_collection"
msgid "Collection"
msgstr "Cartera"
#, fuzzy
msgctxt "report:collection.account_receivable_payable.report:"
msgid "$"
msgstr "$"
#, fuzzy
msgctxt "report:collection.account_receivable_payable.report:"
msgid "("
msgstr "("
#, fuzzy
msgctxt "report:collection.account_receivable_payable.report:"
msgid ")"
msgstr ")"
#, fuzzy
msgctxt "report:collection.account_receivable_payable.report:"
msgid "-"
msgstr "-"
msgctxt "report:collection.account_receivable_payable.report:"
msgid "/for"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "CUENTAS POR PAGAR O POR COBRAR TERCEROS"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "Fecha de corte:"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "Tipo:"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "context['company.rec_name']"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "data['date]"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "data['type']"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "for each=\"p in header_report\""
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "for each=\"p in rec.values()\""
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "for each=\"rec in records\""
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "p"
msgstr ""
msgctxt "report:collection.account_receivable_payable.report:"
msgid "€"
msgstr ""
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "$"
msgstr "$"
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "%"
msgstr "%"
msgctxt "report:collection.bill_collection_report:"
msgid "% RECAUDO"
msgstr ""
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "("
msgstr "("
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid ")"
msgstr ")"
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid ","
msgstr ","
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "-"
msgstr "-"
msgctxt "report:collection.bill_collection_report:"
msgid "--"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "--)"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "."
msgstr ""
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "/"
msgstr "/"
msgctxt "report:collection.bill_collection_report:"
msgid "/for"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "00/00/0000"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "00:00:00"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "???"
msgstr ""
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "CLIENTE"
msgstr "CLIENTE"
msgctxt "report:collection.bill_collection_report:"
msgid "DIAS DE MORA"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "FACTURA"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "FECHA DOC"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "FECHA FINAL:"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "FECHA INICIAL:"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "FECHA. VENC"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "GESTOR"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "ID CLIENTE"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "NUM. DOC."
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "Página"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "RECAUDO DE CARTERA"
msgstr ""
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "TOTAL"
msgstr "TOTAL"
#, fuzzy
msgctxt "report:collection.bill_collection_report:"
msgid "company"
msgstr "empresa"
msgctxt "report:collection.bill_collection_report:"
msgid "end_date"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "for each='rec in records'"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['amount']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['create_uid_name']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['date']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['days_past_due']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['id_number']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['invoice']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['maturity_date']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['number']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['party']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "rec['rate']"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "start_date"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "sum_total"
msgstr ""
msgctxt "report:collection.bill_collection_report:"
msgid "€"
msgstr ""
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "$"
msgstr "$"
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "%"
msgstr "%"
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "("
msgstr "("
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid ")"
msgstr ")"
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "-"
msgstr "-"
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "/"
msgstr "/"
msgctxt "report:collection.portfolio_status_report:"
msgid "/for"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "/if"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "0 DIAS"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "1 30 DIAS"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "31 60 DIAS"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "61 90 DIAS"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "> 90 DIAS"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "ASIENTO"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "CATEGORIA"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "CENTRO DE OPERACION"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "CUENTA"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "DIAS VENCIDOS"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "FECHA DE VENCIMIENTO"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "FECHA FACTURA"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "FECHA VENCIMIENTO"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "ID DOCUMENTO"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "INFORME DE CARTERA"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "NOTES"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "NUM. FACTURA"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "PLAZO DE PAGO"
msgstr ""
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "REFERENCIA"
msgstr "REFERENCIA"
msgctxt "report:collection.portfolio_status_report:"
msgid "TERCERO"
msgstr ""
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "TOTAL"
msgstr "TOTAL"
#, fuzzy
msgctxt "report:collection.portfolio_status_report:"
msgid "company"
msgstr "empresa"
msgctxt "report:collection.portfolio_status_report:"
msgid "data['date_to']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "fecha de corte:"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "for each='for each='rec in lines_without_inv'"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "for each='for each='rec in records'"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "if test=\"data['kind'] == 'in'\""
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "if test=\"data['kind'] == 'out'\""
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['category']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['code']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['date']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['description']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['expired_days']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['id_number']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'].estimate_pay_date"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'].invoice_date"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid ""
"rec['invoice'].lines[0].operation_center and "
"rec['invoice'].lines[0].operation_center.name"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'].number"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'][0].account.code"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'][0].estimate_pay_date"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'][0].move.number"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'][0].payment_term.name"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['invoice'][0].reference"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['maturity_date']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['name']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['notes']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['number']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['party'].id_number"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['party'].name"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['range_0']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['range_1_30']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['range_31_60']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['range_61_90']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['range_91']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['reference']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "rec['total']"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(range_0)"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(range_1_30)"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(range_31_60)"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(range_61_90)"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(range_91)"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(rec['range_0'])"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(rec['range_1_30'])"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(rec['range_31_60'])"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(rec['range_61_90'])"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(rec['range_91'])"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(rec['total'])"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "sum(total)"
msgstr ""
msgctxt "report:collection.portfolio_status_report:"
msgid "€"
msgstr ""
#, fuzzy
msgctxt "report:collection.tracking_report:"
msgid "$"
@ -519,9 +1144,10 @@ msgctxt "report:collection.tracking_report:"
msgid "de"
msgstr ""
#, fuzzy
msgctxt "report:collection.tracking_report:"
msgid "end"
msgstr ""
msgstr "Fin"
msgctxt "report:collection.tracking_report:"
msgid "for each='line in records'"
@ -563,14 +1189,43 @@ msgctxt "report:collection.tracking_report:"
msgid "pta"
msgstr ""
#, fuzzy
msgctxt "report:collection.tracking_report:"
msgid "start"
msgstr ""
msgstr "Inicio"
msgctxt "report:collection.tracking_report:"
msgid "€"
msgstr ""
msgctxt "selection:collection.account_receivable_payable.start,type:"
msgid "Customers"
msgstr "Clientes"
msgctxt "selection:collection.account_receivable_payable.start,type:"
msgid "Customers and Suppliers"
msgstr "Clientes y proveedores"
msgctxt "selection:collection.account_receivable_payable.start,type:"
msgid "Suppliers"
msgstr "Proveedores"
msgctxt "selection:collection.account_receivable_payable.start,unit:"
msgid "Days"
msgstr "Días"
msgctxt "selection:collection.account_receivable_payable.start,unit:"
msgid "Months"
msgstr "Meses"
msgctxt "selection:collection.account_receivable_payable.start,unit:"
msgid "Weeks"
msgstr "Semanas"
msgctxt "selection:collection.account_receivable_payable.start,unit:"
msgid "Years"
msgstr "Años"
msgctxt "selection:collection.collection,state:"
msgid "Cancel"
msgstr "Cancelar"
@ -583,7 +1238,6 @@ msgctxt "selection:collection.collection,state:"
msgid "Running"
msgstr "En ejecución"
#, fuzzy
msgctxt "selection:collection.print_portfolio_status.start,kind:"
msgid "Customer"
msgstr "Cliente"
@ -664,6 +1318,18 @@ msgctxt "view:collection.tracking:"
msgid "Collection Percent (%)"
msgstr "Porcentaje de Recaudo"
msgctxt "wizard_button:collection.account_receivable_payable,start,end:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:collection.account_receivable_payable,start,print_:"
msgid "Print"
msgstr "Imprimir"
msgctxt "wizard_button:collection.create,start,END:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:collection.create,start,create_:"
msgid "Create"
msgstr "Crear"
@ -672,6 +1338,10 @@ msgctxt "wizard_button:collection.create,start,end:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:collection.print_bill_collection,start,END:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:collection.print_bill_collection,start,end:"
msgid "Cancel"
msgstr "Cancelar"
@ -680,6 +1350,10 @@ msgctxt "wizard_button:collection.print_bill_collection,start,print_:"
msgid "Print"
msgstr "Imprimir"
msgctxt "wizard_button:collection.print_portfolio_status,start,END:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:collection.print_portfolio_status,start,end:"
msgid "Cancel"
msgstr "Cancelar"
@ -688,6 +1362,10 @@ msgctxt "wizard_button:collection.print_portfolio_status,start,print_:"
msgid "Print"
msgstr "Imprimir"
msgctxt "wizard_button:collection.tracking_wizard,start,END:"
msgid "Cancel"
msgstr "Cancelar"
msgctxt "wizard_button:collection.tracking_wizard,start,end:"
msgid "Cancel"
msgstr "Cancelar"

View File

@ -10,4 +10,5 @@ depends:
xml:
collection.xml
configuration.xml
account.xml
message.xml

View File

@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!-- this file is part of tryton. the copyright file at the top level of
this repository contains the full copyright notices and license terms. -->
<form>
<label name="company"/>
<field name="company"/>
<label name="date"/>
<field name="date"/>
<label name="type"/>
<field name="type"/>
<label name="terms"/>
<field name="terms"/>
<label name="unit"/>
<field name="unit"/>
<label name="posted"/>
<field name="posted"/>
</form>