-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
[12.0] New module l10n_it_account_balance_report #1571
[12.0] New module l10n_it_account_balance_report #1571
Conversation
2c1cb4c
to
e82992c
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.
Controlla travis plis
e82992c
to
c99521f
Compare
c99521f
to
52f7d98
Compare
class AccountType(models.Model): | ||
_inherit = 'account.account.type' | ||
|
||
account_balance_report_section = fields.Selection( |
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.
Come mai non usare il campo esistente internal_group
?
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 mi era stato detto così allo sprint napoletano di giugno, non essendo un esperto di contabilità mi son fidato 😅
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.
Ok però bisogna trovare la risposta
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.
@alessandrocamilli tu sai dirci di più?
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.
Il campo serve per definire se il conto va stampato tra i costi o ricavi del conto economico, oppure se tra le attività o passività dello stato patrimoniale. Il campo internal_group definisce questo? Altrimenti lasciamo così com'è
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.
Il campo internal_group
può assumere i seguenti valori:
('equity', 'Equity'),
('asset', 'Asset'),
('liability', 'Liability'),
('income', 'Income'),
('expense', 'Expense'),
quindi molto simili a account_balance_report_section
(a parte equity
e asset
che per account_balance_report_section
si tratta sempre di attività).
Comunque se vedete problemi nell'utilizzare internal_group
, vi chiedo solo di scriverlo in un commento sopra la definizione di account_balance_report_section
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.
io non userei internal_group per lasciare la stampa indipendente da quelle che possono essere le definizioni contabili di Odoo. @SilvioGregorini puoi scrivere questo?
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 @alessandrocamilli ho aggiornato la PR e, contestualmente, anche la PR su 11.0: #1282
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.
ok, grazie
52f7d98
to
b1d7c47
Compare
@SilvioGregorini puoi fare rebase per includere 74b8e6b ? |
b1d7c47
to
0809624
Compare
@eLBati fatto |
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.
ok
l10n_it_account_balance_report/report/account_balance_report_xlsx.py
Outdated
Show resolved
Hide resolved
l10n_it_account_balance_report/report/account_balance_report_xlsx.py
Outdated
Show resolved
Hide resolved
l10n_it_account_balance_report/report/account_balance_report_xlsx.py
Outdated
Show resolved
Hide resolved
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.
L'xlsx inoltre esce in formato inglese, al contrario degli altri report
0809624
to
e4e993a
Compare
@eLBati maintainer aggiunto. |
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.
Grazie per la PR!
Giusto due piccole note.
P.S.: riesci per cortesia ad aggiungere il .pot? Rende più facile la revisione documentale/traduzioni. Grazie. :-)
'name': "Italian Localisation -" | ||
" Stampe Stato Patrimoniale e Conto Economico", | ||
'summary': "Report PDF e XLS per Stato Patrimoniale e Conto Economico" | ||
" a sezioni contrapposte", |
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.
Come da linee guida direi ITA -
, inoltre stato patrimoniale e conto economico andrebbero con la lettera minuscola.
P.S.: in questo caso, per uniformità con le attuali traduzioni di contabilità (e con il glossario) sarebbe consigliabile tradurre Report
con Rendiconto
.
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.
Come da linee guida direi
ITA -
Scusa, probabilmente mi sono espresso male.
In name
bastava sostituire Italian Localization -
con ITA -
senza aggiungere Rendicontazione
.
Se invece è una cosa voluta no problem. ;-)
P.S.: il report
a cui mi riferivo è quello nel summary
, per uniformità sarebbe da sostituire con Rendiconto
oppure Rendiconti
.
inoltre stato patrimoniale e conto economico andrebbero con la lettera minuscola.
Sono presenti anche in summary
.
e5364bb
to
9bd17aa
Compare
@primes2h ho aggiunto .po e .pot, modificato il nome del modulo. |
@SilvioGregorini non vedo usato il metodo |
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.
Dopo queste per me 👍
Grazie mille.
l10n_it_account_balance_report/report/templates/account_balance_report.xml
Outdated
Show resolved
Hide resolved
'name': "Italian Localisation -" | ||
" Stampe Stato Patrimoniale e Conto Economico", | ||
'summary': "Report PDF e XLS per Stato Patrimoniale e Conto Economico" | ||
" a sezioni contrapposte", |
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.
Come da linee guida direi
ITA -
Scusa, probabilmente mi sono espresso male.
In name
bastava sostituire Italian Localization -
con ITA -
senza aggiungere Rendicontazione
.
Se invece è una cosa voluta no problem. ;-)
P.S.: il report
a cui mi riferivo è quello nel summary
, per uniformità sarebbe da sostituire con Rendiconto
oppure Rendiconti
.
inoltre stato patrimoniale e conto economico andrebbero con la lettera minuscola.
Sono presenti anche in summary
.
@sergiocorato non penso sia lì il problema, quei due metodi non toccano le traduzioni, semplicemente ottimizzano la scrittura dei dati sul file .xls, quindi già lì dovrebbe ricevere la stringa tradotta |
9bd17aa
to
bd4de3d
Compare
@primes2h sistemato il manifest e il typo nel template |
@@ -0,0 +1,7 @@ | |||
**Italiano** | |||
|
|||
Report PDF e XLS per stato patrimoniale e conto economico a sezioni contrapposte. |
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.
Scusami, mi era sfuggito. 🙏
Anche questo andrebbe uniformato.
P.s: per quanto riguarda il problema dell'xls non tradotto se riesco provo a darci un'occhiata.
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.
P.S.2: dimenticavo, il file it.po non l'ho revisionato, meglio farlo direttamente su weblate dopo il merge del modulo.
@SilvioGregorini non riesco ad approfondire a breve, però se scrivi 10.05 come stringa tale esce, se la scrivi come numero poi viene espressa in base al locale no? beh, era un'idea |
@SilvioGregorini |
bd4de3d
to
3ac96db
Compare
@primes2h modificato anche |
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.
Ho fatto una prova di esportazione, ma l'xlsx è ancora tutto in inglese.
aa9c3b4
to
2a47c11
Compare
@SilvioGregorini ottimo, se puoi solo correggere queste (poca roba) https://travis-ci.org/OCA/l10n-italy/jobs/647430918#L336-L338 |
2a47c11
to
e401162
Compare
/ocabot merge |
What a great day to merge this nice PR. Let's do it! |
@sergiocorato c'era ancora questa cosa da verificare, per questo la mia approvazione era ancora in sospeso. |
Nel runbot non ho idea se sia pertinente in questo caso
Sergio Corato
Il giorno lun 10 feb 2020 alle ore 11:54 Sergio Zanchetta <
notifications@github.com> ha scritto:
… @ser <https://github.com/ser>
@SilvioGregorini <https://github.com/SilvioGregorini> 👍
Ho fatto una prova di esportazione, ma l'xlsx è ancora tutto in inglese.
@sergiocorato <https://github.com/sergiocorato> c'era ancora questa cosa
da verificare, per questo la mia approvazione era ancora in sospeso.
Nel runbot l'xlsx esce ancora in inglese, anche se in locale (appena
provato) risulta correttamente in italiano.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1571?email_source=notifications&email_token=AB2NOXYVWG4SWZQGIDQENFTRCEW5DA5CNFSM4J6V5J7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELICEYA#issuecomment-584065632>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2NOX7O5V3CLTKDNQRD4JLRCEW5DANCNFSM4J6V5J7A>
.
|
Congratulations, your PR was merged at b0b3325. Thanks a lot for contributing to OCA. ❤️ |
Descrizione del problema o della funzionalità: aggiunti report .pdf e .xls a sezioni contrapposte per conto economico e stato patrimoniale
Comportamento attuale prima di questa PR: /
Comportamento desiderato dopo questa PR: /
--
Confermo di aver firmato il CLA https://odoo-community.org/page/cla e di aver letto le linee guida su https://odoo-community.org/page/contributing