Though there is an entity PaymentAttribute this cannot be accessed by user with VIEW permissions when accessing a Payment.
See:
for entity data: https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/PaymentAttribute
test payment: https://demo-trunk.ofbiz.apache.org/accounting/control/paymentOverview?paymentId=8003
Modified:
AccountingMenus.xml
added menu-item for payment attributes to InvoiceTabBar menu
controller.xml
added request-map and view-map for request paymentAttributes
PaymentScreens.xml
added screen for payment attributes
PaymentForms.xml
added grid to display payment attributes
AccountingUiLabels.xml - added label PageTitlePaymentAttributes, used in screen PaymentAttributes
Though there is an entity InvoiceNote, this cannot be accessed by user with VIEW permissions when accessing an invoice.
See:
for entity data:https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceNote
test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001
Modified:
AccountingMenus.xml
- added menu-item for invoice notes to InvoiceTabBar menu, reordered menu-items alphabetically
controller.xml
- added request-map and view-map for request invoiceNotes
InvoiceScreens.xml
- added screen for invoice notes
InvoiceForms.xml
- added grid to display InvoiceNote records
AccountingUiLabels.xml
- added label for page title invoice notes.
* Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428)
Though there is an entity InvoiceContactMech, this cannot be accessed by user with VIEW permissions when accessing an invoice.
See:
for entity data: https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceContactMech
test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001
Modified:
AccountingMenus.xml
- added menu-item for contact mechs to InvoiceTabBar menu
controller.xml
- added request-map and view-map for request invoiceContactMech
InvoiceScreens.xml
- added screen for invoice contact mech(s)
InvoiceForms.xml
- added grid to display contact mech details
* Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428)
Though there is an entity InvoiceContactMech, this cannot be accessed by user with VIEW permissions when accessing an invoice.
modified:
AccountingUiLabels.xml - added label PageTitleInvoiceContactMech, used in screen InvoiceContactMech
Though there is an entity InvoiceContent, this cannot be accessed by user with VIEW permissions when accessing an invoice.
Modified:
- AccountingUiLabels.xml - added page title translation for
Modified:
InvoiceScreens.xml
- added screen InvoiceContent to be available for users with VIEW permissions
InvoiceForms.xml
- added grid InvoiceContent to be used by screen InvoiceContent
AccountingMenus.xml
- added menu-item invoiceContent to InvoiceTabBar
controller.xml
- added request-map and view-map to access screen InvoiceContent
AccountingUiLabels.xml
- added label definition for PageTitleInvoiceContent
Application(s) is generic (also used within contexts elsewhere) in OFBiz.
Users have a better perception of context when looking at a menu-item Payments
in the screen of an invoice, than seeing Applications.
The additional benefit for developers is that with the implemented change the
tech come closer to the language of the user
jleroux: after a discussion with Pierre in the Jira, being more in favour of
using "Payments applications" (for instance the related screen is named
EditPaymentApplications), I had a look at
https://www.linguee.fr/francais-anglais/search?query=%22Payments%20applications%22
which was not much conclusive.
In a 1st attempt, using Google translate, I tried to translate few languages
based on a French translation:
<value xml:lang="ar">طلبات المدفوعات </value>
<value xml:lang="de">Zahlungsaufzeichnungen</value>
<value xml:lang="en">Payments application</value>
<value xml:lang="es">Registros de pago</value>
<value xml:lang="fr">Enregistrement des paiements</value>
<value xml:lang="hi-IN">अनुप्रयोग</value>
<value xml:lang="it">Registri di pagamento</value>
I finally think that Pierre's is right and we could simply use Payments there
rather than Applications and even "Payments applications" (could be debated...)
So I just changed the French and English labels and the labels names of
AccountingApplicationSuccess to AccountingPaymentApplicationSuccess
and AccountingApplications to AccountingPaymentsApplications
I let the users of other languages to decide what to put there or discuss if
they see an interest.
Thanks: Pierre for report and suggestion
* Improved: VIEW permissions and invoice attributes (OFBIZ-12417)
Though there is an entity InvoiceAttribute, this cannot be accessed by user with VIEW permissions when accessing an invoice.
Modified:
InvoiceScreens.xml
- added screen InvoiceAttributes to be available for users with VIEW permissions
InvoiceForms.xml
- added grid InvoiceAttributes to be used by screen InvoiceAttributes
AccountingMenus.xml
- added menu-item invoiceAttributes to InvoiceTabBar
controller.xml
- added request-map and view-map to access screen InvoiceAttributes
* Improved: VIEW permissions and invoice attributes (OFBIZ-12417)
Though there is an entity InvoiceAttribute, this cannot be accessed by user with VIEW permissions when accessing an invoice.
I forgot to add the translation for the page title
modified: AccountingUiLabels.xml
added label definition for PageTitleInvoiceAttributes
This prevented to run the stable demo, hence the next, weirdly the trunk had
not this problem. Anyway better safe than sorry... Maybe related to Gradle
version or rather libs loaded?
The reason why the stable (and old) demos were not running is because the
EntitySaxReaderTests did not pass
(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
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
(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
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
(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
(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
(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
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
(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
(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
=================================
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
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