Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion account_payment_group/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ def create(self, vals):
apply when the all the counterpart account are receivable/payable """
# Si viene counterpart_aml entonces estamos viniendo de una
# conciliacion desde el wizard
import pdb;pdb.set_trace()
new_aml_dicts = self._context.get('new_aml_dicts', [])
counterpart_aml_data = self._context.get('counterpart_aml_dicts', [])
if counterpart_aml_data or new_aml_dicts:
Expand Down
2 changes: 2 additions & 0 deletions account_payment_group/models/account_payment_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ def _compute_account_internal_type(self):
if rec.partner_type:
rec.account_internal_type = MAP_PARTNER_TYPE_ACCOUNT_TYPE[
rec.partner_type]
else:
rec.account_internal_type = False

def _compute_payment_difference(self):
for rec in self:
Expand Down
5 changes: 3 additions & 2 deletions l10n_ar_afipws_fe/models/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def do_pyafipws_request_cae(self):
moneda_ctz = inv.currency_id.rate
if not moneda_id:
raise ValidationError('No esta definido el codigo AFIP en la moneda')

cond_iva_receptor = commercial_partner.l10n_ar_afip_responsibility_type_id.code

CbteAsoc = inv.get_related_invoices_data()

Expand All @@ -595,7 +595,8 @@ def do_pyafipws_request_cae(self):
imp_iva,
imp_trib, imp_op_ex, fecha_cbte, fecha_venc_pago,
fecha_serv_desde, fecha_serv_hasta,
moneda_id, round(moneda_ctz,2)
moneda_id, round(moneda_ctz,2),
cond_iva_receptor
)
if inv.other_taxes_amount > 0:
for move_tax in inv.move_tax_ids:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ git+https://github.com/pysimplesoap/pysimplesoap@stable_py3k
# fpdf>=1.7.2
# dbf>=0.88.019
# Pillow>=2.0.0
git+https://github.com/reingart/pyafipws@py3k
git+https://github.com/Serfe-com/pyafipws@ArreglarConditionIvaCliente