View source | View content page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Projects:Product On the Fly for Phidias/Functional Specifications

Contents

Product On the Fly for Phidias - Functional Specifications

Overview

This project is about to have the possibility of add DEA and DEEE fields when creating new products “on the fly” through the WebPOS. It depend on: Projects:Product_On_The_Fly_in_WebPOS/Functional_Specifications

Functional Requirements

WebPOS

Add following property editors in New OTF product dialog

Implementation

This project is implemented in a new custom module: fr.phidias.openbravo.retail.productonfly and depend on modules: fr.phidias.openbravo.retail.ecotax and org.openbravo.retail.productonthefly

Add properties editors to dialog: New OTF product

When the terminal was loaded from backend (Hook: OBPOS_TerminalLoadedFromBackend), it's added a property editors in New OTF product dialog

   OBROTF.ModalProductDuplicate.prototype.newAttributes.push({
     kind: 'OB.UI.renderComboProperty',
     name: 'phiecoDea',
     modelProperty: 'phiecoDea',
     mandatory: false,
     i18nLabel: 'PHIOTF_lblDEA',
     .....   
   }, {
     kind: 'OB.UI.renderTextProperty',
     name: 'phiecoDeaQty',
     modelProperty: 'phiecoDeaQty',
     mandatory: true,
     i18nLabel: 'PHIOTF_lblDEAQty',
     .....   
   }, {
     kind: 'OB.UI.renderComboProperty',
     name: 'phiecoDeee',
     modelProperty: 'phiecoDeee',
     mandatory: false,
     i18nLabel: 'PHIOTF_lblDEEE',
     .....   
   }, {
     kind: 'OB.UI.renderTextProperty',
     name: 'phiecoDeeeQty',
     modelProperty: 'phiecoDeeeQty',
     mandatory: true,
     i18nLabel: 'PHIOTF_lblDEEEQty',
     .....   
   });

Hooks

This module implement Hook: OBROTF_SetProductExtraProperties to remove calculate properties (phiecoDeaamnt and phiecoDeeeamnt) and properties (phiecoDea and phiecoDeee) when are empty.

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Product_On_the_Fly_for_Phidias/Functional_Specifications"

This page has been accessed 209 times. This page was last modified on 2 December 2015, at 11:05. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.