Commit Graph
27 Commits
Author SHA1 Message Date
Jacques Le Roux 20f97a5f56 "Applied fix from trunk for revision: 1859055 "
------------------------------------------------------------------------
r1859055 | jleroux | 2019-05-10 07:15:28 +0200 (ven. 10 mai 2019) | 4 lignes

Fixed: no functional changes

Fixes typos

------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release18.12@1859056 13f79535-47bb-0310-9956-ffa450edef68
2019-05-10 05:15:56 +00:00
Arun Patidar 136991d438 Added: Demo Data based on the proposed design to support replenishment planning through any inter-company facility.
(OFBIZ-7357)
For high level design and requirement details, please refer ticket (OFBIZ-6964)
Thanks Swapnil and Yashwant for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849547 13f79535-47bb-0310-9956-ffa450edef68
2018-12-22 12:19:19 +00:00
Jacques Le Roux bdf271a9b6 Fixed: Mime Type not supported Error while generating a Composite Pdf
(OFBIZ-9840)

When generating a Composite Pdf in the Content Manager an Error occurs :
 Mime Type not Supported
 Steps to recreate the Error Message:
Content Manager->CompDoc->Tree->View Instances->Tree-> Generate Composite Pdf

Thanks: Thanks Julian Leichert for report, Aman Mishra for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1847402 13f79535-47bb-0310-9956-ffa450edef68
2018-11-25 09:16:28 +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 5dff2f648a Implemented: Calculate estimated shipment delivery time
(OFBIZ-10372)
Currently when you pass an order in ofbiz you can select the shipment method to delivery finish good and obtains an amount cost but you have nothing to indicate how the delivration will during.
We have a good example with ship by plane or boat and for road the time is different between the Portugal to Spain and Portugal to Slovenia.

With this information, we can planned the estimated delivery date with the estimated date to produce finish good and the time to delivery them

To fill this gap, we introduce a new entity ShipmentTimeEstimate modelled as ShipmentCostEstimate to define the estimated time for a shipment method, a carrier and two geo location.
During the entry order process, if you select a shipmentMethod, a carrier and geoIds that match a ShipmentTimeEstimate, when you create the order, OFBiz try to resolve the an estimated delivery date from estimatedShipDate, shipBeforeDate, shipAfterDate or now.

Thanks Leila Mekika for initialize this works, Gil Portenseigne for improve the solution and Suraj Khurana for the review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840579 13f79535-47bb-0310-9956-ffa450edef68
2018-09-11 14:36:08 +00:00
Suraj Khurana 9c2127b257 Improved: Added support to calculate deposit price as well while creating shopping cart item.
(OFBIZ-7482)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1838320 13f79535-47bb-0310-9956-ffa450edef68
2018-08-18 08:34:18 +00:00
Deepak Dixit 397628ba7d Improved: Remove use of deprecated language attribute from script tag
(OFBIZ-10491)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836545 13f79535-47bb-0310-9956-ffa450edef68
2018-07-24 11:26:23 +00:00
Gil Portenseigne 9fbb3765e4 Implemented : File transfer management with communicationEvent and new contactMech FTP_ADDRESS
(OFBIZ-10245)

This commit introduce a new way to manage file transfer in OFBiz.
Inspired by mailing communication event management, a new communicationEventTypeId is created ('FILE_TRANSFER_COMM').

Such commEvent with classics : partyIdFrom/partyIdTo/contactMechIdTo/entryDate etc. are analysed by a job (like sendEmailDated), to send associated contents to a configured FTP/SFTP/FTPS server. If failure happens, it is catched and stored in communicationEvent, waiting for a new try.

For this purpose :

A new contactMechTypeId is introduced (FtpAddress), with its corresponding table. This contactMech store needed information for basic user/password authentication (server url and protocol, port, username, password, etc.)
A new service sendFileTransferDated that will look for pending file transfer and call following service.
A new service sendCommEventAsFtp that take a selected commEvent, check its structure and manage its status after trying the associated content file transfers.
A new service sendContentToFtp, that take a content and transfer it to a given FtpAddress.
A seca createCommEventFromFtpTransfer on sendContentToFtp to manage plural content file transfer, creating children communicationEvent to follow each content transfer separately (only for several content transfers).
A new Interface FtpClientInterface, with the 3 implementations of FTP, FTPS (To Implement), SFTP clients to manage Ftp connection and transfer.
A new property file to enable and manage redirection for testing purpose.

With this implementation, creating a communicationEvent, with a FtpAddress contactMechIdTo, and sendFileTransferDated job planned, the file is transfered to the ftp : communication event status set to COM_COMPLETE, if error occured the communication event status is set to COM_BOUNCED with error message on communicationEvent note.

Thanks Rishi for your feedbacks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831867 13f79535-47bb-0310-9956-ffa450edef68
2018-05-18 15:53:35 +00:00
Rishi Solanki cfef87d6f1 Improved: Remove empty field values from xml data files so that it will not override existing data with empty values. Removed all empty data fields from data files.
(OFBIZ-10282)
Thanks to Arun Patidar for reporting and review.
Thanks to Suraj Khurana for providing patch for the improvement.
Thanks to Jacques for discussion and finalizing the work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830545 13f79535-47bb-0310-9956-ffa450edef68
2018-04-30 10:52:55 +00:00
Akash Jain f0dc1e14b7 Improved: Invoice in status approved - cancel, applied patch from jira issue with minor changes (OFBIZ-10189)
Thanks, Ingo Wolfmayr for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830449 13f79535-47bb-0310-9956-ffa450edef68
2018-04-28 12:33:44 +00:00
Rishi Solanki ced30c8dc3 Improved: Move all data in applications to the datamodel component. Move the PortalPortlet, PortletPortletCategory and PortletCategory data to party, workeffort and content components from datamodel.
(OFBIZ-9501)
Thanks to Taher for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828817 13f79535-47bb-0310-9956-ffa450edef68
2018-04-10 13:36:51 +00:00
Nicolas Malin 7f8189de69 Implemented: Use agreement on drop shipment process (OFBIZ-10227)
Extend the drop shipment process to manage an agreement for the supplier related to the order context.
For a supplier we have different agreements with same products but on different prices

Agreement A
  GIZMO-1 100€
  GIZMO-1 110$
Agreement B
  GIZMO-1 90€
Agreement C
  GIZMO-1 600¥

During sales order process we resolve the purchase agreement that match the case and put on OrderItemShipGroup related to the supplier. Like that when the drop shipment process run it to resolve the product price for the agreement present on the OrderItemShipGroup. With this implementation we have an adaptable system to manage complex case.

Properly this patch implemented :
  an attribute on entity OrderItemShipGroup.supplierAgreementId
  an attribute on entity OrderHeader.agreementId (necessary when you update the order to keep the price)
  update the service caculatePurchasePrice for resolve the price from a agreement if it's present
  update the shoppingCart to insert a purchase agreement

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825002 13f79535-47bb-0310-9956-ffa450edef68
2018-02-21 20:40:53 +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 7d15b3030a Improved: Add seqId to GlAccountClass table to support the sorting of GLAccount
sub classes
(OFBIZ-10209)
Arun:
Most "liquid" assets should be first (i.e Bank/Cash before Inventory) so need 
to provide support to sort GLAccount classes.
Add seqId to GlAccountClass entity to support the sorting of GLAccount sub 
classes.
Suraj:
Also rearranged GlAccountClass data in a logical grouping for better readability

Jacques:
I counted 35 lines GlAccountClass moved, did not check each line

Thanks: Arun Patidar for report and Suraj Khurana for the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823737 13f79535-47bb-0310-9956-ffa450edef68
2018-02-10 09:18:34 +00:00
Rishi Solanki 5a49b98d3a Improved: Move all data in applications to the datamodel component. Moved demo data from accounting, commonext, content, humanres, manufacturing, marketing, order, party, product, workeffort components to datamodel component. Done changes in related data files and do entries accordingly.
(OFBIZ-9501)
Thanks to Sourabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1823177 13f79535-47bb-0310-9956-ffa450edef68
2018-02-05 14:13:04 +00:00
Jacques Le Roux 35ee954560 Completed: Remove applet concept in OFBiz
(OFBIZ-10094)

