-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[15.0][IMP] l10n_es_facturae: Change facturae to commercial field #3437
[15.0][IMP] l10n_es_facturae: Change facturae to commercial field #3437
Conversation
Hi @etobella, |
408111d
to
18d76ae
Compare
96f8d49
to
01db6e8
Compare
01db6e8
to
8027ea9
Compare
@@ -1670,8 +1670,8 @@ | |||
</xs:complexType> | |||
<xs:complexType name="ExtensionsType"> | |||
<xs:sequence> | |||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/> | |||
</xs:sequence> | |||
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @etobella
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto estaba en otro commit para la 14. La idea de este cambio es permitir añadir extensiones. Seria requerido, por ejemplo, en el caso de enviar facturas a FaceB2B
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vale, pero esto no va en el mismo commit y debe llevar su propia explicación y que el título del PR y comentario principal se adapte también.
8027ea9
to
4bc9dc5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Por mi parte lo veo bien, pero viendo que has añadido otros commits, estaria bien separarlo con los commits originales para ver la historia correcta
@@ -1670,8 +1670,8 @@ | |||
</xs:complexType> | |||
<xs:complexType name="ExtensionsType"> | |||
<xs:sequence> | |||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/> | |||
</xs:sequence> | |||
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto estaba en otro commit para la 14. La idea de este cambio es permitir añadir extensiones. Seria requerido, por ejemplo, en el caso de enviar facturas a FaceB2B
4bc9dc5
to
c49a4a0
Compare
Ya lo he separado en distintos commits para ver la historia FYI @pedrobaeza |
7fdb852
to
97f446f
Compare
97f446f
to
be19df8
Compare
Aplican los mismos comentarios puestos en #3439 |
Tiene conflicto. ¿Esto aún aplica? |
6b79bd7
to
1b262bb
Compare
Se aplicaron los cambios solicitados |
ping @etobella |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has añadido un código que solo tiene sentido en envíos a FACe Puedes mirarlo?
@@ -147,6 +148,10 @@ def validate_facturae_fields(self): | |||
raise ValidationError(_("Partner vat is too small")) | |||
if not self.partner_id.state_id: | |||
raise ValidationError(_("Partner state not provided")) | |||
if not self.partner_id.unidad_tramitadora: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No recuperes este código. Solo tiene sentido para envíos a FACe, en el que tendremos a futuro B2B no tiene sentido
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vale entonces dices que debo de cambiarlo de lugar para el FACe? Así como valido que esté completo el Organo gestor, aplicaría la validación de la Unidad Tramitadora no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Los campos organo gestor, unidad tramitadora y oficina contable solo deberían ser obligatorios si envío a FACe. Por ejemplo, en FACeB2B no es así. Cuando lo hicimos en su dia, no lo contemplamos, aunque a dia de hoy, al conocerlo, no hace ningún daño irlo modificando
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya quedaron los cambios aplicados
1b262bb
to
cca55f7
Compare
cca55f7
to
af362d9
Compare
af362d9
to
6dd54ad
Compare
ping @pedrobaeza |
This PR has the |
/ocabot merge minor |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 14c82eb. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa
@pedrobaeza @carlosdauden
TT47656