Skip to content
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

Pyxb fattura pa in #5

Merged

Conversation

archetipo
Copy link

No description provided.

@@ -158,6 +158,8 @@ def _setFormatoTrasmissione(self, cr, uid, company, context=None):
def _setCodiceDestinatario(self, cr, uid, partner, context=None):
if context is None:
context = {}
#TODO check iPa code is required only for P.A. company
# but xml invoice can be make also for private company
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@archetipo fatturaPA is for PA. See http://www.fatturapa.gov.it/export/fatturazione/sdi/fatturapa/v1.1/Formato_FatturaPA_tabellare_V1.1.pdf : CodiceDestinatario is required (1.1) and contains

codice dell'ufficio dell’amministrazione dello stato destinatario della fattura, definito dall'amministrazione di appartenenza come
riportato nella rubrica “Indice PA”.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eLBati yes , but only if your xml is made for an P.A. and the communication is under SDI ,but if you want send an xml invoice to private company IPA code is not required. For Example big private company like Enel only accept xml invoices http://www.acquisti.enel.it/en-GB/doc/Comunicazione_Fornitori_webedi.pdf

@@ -38,13 +37,18 @@ def saveAttachment(self, cr, uid, context=None):

return False

def getPartnerId(self, cr, uid, xmlDataCedentePrestatore, context=None):
def getPartnerId(self, cr, uid, cedPrest, fatPA, context=None):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fatPA added as parameter but never used

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I'm done to implement all of the fields , if not needed , delete it

eLBati pushed a commit that referenced this pull request Mar 16, 2015
eLBati added a commit that referenced this pull request Mar 17, 2015
@eLBati eLBati merged commit 13ef009 into eLBati:pyxb_imp_add_fattura_pa_in Mar 17, 2015
@eLBati eLBati deleted the pyxb_fattura_pa_in branch March 17, 2015 13:28
@archetipo
Copy link
Author

Segno qui per non dimenticarmi:
su
comment += (item + '\n')

bisogna rivedere poi la cosa siccome il "\n" non e' ammesso nell xml.

eLBati pushed a commit that referenced this pull request Jul 22, 2015
eLBati pushed a commit that referenced this pull request Aug 12, 2015
eLBati pushed a commit that referenced this pull request Nov 30, 2015
eLBati pushed a commit that referenced this pull request Nov 12, 2018
eLBati pushed a commit that referenced this pull request Dec 6, 2018
[8.0] fix sequence and is_company check
eLBati added a commit that referenced this pull request Jun 24, 2019
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request May 6, 2021
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request May 10, 2021
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request May 21, 2021
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request Jun 18, 2021
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request Jun 25, 2021
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request Jun 25, 2021
ADD chatter
IMP search and tree view
IMP metadata
eLBati added a commit that referenced this pull request Jun 28, 2021
ADD chatter
IMP search and tree view
IMP metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants