How to duplicate Quotation/Order report and customize the duplication? - odoo

I would like to create a similar Quotation/Order report, without adding any line to the files code (I agree on changing/adding new lines on the database)
The Quotation/Order is perfect for sending it to the clients during the negotiation, but after selling the goods, I would like to print a Label with less data than Quotation/Order report.
Basically the new report will have the following info:
Quotation Number
Client Name, VAT, Address, Logo (logo is already working on my Quotation/Order report)
This label will be fixed on the pack in order to make the transport easier.
Any suggestion?

You could create another label and make it available on the drop down from the action or print menu located in the center.
Name it something unique.
could do this through studio if you have no real experience with the xml or module development.
You could even limit the print to be visible only when the order is in a certain state .

Related

How to migrate Navision Microsoft Dynamics report to SQL

I have access to the Navision SQL Server database and the corresponding Microsoft Dynamics NAV interface.
I want to migrate the 'Aged Acc. Receivable DII' report. Once I select the report and go to Tools > Designer I can see the 'DataItem' list, and when I select any of those and press F9 I see the C/AL Editor as per below.
Selecting another 'Data Item' provides another code. My initial question would be, which code from the 'Data Item' refers to the 'Preview' button in the 'Aged Accounts Receivable - IRES' window?
From the code I understand there are 3 tables joined (Customer, Cust_ Ledger Entry and Detailed Cust_ Ledg_ Entry) but I can not manage to output the same result that in the report produced in the interface. I'm guessing this is a generic report. Is there a query that could be used to generate the same output? Or documentation that would explain how the report is created?
Oh man, i don’t know where to start. MS seems to finally buried Navision 5 along with it’s documentation on msdn. But it is still should be possible for you to open local documentation with F1. Just make sure you are pressing it while your input cursor is on the code. This will open developer’s docu. You will not find there any explanations about how data is structured for output, but you will be able to find how things works.
Back to your questions. You need all the code you see in triggers. And might happen you will need code from the layout that you have not yet discovered. Preview and print buttons doing the same except for the global variable CurrReport.Preview is set to true.
To see if there is any other code open View-Sections, select any section and F9. Code will also be different per section.
The form you are asking is called RequestForm, hence the menu called View-Request page. F9 on the page and any elements on it.
Also, see the button that is third from the right on toolbar on your screen. That is Properties. Many things have properties. For example DataItem’s properties will tell you have child and parent are linked.
If you can open report in the designer then you probably have a developer’s license uploaded to database. Where is the developer then?) It should also allow you to export objects to text file. The you will be able to read every last bit of the code. When window with dataitems is active (for previously mentioned commands as well) press File-Export and select text format. Fob will produce binary output, not useful for you.

How to translate field values in Odoo 10?

We can see all the translated items using Settings > Application Terms > Translated Terms.
But there is no dynamic translated values in the list. All are static values like labels. However, I made some queries in PostgreSQL and I found some translated values there.
Is there any UI to check and edit the translated field values in Odoo 10?
Usually the field itself has a little globe on the right upper corner in edit mode. For example in products:
Click to open the field's translations:
Another, and in my opinion better, way is using the module web_translate_dialog from OCA.
And that's it. You already found the menu with the list of records from model ir.translation which show every translation for the system. The little globe is opening it, too, but filters the correct field.

How to hide an unused field in TFS

Is there a way to hide a field in TFS2015? We just needed to hide an unused field since it doesn't server us purpose anymore but we don't want to delete it.
If you just mean you don't want to see the filed in your workitem.
You could delete the control in layout page (Need TFS Power Tools installed).
After this your teams won't be able to see the field in work item page any more.
However this filed still could be used/filtered in work item query. If the hide in your question means this. Unfortunately, no this function for now. You may have to delete the filed instead.

DMS Document option disappearing from New menu on folder in Ektron 9

