-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pyxb fattura pa in #5
Conversation
@@ -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 |
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.
@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”.
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.
@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): |
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.
fatPA
added as parameter but never used
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.
when I'm done to implement all of the fields , if not needed , delete it
Segno qui per non dimenticarmi: bisogna rivedere poi la cosa siccome il "\n" non e' ammesso nell xml. |
[8.0] fix sequence and is_company check
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
ADD chatter IMP search and tree view IMP metadata
No description provided.