Commit Graph
598 Commits
Author SHA1 Message Date
SebastianEcomify 8a96462538 Improved: Convert CostService.xml minilang to groovy
(OFBIZ-11595)

Thanks: Sebastian Berg for implementation
2021-02-21 11:38:21 +00:00
Pierre Smits c71a7ae06d Improved: UI labels
(OFBIZ-9352)

Cleaning up unused labels
2020-02-21 11:20:47 +01:00
Michael Brohl db92854bce Improved: Translate invoice type dropdown
(OFBIZ-10191)

Thanks Ingo Wolfmayr for reporting and providing the patch.
2020-02-01 19:07:58 +01:00
Nicolas Malin 4a511be1cc Implemented: Homogenize displaying number with multiple format
(OFBIZ-7532)

To display a number we had different possibilities :
 * on ftl use the template <@ofbizAmount and <@ofbizCurrency
 * by java call a function UtilFormatOut.formatAmount, UtilFormatOut.formatPrice, UtilFormatOut.formatQuantity, etc..
 * by form widget, use <display type=accounting-number for accounting but nothing for other

To simplify and homogenize all, I implemented a number type purpose :
   * default: display a number by default, use when no purpose is present
   * quantity: display a number as a quantity
   * amount: display a number as an amount (like price without currency)
   * spelled: litteral displaying for a number (use on <@ofbizAmount ftl only before)
   * percentage: display a number as a percentage
   * accounting: diplay a number for accounting specific

Each purpose can be associate to a number for displaying it :
   * on ftl <@ofbizNumber number=value format=purpose/>
   * on java UtilFormatOut.formatNumber(value, purpose, delegator, locale)
   * on form widget <display type=number format=purpose/>

The format use by a purpose is define on framework/common/config/number.properties with the template
    .displaying.format = ##0.00

With this, you can surchage a configuration, create your own purpose or surchage only one through entity SystemProperty.

Concerning the backware compatibility: 
 * For the ftl the template <@ofbizAmount is now a link to '<@ofbizNumber format=amount'
 * For java all previous function call UtilFormatOut.formatNumber with the matching purpose
 * For form xml accounting-number is managed as an exection

Last point, display a currency is different that a number, so I didn't refactoring some code for this case (only move properties from general to number for centralize de configuration on the same file)

Thanks Charles Steltzlen to start the refactoring

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1864832 13f79535-47bb-0310-9956-ffa450edef68
2019-08-09 20:37:11 +00:00
Jacques Le Roux 4d646ce052 Improved: Use "Create" instead of "Create New" on the various screens of all
components
(OFBIZ-9905)

As the title says + removes now useless labels

Thanks: Aayush Jain for report, Sourabh Jain for the fix, Pierre Smits and 
Rishi Solanki for comments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858291 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 17:56:44 +00:00
Suraj Khurana 31e2fd3768 Improved: Corrected typo in 'GiftCertificate' UiLabels.
(OFBIZ-10861)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856595 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 04:53:12 +00:00
Jacques Le Roux a677ab18e0 Improved: Translations es-CL in AccountingUiLabels
(OFBIZ-10784)

Adds all translation es-CL  (Chile) in AccountingUiLAbels

Thanks: Jonathan(!)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1851529 13f79535-47bb-0310-9956-ffa450edef68
2019-01-17 13:38:22 +00:00
Jacques Le Roux a8ae48be7b Fixed: Tax not added for order shipping or promotion
(OFBIZ-4160)

Removes AccountingTaxAuthorityCategoryAdvice and usage, now useless

Fixes possible "BigInteger divide by zero" in rateProductTaxCalc

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1847715 13f79535-47bb-0310-9956-ffa450edef68
2018-11-29 13:09:53 +00:00
Jacques Le Roux 3190e0ff2e Improved: Create patch for removal of IDEAL code in framework
(OFBIZ-5444)

Removes all iDEAL specifics from the framework (actually only applications)

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1846227 13f79535-47bb-0310-9956-ffa450edef68
2018-11-09 10:20:10 +00:00
Nicolas Malin b7daa1356d Improved: Improve Dutch UiLabels in Accounting component
(OFBIZ-10363)
Thanks to Pierre Smits for this improvement

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1835592 13f79535-47bb-0310-9956-ffa450edef68
2018-07-10 18:29:07 +00:00
Jacques Le Roux 5a75983cf3 Improved: Same UiLabel used for multiple purposes
(OFBIZ-10336)

