Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049229 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo Localizations] Localization Portugal | major | always | 2022-05-05 13:27 | 2022-07-13 12:21 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | igor_trebol | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Regression introduced in release | ||||||||
Summary | 0049229: The simplified invoices must comply with nº 1 of art 40 of CIVA. | |||||||
Description | The simplified invoices must comply with nº 1 of art 40 of CIVA. The software must know which type of business the user has, to be able to issue compliant documents (the value is controlled by NetTotal); | |||||||
Steps To Reproduce | n/A | |||||||
Proposed Solution | Adjust PT certification Code (Simplified Invoice Threshold) to new Business Partner Type field (see JIRA RM- 547), therefore for the "Identified" customers": * if "Company" business partner type is configured, simplified invoice threshold is 100,00€ * if "Individuals" bp type is configured, simplified invoice threshold is 1000.00€ Same way in those case where an not identified customer (anonymous) customer buys a product and gives his/her NIF in the "Tax ID pop up" the existing logic must be adapted. * if the tax id enters by 1,2 and 3, the BP can be considered as an "individual", simplified invoice threshold is 1000,00€ * if the tax id entered is 5 or 6, the BP can be considered as a "company", simplified invoice threshold is 100,00€ | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||
|
Notes | |
(0137430) psanjuan (manager) 2022-05-18 14:05 |
Related to Jira https://openbravo.atlassian.net/browse/RM-564 [^] [^] |
(0137434) aferraz (developer) 2022-05-18 14:21 edited on: 2022-05-18 15:07 |
Remove OBSIT_CheckTaxableCustomer hook from https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold [^] and use new legal customer type instead implemented in 0047952. Module https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold.pt_PT [^] won't be needed anymore. Set legal customer type to ticket business partner, together with taxId (0048874), from Customer Tax ID popup in https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/ [^] |
(0138278) hgbot (developer) 2022-06-10 15:44 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold/-/merge_requests/11 [^] |
(0138298) hgbot (developer) 2022-06-13 12:03 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/54 [^] |
(0138572) hgbot (developer) 2022-06-20 16:34 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^] Changeset: 1864f7f87f51b3f584a19132f402b876a812545a Author: Igor Trebol <igor.trebol@openbravo.com> Date: 20-06-2022 14:34:00 URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/1864f7f87f51b3f584a19132f402b876a812545a [^] Fixes ISSUE-49229: Customer tax id pop-up now sets the legal customer type for anonymous clients --- M web/com.practicsbs.saftpt.retail/js/hooks/prepayment.js --- |
(0138573) hgbot (developer) 2022-06-20 16:34 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/54 [^] |
(0138577) hgbot (developer) 2022-06-20 16:51 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold [^] Changeset: d2b3b89dbd9526c8cbb8bd2b6e581b00e223b6b5 Author: Igor Trebol <igor.trebol@openbravo.com> Date: 20-06-2022 14:51:22 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold/-/commit/d2b3b89dbd9526c8cbb8bd2b6e581b00e223b6b5 [^] FIXES ISSUE-49229: Thresholds now use the BP's Legal Customer Type field to check if they are taxable --- M web/org.openbravo.retail.simpinvoicethreshold/js/prePaymentHook.js --- |
(0138578) hgbot (developer) 2022-06-20 16:51 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold/-/merge_requests/11 [^] |
(0138778) hgbot (developer) 2022-06-27 11:49 |
Repository: https://gitlab.com/openbravo/ci/mobile-test [^] Changeset: 2bdf27f89eacbfd937f5b767caf7dab2353f8d23 Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com> Date: 27-06-2022 11:49:35 URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/2bdf27f89eacbfd937f5b767caf7dab2353f8d23 [^] Related to ISSUE-49229: Remove simplified invoice threshold selenium test suite as this module is automated using jest tests --- R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/suites/concurrent/job014/SimplifiedInvoiceThresholdSuite.java R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/suites/concurrent/job014/SimplifiedInvoiceThresholdSuiteHV.java R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/siinvoicethreshold/AllSimplifiedInvoiceThresholdTests.java R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/siinvoicethreshold/AllSimplifiedInvoiceThresholdTestsHV.java R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/siinvoicethreshold/SimplifiedInvoiceThresholdTest.java R src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/siinvoicethreshold/SimplifiedInvoiceThresholdTestHelper.java --- |
(0139297) hgbot (developer) 2022-07-13 12:20 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold [^] Changeset: 2026532656f7caf06e81044e8bfa3827ea0b3020 Author: Igor Trebol <igor.trebol@openbravo.com> Date: 13-07-2022 10:20:31 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.simpinvoicethreshold/-/commit/2026532656f7caf06e81044e8bfa3827ea0b3020 [^] Related to ISSUE-49229: Renamed legalCustomerType property as businessPartnerType done in 0049714 --- M web-test/model/business-object/ticket/TicketUtils-isBusinessPartnerTaxable.test.js M web/org.openbravo.retail.simpinvoicethreshold/app/model/business-object/ticket/TicketUtils.js --- |
(0139299) hgbot (developer) 2022-07-13 12:20 |
Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^] Changeset: 309e87cfa4af9df69eb22d8766d3b585ff93cf66 Author: Igor Trebol <igor.trebol@openbravo.com> Date: 13-07-2022 10:20:46 URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/309e87cfa4af9df69eb22d8766d3b585ff93cf66 [^] Related to ISSUE-49229: Renamed legalCustomerType property as businessPartnerType done in 0049714 --- M web/com.practicsbs.saftpt.retail/js/hooks/prepayment.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-05-05 13:27 | psanjuan | New Issue | |
2022-05-05 13:27 | psanjuan | Assigned To | => psanjuan |
2022-05-16 12:01 | psanjuan | Relationship added | related to 0047952 |
2022-05-18 13:47 | psanjuan | Proposed Solution updated | |
2022-05-18 13:49 | psanjuan | Proposed Solution updated | |
2022-05-18 13:50 | psanjuan | Proposed Solution updated | |
2022-05-18 14:05 | psanjuan | Note Added: 0137430 | |
2022-05-18 14:21 | aferraz | Note Added: 0137434 | |
2022-05-18 15:07 | aferraz | Note Edited: 0137434 | View Revisions |
2022-06-06 10:52 | aferraz | Relationship replaced | depends on 0047952 |
2022-06-10 15:44 | hgbot | Note Added: 0138278 | |
2022-06-13 12:03 | hgbot | Note Added: 0138298 | |
2022-06-13 12:51 | igor_trebol | Relationship added | related to 0049537 |
2022-06-20 13:38 | aferraz | Type | design defect => feature request |
2022-06-20 16:34 | hgbot | Resolution | open => fixed |
2022-06-20 16:34 | hgbot | Status | new => closed |
2022-06-20 16:34 | hgbot | Note Added: 0138572 | |
2022-06-20 16:34 | hgbot | Note Added: 0138573 | |
2022-06-20 16:51 | hgbot | Note Added: 0138577 | |
2022-06-20 16:51 | hgbot | Note Added: 0138578 | |
2022-06-27 11:49 | hgbot | Note Added: 0138778 | |
2022-07-05 09:52 | aferraz | Assigned To | psanjuan => igor_trebol |
2022-07-13 12:20 | hgbot | Note Added: 0139297 | |
2022-07-13 12:20 | hgbot | Note Added: 0139299 | |
2022-07-13 12:21 | aferraz | Relationship added | depends on 0049714 |
Copyright © 2000 - 2009 MantisBT Group |