Ektron 9 - steps to trigger issue ... we think:
Create new content folder
Edit folder properties
Smart Forms tab - untick inherit, and remove "Blank HTML"
The "new" menu on the folder now:
Does not show DMS Document as a menu item
Does not show Smart Form list as a pull-out sub menu.
Question
How do I get "Blank HTML" back into the smart form tab property in the folder
Why is this happening
Help!!
[Edited] Workaround
eGandalf gave the simple answer via Twitter (previously I had attempted a workaround of putting inheritance back on then resetting the tree): toggle the "Require Smart Forms" checkbox on the "Smart Forms" tab and the Blank HTML option will come back.
This is by design. When you remove the HTML option, note that it checks the "Require Smart Form" box (and, reciprocally, checking the Require Smart Form box removes the HTML option). That means that all other types, including PageBuilder, DMS documents, or HTML are now forbidden in this folder.
As a best practice, you shouldn't be mixing types in a folder anyway. A lot of people do, but that doesn't make it any more valid. If you've got a folder for Press Releases and you have a Press Release Smart Form, you shouldn't have any other type of content in that folder. The less you mix types, the less filtering you have to do either with the API or post-request via LINQ. As a result, you'll have a more consistently performing site.
In situations like this, where I want the DMS assets and the Smart Form content to a) both be searchable, b) both be managed by the same user/group and c) there's a strong connection between the two (e.g., Whitepaper information Smart Form + PDF asset download), I'll create a child folder and allow DMS assets there. In the Case Study example, the folder structure may look like this:
Content
Case Studies (Smart Form only)
Downloads (DMS Allowed)
In contrast, if I don't want the DMS assets to be independently searchable, I'll remove them from the Content folder entirely and place them in a separate, root-level, non-searchable folder called Resources or Downloads.
Because Blank HTML is a default (and ID 0), you might have to reassign it in the database.
My guess is that removing the Blank HTML option impacts DMS retrieval in the workarea specifically.
In this case, I'd reach out to support, I've never actually needed/wanted to do this.
Edit:
I dug a bit more to try and give you something to try.
You'll need to reinsert an xml_id into folder_to_xml_tbl.
insert into folder_to_xml_tbl VALUES(your_folder_id, 0, 1);
Ektron support have replied:
Hi ,
Engineering have advised that DMS documents are unstructured.
By forcing all content to be structured content, it disallows raw html as well as dms assets and only allows documents with structure to be created
In any reply please include the case number in the subject line.
To open a new case email uksupport#ektron.com or use the support request form at http://www.ektron.com/Resources/Support/Contact/

In Enterprise Architect, can I export the structured specification of an element's scenario into a report?

For each model element, there is the option in EA 10 to create internal requirements, constraints and scenarios. All of them end up in reports if you use the pre-defined Basic Template.
However, if you select "structured specification" instead of the default "description" text field for a scenario, then I end up with the steps of the structured specification being ignored in the report output.
How can I have them included in reports?
It sounds like you need to create your own reporting template. This may seem a bit daunting first time out and the template editor is pretty ornery, but luckily you can use an existing template as a starting point.
Hit F8 to bring up the Generate Documentation dialog, then select the Templates tab. Click New, specify a name and select a template you like to be copied. Don't bother with a template group, and leave the fragment checkbox unchecked.
In the editor, scroll down about halfway (assuming you selected to copy the Basic template) and locate the yellow scenario > tag.
Now in the checkbox tree on the left, scroll down do Package - Element - Scenario. Note that Scenario is checked, but Structured Scenarios is not. Check it.
In the editor, note the new structured scenarios > tag. Remove the right-click-to-insert text, then right-click and select Insert Field, then State etc.
It's more than a little fiddly, but if the Basic template is good enough to begin with you should be able to add the structured scenarios with a minimum of effort.
For more information, see the help file under Reporting - RTF Documents. Note that the individual fields aren't listed in the help file, you need to open up the template editor to see what specific information you can extract to your report.