AccountingGiftCerticateNumberCannotFulfill uiLabel is used for multiple purposes
There should be separate UiLabel if survey response is not found for gift 
certificate.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829136 13f79535-47bb-0310-9956-ffa450edef68
2018-04-14 12:31:29 +00:00
Nicolas Malin 8aa723a98a Implemented: Add PartyPrefDocTypeTpl entity to link official template document to organisational party (OFBIZ-10186)
With this entity we can link a customScreen with an organisational party for a document type like salesinvoice, product quote and so on.
I added screen, form and menu to manage them on the organisation party configuration page accounting/control/ListCompanies
Currently this isn't useful alone but needed for issues OFBIZ-10215, OFBIZ-10216, OFBIZ-10217 that will be completed soon

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1824436 13f79535-47bb-0310-9956-ffa450edef68
2018-02-16 09:04:06 +00:00
Jacques Le Roux e454f2871d Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

Fix my previous commits, there is no themes webapp so no URL at 
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820980 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 13:31:38 +00:00
Jacques Le Roux b964875337 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

The ofbiz_logo.png is now in theme. This is only the framework part. 
I have also made change in theme but I need to review again and perhaps create 
a patch for others to review...
Note: testUpdatePartyGroup is OK

Then I'll also rename the logo in site to use the same name before maybe
referring to svn trunk repo to use only 1 file everywhere, same for the .ico
file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820862 13f79535-47bb-0310-9956-ffa450edef68
2018-01-11 11:05:26 +00:00
Jacques Le Roux cd6330a34a Improved: ID should be the abbreviation for identity in English
(OFBIZ-100131)

Completes r1820451

Thanks: James Yong for the Jira and r1820451 commit


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820457 13f79535-47bb-0310-9956-ffa450edef68
2018-01-07 13:26:22 +00:00
James Yong b2004efd5a Improved: ID should be the abbreviation for identity in English
(OFBIZ-100131)

Cover translations that are missed earlier.
Also cover non-English translations.

Thanks: Jacques for the additional patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820451 13f79535-47bb-0310-9956-ffa450edef68
2018-01-07 12:16:21 +00:00
Jacques Le Roux eeae5fc2da No functional change, fixes French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819925 13f79535-47bb-0310-9956-ffa450edef68
2018-01-03 05:21:48 +00:00
James Yong 38d0f7455d Fixed: ID should be the abbreviation for identity in English
(OFBIZ-10131)

Replaced the word 'Id' with 'ID' in the *Labels.xml files for "en" locale.
Improved the logic for auto title so that labels generated for variables like productTypeId 
will be 'Product Type ID' instead of 'Product Type Id'.

Thanks: Jacques for the review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819906 13f79535-47bb-0310-9956-ffa450edef68
2018-01-02 21:58:37 +00:00
Jacques Le Roux 95b17d4d23 Improved: The main logo in screen upper part shows distorted
(OFBIZ-9990)

Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png, 
instead of the old logo deprecated ofbiz_logo.gif 

While at it use the same logo everywhere it's possible. It was needed for links 
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists 
(actually seems only used for tests so could stay like that but better not refer 
to it anyway)

Also use this logo for Bluelight theme where it fits. 

It could not be used in Rainbow themes because they are using a Scalable Vector 
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 18:45:50 +00:00
Jacques Le Roux 658fc8ce10 No functional change
Fixes a missing English label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805424 13f79535-47bb-0310-9956-ffa450edef68
2017-08-18 13:27:02 +00:00
Jacques Le Roux 743a9e88a0 (OFBIZ-9530)
In the method processAuthResult() line 1889 there is an empty if-statement for 
the case that authResult is null. It seems like somebody was planning to cover 
the case but forgot to add code.

I would suggest to return a service error when the authResult is null since 
otherwise it cannot be determined if the payment is authorized or not.

Thanks: Kyra Pritzel-Hentley


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804843 13f79535-47bb-0310-9956-ffa450edef68
2017-08-11 19:14:21 +00:00
Nicolas Malin 97f0363e2c Fixed: add forget label AccountingUpdateRateAmountAlreadyExist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802671 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 10:43:38 +00:00
Arun Patidar 8a3f704e53 Fixed: ACCTG TRANS ENTRIES PDF link on invoiceOverview does not work. (OFBIZ-6774)
Thanks Morten and Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801320 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 20:24:35 +00:00
Jacques Le Roux a2fea6cc11 Improved: Disentangle unused Accounting labels
(OFBIZ-8290)

