-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
[17.0] [MIG] account_product_fiscal_classification #417
Closed
Nikul-OSI
wants to merge
153
commits into
OCA:17.0
from
ursais:17_nc_mig_account_product_fiscal_classification
Closed
Changes from 1 commit
Commits
Show all changes
153 commits
Select commit
Hold shift + click to select a range
2256616
merged useful tax logic modules from 5.0 branch (they are required fo…
rvalyi 165f751
account_product_fiscal_classification: temporary workaround to pass t…
rvalyi 9abe2a8
account_product_fiscal_classification: fixed the way user avoid messi…
rvalyi 8c441ee
changed fiscal_classification_id_change method in product.product and…
421a342
migrate module account_product_fiscal_classification to compatible wi…
130d60b
added folder security with access rules for objects in modules accoun…
36a69ab
Fixed account.invoice views from account_fiscal_position_rule module
6f9496f
account_product_fiscal_classification: typically, service products do…
rvalyi 4c6442c
account_fiscal_position_rule, account_fiscal_position_rule_sale refac…
renatonlima a959dce
account_fiscal_position_rule modules and account_product_fiscal_class…
renatonlima 4226031
account_product_fiscal_classification, add Update All Produtos Button…
renatonlima 1870a17
onchange methods in account_fiscal_position_rule_sale and account_pro…
renatonlima 4682379
updated wizards from account_fiscal_position_rule and
renatonlima ed1fabf
clean up account_product_fiscal_classification
874c4ab
Clean syntax
sebastienbeau 0569e8b
Update copyright
sebastienbeau 619ee4a
fixed tree view
rvalyi d9f0f1e
view fix for v7
rvalyi 89d427f
Improved code format, changed views for migration to OpenERP 7.0 and …
renatonlima dd3b998
account_product_fiscal_classification module migration to OpenERP v7
renatonlima 287b650
refactored onchange method and field definition
renatonlima 270839f
product account tab view correction, for better reading
6d42965
mark all addons as unported
gurneyalex 9391fe2
rename module 1/2;
legalsylvain 2ae126b
renaming model;
legalsylvain bd736bf
change function name according to the new objective of the function;
legalsylvain d403fdf
add demo data and change rules to manage and test multi company context;
legalsylvain d327c07
193a624
move init function into 'post_init_hook' part. courtesy : @StefanRijn…
legalsylvain 5067515
use new API; Remove useless code, as the init function is now only ca…
legalsylvain f762d3c
bad path for screenshots;
legalsylvain 37cc58d
flake8;
legalsylvain 7b6d74d
improve comments about how classification_id field is set as required;
legalsylvain 249cd3f
pot file ; fr translation file ; set name field as translatable;
legalsylvain 3fe78e2
add pt_BR.po file;
legalsylvain a21f41a
code and description on account_product_fiscal_classification model;j
legalsylvain 66d4729
OCA Transbot updated translations from Transifex
oca-transbot 2dbad90
invalid name fields taxes
renatonlima f6685c5
added fiscal classification template model
renatonlima a4b082e
added action, menu and views to fiscal classification model
renatonlima 2096eca
added wizard fiscal classification model
renatonlima 8e3c290
added action, menu and views to fiscal classification wizard
renatonlima 69f02fa
added tests
renatonlima c972762
pep8
renatonlima e76af0a
change version
renatonlima 035a62c
rename folders according OCA Guidelines
renatonlima 5f57bfd
magically turn testing on by renaming tests/tests.py to tests/test_cl…
mileo 5c8bfe4
fixed wrong xml_id ref -> tests 1,2,3 and 4 pass. 5 and 6 fail.
rvalyi f67f8f9
Revert changing in user group and fix remaining tests
mileo e2e741a
Pep8
mileo ba46c4e
Make modules uninstallable
rvalyi a1cce9f
Migration the views, menus, add depends and make module installable.
mbcosta 2459587
Migration demo datas an add license header.
mbcosta 1a68a0d
Add attribute name to allow inherit the view.
mbcosta f3f828d
OCA Transbot updated translations from Transifex
oca-transbot 485260f
remove en.po that was erroneously created by transbot
sbidoul 25360c7
OCA Transbot updated translations from Transifex
oca-transbot 8654a73
OCA convention; (light header);
legalsylvain 391bb68
classification restriction by product category;
legalsylvain db68ad2
set api.multi in a function; (bug if we changed classification for mo…
legalsylvain b814bba
improve display;
legalsylvain 3c6fa8d
bug : it was not possible to delete a classification after mass change;
legalsylvain 0d2b2cf
OCA Transbot updated translations from Transifex
oca-transbot 9db92b3
incorrect order when loading demo data
legalsylvain f59c4b9
author
legalsylvain 46bf432
remove invalid leaf in V9.0 on account.tax / account.tax.template par…
legalsylvain d01546e
Change field Fiscal Position to be required. (#53)
mbcosta b0af759
OCA Transbot updated translations from Transifex
oca-transbot da3eef9
Make modules uninstallable
rvalyi 0daf747
Rename manifest files
rvalyi aee50d5
fix header files
renatonlima 65b1e77
update module metadata
renatonlima 991dd13
fix import
renatonlima 3718fda
product.template object
renatonlima a5cc582
product.category object
renatonlima 338e820
account.product.fiscal.classification.model object
renatonlima 9e59624
account.product.fiscal.classification object
renatonlima 56ae0e3
security xml file
renatonlima 3460896
format xml files
renatonlima cbd2030
migrate yml files
renatonlima 941c93a
fix file headers
renatonlima ea1ede5
added security rule to fiscal classification template
renatonlima 124bcc0
IMP category views
bealdav dd5ae23
FIX conflict revert
bealdav 9c7e9a8
remove useless tab moves, reducing diff during review
legalsylvain e5bd882
OCA Transbot updated translations from Transifex
oca-transbot 30a2365
remove obsolete .pot files [ci skip]
sbidoul 0169a63
Update account_product_fiscal_classification.pot
oca-travis 3ca98c6
account_product_fiscal_classification: RST syntax
pedrobaeza 8e51725
12.0
8c78603
finish to port account_product_fiscal_classification in V12 [REF] spl…
legalsylvain b7db5f4
Update account_product_fiscal_classification.pot
oca-travis 7e66a80
README.rst
OCA-git-bot 119ec87
icon.png
OCA-git-bot b1faff8
Update translation files
oca-transbot 3ff0612
Translated using Weblate (Portuguese)
alvarorib bc8ef6a
FIX prd_classif: set taxes on all companies sharing classif
bealdav 5c8e7a7
Update account_product_fiscal_classification.pot
oca-travis 678efc1
README.rst
OCA-git-bot b3f5ab8
account_product_fiscal_classification 12.0.1.1.0
OCA-git-bot 2c56bba
Update translation files
oca-transbot b1c2a37
account_product_fiscal_classification: fix duplicate XMLId
dreispt f4c6e6e
Update account_product_fiscal_classification.pot
oca-travis c4086cc
account_product_fiscal_classification 12.0.1.2.0
OCA-git-bot 4418721
Update translation files
oca-transbot 5f79c64
Translated using Weblate (Slovenian)
sysadminmatmoz 864d653
allow to see products related to fiscal classification
legalsylvain 9c04e45
account_product_fiscal_classification 12.0.1.3.0
OCA-git-bot 31cea4e
IMP prd_fisc_classif: track change on product model
bealdav b8c634d
Update account_product_fiscal_classification.pot
oca-travis 00d8ee2
README.rst
OCA-git-bot b5e7b79
Update translation files
oca-transbot 861c855
account_product_fiscal_classification: Black python code
b8808b4
account_product_fiscal_classification: Migration to 13.0
a5d9973
account_product_fiscal_classification, account_product_fiscal_classif…
db99219
account_product_fiscal_classification: Migration to 14.0
729d89c
Update account_product_fiscal_classification.pot
oca-travis a39fda8
README.rst
OCA-git-bot efb26e1
adopting account_product_fiscal_classification and account_product_fi…
legalsylvain 613368a
README.rst
OCA-git-bot dc42fa2
account_product_fiscal_classification: pre-commit run fixes
dreispt 4505064
account_product_fiscal_classification 14.0.1.0.1
OCA-git-bot 95d2f22
account_product_fiscal_classification: port module from 14.0 to 16.0 …
legalsylvain cfc1298
translation
legalsylvain c925674
Update account_product_fiscal_classification.pot
5a23fdf
README.rst
OCA-git-bot fbbcc00
account_product_fiscal_classification 16.0.1.0.2
OCA-git-bot 36de18c
Translated using Weblate (Croatian)
badbole 8c1aa14
Translated using Weblate (Italian)
mymage aebcd01
Translated using Weblate (Slovenian)
sysadminmatmoz 15e5b3c
account_product_fiscal_classification: add search view
alexis-via df88302
account_product_fiscal_classification: remove translate=True
alexis-via 72debc4
Translated using Weblate (French)
sanrav 7de782f
Translated using Weblate (French (France) (fr_FR))
sanrav 89957e0
Translated using Weblate (French (France) (fr_FR))
sanrav 55a3eb8
Translated using Weblate (Italian)
mymage 751bf6b
Translated using Weblate (Spanish)
Ivorra78 4672570
Translated using Weblate (Italian)
francesco-ooops f4bce7f
README.rst
OCA-git-bot 38eecaf
Update account_product_fiscal_classification.pot
5954165
oca-github-bot post-merge updates
OCA-git-bot 3a96d6c
Update translation files
weblate dc53342
Translated using Weblate (Spanish)
Ivorra78 2713f0a
Translated using Weblate (French)
f85fe2c
account_product_fiscal_classification: pre-commit
dreispt db3c615
post-merge updates
OCA-git-bot 9109860
account_product_fiscal_classification: order by fiscal classification…
legalsylvain 441f269
post-merge updates
OCA-git-bot f2f774a
FIX fisc_prd_class: set product_tax_multicompany_default as incompati…
bealdav 8498abc
post-merge updates
OCA-git-bot 4374a19
Translated using Weblate (Swedish)
jakobkrabbe cca821c
[FIX] account_product_fiscal_classification: black, isort, prettier
Nikul-OSI 3eb6e44
[MIG] account_product_fiscal_classification: Migrated in v17
Nikul-OSI File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,6 +130,10 @@ Contributors | |
|
||
- Danimar RIBEIRO | ||
|
||
- Open Source Integrators (https://opensourceintegrators.com) | ||
|
||
- Nikul Chaudhary <[email protected]> | ||
|
||
Maintainers | ||
----------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,11 @@ | |
|
||
import logging | ||
|
||
from odoo import SUPERUSER_ID, api | ||
|
||
_logger = logging.getLogger(__name__) | ||
|
||
|
||
def create_fiscal_classification_from_product_template(cr, registry): | ||
env = api.Environment(cr, SUPERUSER_ID, {}) | ||
def create_fiscal_classification_from_product_template(env): | ||
# env = api.Environment(cr, SUPERUSER_ID, {}) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Delete? |
||
AccountTax = env["account.tax"] | ||
AccountProductFiscalClassification = env["account.product.fiscal.classification"] | ||
template_values = ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ | |
> - Renato Lima \<<[email protected]>\> | ||
|
||
- Danimar RIBEIRO | ||
|
||
- Open Source Integrators (<https://opensourceintegrators.com>) | ||
- Nikul Chaudhary \<<[email protected]>\> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Deletes? Are you sure this is not needed?