Skip to content

[11.0][MIG] account vat period end statement (final version)#555

Closed
jackjack82 wants to merge 44 commits into
OCA:11.0from
jackjack82:11.0-mig-account_vat_period_end_statement_DEF
Closed

[11.0][MIG] account vat period end statement (final version)#555
jackjack82 wants to merge 44 commits into
OCA:11.0from
jackjack82:11.0-mig-account_vat_period_end_statement_DEF

Conversation

@jackjack82

Copy link
Copy Markdown
Member

No description provided.

@SimoRubi SimoRubi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just code review, mostly non-blocking comments

'Interest - Percent', default=_get_default_interest_percent)
fiscal_page_base = fields.Integer(
'Last printed page', required=True, default=0)
fiscal_year = fields.Char(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Here you are adding a new functionality, I suggest you do this in a separate commit

* Alex Comba <alex.comba@agilebg.com>
* Alessandro Camilli <camillialex@gmail.com>
* Simone Rubino <simone.rubino@agilebg.com>
* Giacomo Grasso <giacomo.grasso.82@gmail.com>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can autogenerate a nice README using this script

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please fix copyrights following the format defined in the template module: generic in __init__ files, with authors elsewhere (xml files too)

if statement.move_id.exists():
for line in statement.move_id.line_ids:
payment_lines.extend(filter(None, [
payment_lines.extend([_f for _f in [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe it can be more clear to simply wrap filter in list: list(filter(...)), but that's ok too

@labaggio labaggio Feb 11, 2019

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's the command 2to3 -wnj4 --no-diffs . that convert the line

@eLBati eLBati added this to the 11.0 milestone Aug 28, 2018
@eLBati eLBati added the needs fixing Has conflicts or is failing mandatory CI checks label Aug 28, 2018
@jackjack82 jackjack82 force-pushed the 11.0-mig-account_vat_period_end_statement_DEF branch from 2895a5c to 915b6fd Compare October 4, 2018 20:07
sergiocorato and others added 25 commits October 5, 2018 11:09
[FIX] period vat move set equal to date vat period statement

[FIX] code for 7.0

[FIX] other code for 7.0

[FIX] other code for 7.0

[FIX] copyright
[FIX] in fase di liquidazione iva, quando vado a ricercare i periodi per la liquidazione, questi sono visualizzati solo dall'utente Admin. L'utente "normale" anche se ha diritti di administratore non visualizza i periodi
[FIX] liquidazione IVA - impossibile salvare una nuova liquidazione

[REF] Set all the modules of the master branches to "installable": False
moves all modules into a __unported__ directory
Update code using by 'git checkout origin/7.0  -- account_vat_period_end_statement'

Replace OpenERP Italia by Odoo Italia in all header files

Update copyright year for agilebg

Extract the description in README.rst

Improve the manifest file: change version, add OCA as author, remove deprecated key as active

Add OCA icon

Fix 'ImportError: No module named tools.translate'

Fix 'ImportError: No module named decimal_precision'

Fix 'ImportError: No module named report'

Add group tags to show up the missing labels
[ADD] missing translatable terms
fix Travis
<<

fix line too long

Vat registries:
- add last printed page
- tax registries, add type layout
- add flag print only totals

Vat end period statment:
- link header to l10n_it_account
- print payment information

l10n_it_account:
- change header and footer
FIX avoid breaking inheritance of report.minimal_layout

IMP README with images

IMP translations
PEP8
README
CamelCase

ADD test VAT statement creation
OCA Transbot updated translations from Transifex
remove active_id and correct number revision

Fix selection of interest in vat statement
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
…d of account_invoice_sequential_dates

Refactoring for variables name to be more clear
OCA Transbot updated translations from Transifex
tafaRU and others added 19 commits October 5, 2018 11:10
…at.period.end.statement

account_vat_period_end_statement: change module version and add post-migration script to copy company from periods
ADD postgresql: "9.2" minimal postgresql version for the daterange method

account_vat_period_end_statement ADD description on statement.generic.account.line
ADD interessi dovuti e modifica del loro calcolo
ValueError: Expected singleton: account.vat.period.end.statement(1, 2, 4, 6, 7, 8, 9, 10, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
…ing account.period (with vat statement) to date.range (OCA#408)
… integrazione iva (OCA#379)

fix imponibile imposta figlia con integrazione iva
…mpany compliant (OCA#428)

[FIX] account_vat_period_end_statement: check move_id exists to get statement_draft properly working (OCA#435)

move_id needs to be checked if exists in the computed fields, otherwise the method unlink, during the fields recomputation, raises a MissingError for them

[FIX] account_vat_period_end_statement: post move + cancel move (OCA#436)
…te.range and date.range.type

Otherwise a user who belongs to adviser group cannot add a date.range to vat statement
In cases like today, feb 28, no date range is found
@eLBati eLBati force-pushed the 11.0-mig-account_vat_period_end_statement_DEF branch from 915b6fd to 640d9bd Compare October 5, 2018 09:10
@sergiocorato

Copy link
Copy Markdown
Contributor

@jackjack82 puoi fare un rebase per risolvere i conflitti sulle dipendenze che sono state aggiunte nel frattempo nel file oca_dependencies.txt?

@eLBati

eLBati commented Feb 5, 2019

Copy link
Copy Markdown
Member

@labaggio sei interessata a portare avanti questa PR?

@labaggio

labaggio commented Feb 5, 2019

Copy link
Copy Markdown

@labaggio sei interessata a portare avanti questa PR?

@eLBati mi stai sfruttando ahahahah cerco di infilarlo nei prossimi giorni.. ma arrivati ad un certo numero di porting vinco qualcosa? :)

@eLBati

eLBati commented Feb 5, 2019

Copy link
Copy Markdown
Member

Ricchi premi!

@labaggio

Copy link
Copy Markdown

Ricchi premi!
@eLBati
#996 fatta, vediamo come vanno i controlli :)

@eLBati

eLBati commented Feb 12, 2019

Copy link
Copy Markdown
Member

Chiudo allora questa

@eLBati eLBati closed this Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs fixing Has conflicts or is failing mandatory CI checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.