This removes some unused labels from the accounting component. 
Because of OFBIZ-8154 being unfinished (but mostly done), I all checked them by 
hand. So I'm sure they are really unused

Note: Remains 304 unused Accounting labels

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787132 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 06:41:40 +00:00
Jacques Le Roux bb4dbe4923 Improved: Document the rounting number fields in entities
(OFBIZ-7725)

"As suggested by Paul Foxworthy I added the Bank-State-Branch label for 
Australia. You might want to check the translation for you country or add it"

Oops forgot to commit the file in previsou commit :/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1770391 13f79535-47bb-0310-9956-ffa450edef68
2016-11-18 15:08:41 +00:00
Gil Portenseigne 486aca72dd Improved: Improve Dutch labels for error handling in Accounting (OFBIZ-8054)
Thanks: Pierre Smits for the contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761146 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:57:28 +00:00
Divesh Dutta 6aac00975e [OFBIZ-7475] Provided the option to update Check Payment Method from Party profile page. Introduced new service updateCheckAccount. Thanks Jagpreet Kaur for the patch and Swapnil for creating the ticket.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759180 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 17:11:08 +00:00
Deepak Dixit e99052cf12 (OFBIZ-7969) Applied slightly modified patch from jira issue.
=================================
Enable adding a content to an agreement
=================================
Thanks Leila Mekika for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:24:00 +00:00
Deepak Dixit fad72e465c (OFBIZ-7726) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in accounting component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759056 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 08:35:41 +00:00
Divesh Dutta 44df371581 [OFBIZ-6899] Added support to add Check Account from Party profile page. Now user can add separate Check account with Bank name , routing number and other details and these details will be added in recently added new table called CheckAccount. Added Check account will also be shown in Payment method section of Party profile page. Added new service createCheckAccount to support this functionality. Thanks to Jagpreet Kaur for providing the patch and thanks Pierre for reporting the ticket and discussions. Also thanks to Jacques and Swapnil Shah for participating in discussions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758926 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 10:02:32 +00:00
Jacques Le Roux 385f76e7c4 Fixes a typo introduced with OFBIZ-7918
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757978 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 09:45:16 +00:00
Taher A. Alkhateeb a858c7f712 Add translations to labels submitted by Pierre Smits, reviewed and corrected by myself (Taher Alkhateeb) - OFBIZ-7918
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757498 13f79535-47bb-0310-9956-ffa450edef68
2016-08-24 11:29:54 +00:00
Jacques Le Roux 7ada24fd04 This removes the pos component. OFBIZ-7804 "Check if we should fix or remove the POS (hence WebPos?)"
Most is done already. Test pass but testFopMacroLibrary but I don't see how it could be related to these changes, could be a quirk on Windows, BuilBot will tell us. Anyway, I will later double-check to be sure, also to see if I did not miss anything else.

I have voluntarily left 2 or 3 moot points
I was unable to remove possible POS references in <property key="FieldDescription.ProductStore.isImmediatelyFulfilled"> for certain language I'm unable to read.
I have to check if we should keep or not this code snippet
                <!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->
                <entity-count entity-name="InventoryItem" count-field="iiCount">
                    <condition-expr field-name="facilityId" operator="equals" from-field="orderHeader.originFacilityId"/>
                </entity-count>
I simply commented out twice this snippet in InvoiceServices.java, because I wonder if it would not be useful when the webPos will be able to issue money change
//                if (null == adj.get("amount")) { // JLR 17/4/7 : fix a bug coming from POS in case of use of a discount (on item(s) or sale, sale here) and a cash amount higher than total (hence issuing change)
//                    continue;
//                }