Following discussion at http://markmail.org/message/dlp4zoo3xxuiefpn :

While reviewing http://svn.apache.org/viewvc?view=revision&revision=1811438 
I stumbled upon the usage of Java Applets

It's still possible to use Java Applets in browsers but most of the time it's 
not OOTB https://www.digitalcitizen.life/how-enable-java-all-major-web-browsers

And Java 9 deprecates it https://www.java.com/en/download/faq/jdk9_plugin.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818646 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 10:33:15 +00:00
Rishi Solanki 613a605a3f Improved: Move all data in applications to the datamodel component. Moved seed data from commonext component. Left the protlet, security and help data.
(OFBIZ-9501)
Thanks to Jacques and Taher for your help and finalizing the directions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818385 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 11:39:52 +00:00
Rishi Solanki 319d7292d2 Improved: Move all data in applications to the datamodel component. Moved seed data from humanres, marketing and order component. Left the protlet, security and help data for these components.
(OFBIZ-9501)
Thanks to Jacques and Taher for your help and finalizing the directions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817915 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 13:57:04 +00:00
Rishi Solanki e83ab9ee03 Improved: Move all data in applications to the datamodel component. Move the help data back to the origin component from where moved to datamodel as discussed on ticket.
(OFBIZ-9501)
Thanks to Taher and Jacques for finalizing the direction.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817151 13f79535-47bb-0310-9956-ffa450edef68
2017-12-05 04:14:38 +00:00
Rishi Solanki be307fbade Improved: Move all data in applications to the datamodel component.
(OFBIZ-9501)
Move selected seed data for Product, Accounting and Manufacturing component. Thanks to Taher and Jacques for finalizing the data set.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816948 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 13:18:01 +00:00
Rishi Solanki a102c955fc Improved: Move all data in applications to the datamodel component. Remove unused files and added additional files to maintain all component data.
(OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813725 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 05:51:08 +00:00
Rishi Solanki 42cc28f78e Improved: Move all data in applications to the datamodel component. Moved seed and seed-initial data from party, content, security ext and work effort component. Left with few data changes which can be moved to some plugins or confusing. Will share the data over community and proceed accordingly once base effort is complete. Thanks Sourabh Jain, Saurabh Dixit and Prakhar Kumar for your contribution.
(OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813724 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 05:33:32 +00:00
Rishi Solanki 3b90303a43 Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Move parent type to data model component and childs back to workeffort as it seems to be related to project plugin. This will fix the issue of data loading.
Thanks Aditya Sharma for reporting the problem.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806279 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 09:27:33 +00:00
Rishi Solanki d5eb2cee42 Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Moved the data which belongs to product with seed reader.
Thanks Saurabh Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806267 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 07:39:19 +00:00
Rishi Solanki 63852a97ae Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Moved the data which belongs to workeffot with seed reader.
Thanks Prakhar Kumar for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806265 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 07:33:06 +00:00
Rishi Solanki b0651cbe4d Improvement: Move all data in applications to the datamodel component. (OFBIZ-9501)
Moved the data which belongs to content with seed reader.
Thanks Saurabh Dixit for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806258 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 05:54:15 +00:00
Taher A. Alkhateeb 13994d0f22 Implemeted: Move all data in applications to the datamodel component
(OFBIZ-9501)

This is the first of many more commits to move all data from applications
to the datamodel component to centralize both entity definitions and the data
supporting it.

This commit partially moves data from PartyTypeData.xml file to the newly
created central file PartySeedData. All tests pass

Thank you: Swapnil Mane for your review and feedback


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802603 13f79535-47bb-0310-9956-ffa450edef68
2017-07-21 14:46:36 +00:00