While at it, since I modified OPTIONAL_LIBRARIES, I also changed these svn:properties: svn:eol-style = native & svn:mime-type = text/plain


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754402 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 12:27:20 +00:00
Pranay Pandey 2981106b63 [OFBIZ-7707] Improved payment method information UI on party profile screen for creating new payment methods. Thanks Chandan Khandelwal for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752972 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:22:18 +00:00
Mridul Pathak 2f42e6315a [OFBIZ-7204] Accounting: Arrange UI labels in alphabetic order. Thanks Shivangi Tanwar for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749007 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 13:17:08 +00:00
Jacques Le Roux e7cdb8a30d Implements "Use only HTTPS in OFBiz" - https://issues.apache.org/jira/browse/OFBIZ-6849
All tests passes and the normal use of OFBiz seems to work

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745525 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 18:02:23 +00:00
Jacques Le Roux 6d5dd1c5ba Things got totally wrong with r1742196 which contained much more than expected.
This reverts things which should not have been committed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742197 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 21:03:11 +00:00
Jacques Le Roux 31ef1f9186 "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029
Completes in screens the changes done in forms at r1741873. I then replaced few form lists by grids, where it was possible to do it with regexp.
Also complete StatsForms.xml to use only grids and "searchList" form in ecommerce ContentForms to NOT use grid (not called in screen)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742196 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 20:50:10 +00:00
Jacques Le Roux 08e258af68 Non functional change, only a French label
A disbursment is not a débours but a décaissement

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738056 13f79535-47bb-0310-9956-ffa450edef68
2016-04-06 21:22:59 +00:00
Jacques Le Roux 89d5d687ef Patches from Pierre Smits for <<rename AccountingConfig.properties to accounting.properties>> https://issues.apache.org/jira/browse/OFBIZ-6954
Currently many properties files in various components are named after the component, i.e. the bi component has bi.properties.
In order to have consistency from component to component the AccountingConfig.properties file must be renamed to accounting.properties and all references in other components should reflect the change.

jleroux: I also changed a bunch of accountingconfig names in comments/descriptions/etc.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736734 13f79535-47bb-0310-9956-ffa450edef68
2016-03-27 10:59:54 +00:00
Jacques Le Roux 4a0e16a792 A patch from Pierre Smits for <<enhancement of dutch labels>> https://issues.apache.org/jira/browse/OFBIZ-6950
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736246 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 20:13:43 +00:00
Jacques Le Roux 327fb83021 A patch from Tomas Pytelka for "Czech translation" https://issues.apache.org/jira/browse/OFBIZ-6885
jleroux: this was git patch, I'm now used to change them to apply, but I will explain how to generate svn patch from it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729078 13f79535-47bb-0310-9956-ffa450edef68
2016-02-08 07:56:23 +00:00
Jacques Le Roux cdd350b7aa Fixes a typo: xml != xlm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729005 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 18:38:19 +00:00
Hans Bakker 047ee1e342 update of accounting NL labels: https://issues.apache.org/jira/browse/OFBIZ-6875
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728398 13f79535-47bb-0310-9956-ffa450edef68
2016-02-04 01:28:39 +00:00
Arun Patidar 3865ff485d [OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Michael Brohl f0129986de Removed duplicate german translations for labels AccountingPayWithWorldPay and FormFieldTitle_organizationPartyId
Thanks Jacques for spotting this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693903 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 13:52:07 +00:00
Michael Brohl 7853deb863 Added about 1800 missing or wrong German labels for the accounting component (OFBIZ-6521).
Corrected a few other labels, mainly typos or unnecessary spaces.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687775 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 14:17:30 +00:00
Shi Jinghai 85bed69778 Refs #6518.
Translated new labels in trunk version into zh locale (Simplified Chinese).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
Taher A. Alkhateeb d685409f67 Translate the accounting component to Arabic
This is one part of the translation to Arabic project found
in JIRA OFBIZ-6432 to fully translate OFBiz to Arabic.

The commit translates the following files fully:
- AccountingUiLabels.xml
- AccountingEntityLabels.xml
- AccountingErrorUiLabels.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682592 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 09:14:17 +00:00
Jacques Le Roux 11211efb6e A patch from Bob Morley for "Data seeding to support ability to return products of type RAW_MATERIAL" https://issues.apache.org/jira/browse/OFBIZ-3669
This patch contains data seeding that supports the ability to have return items that contain products of type RAW_MATERIAL.  This allows an enterprise to return raw materials back to suppliers as well as customers returning them (if the enterprise sells raw materials to customers).  There is no code in this patch, just the data model wiring to map the raw material product types to the proper return types / accounting types.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650949 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 18:41:53 +00:00