How to create Fixed Bid projects in OpenERP? - odoo

Im trying to implement OpenERP v6.0.0rc in my company which is an IT Services Company.
My boss told me to create Fixed Bid Projects. I searched a lot and found that OpenERP has no functionality to do so.
So i tried to do that using Analytic Accounts(fixed cost contracts).I create a new analytic account. Then tried to generate invoice by creating a new analytic entry manually.
Analytic Account->All analytic entries->New
But when i try to save that entry a warning pops up -
"Parent record doesnt exist"
Tried a lot, cant get around this.
Please help me with this warning.
Or if anyone knows any other way to create a fixed bid project.
Regards Nikhil

Nikhil do the below.
1) Create a product type service.
2) Create a user.
3) Create an employee. Here is where you link a product and employee. When creating an employee go to the tab time sheet and there select the product of type service.
4) Now go back to your project task which you were working on and change the person you assigned it. Change it to the user employee/user you created in points 2 and 3.
5) Now make the time sheet lines and things should work fine.
all the best.

Related

Make table customizable/transportable?

I've got a table which was set up wrong ( as an application table, but a maintanence view was created ) but it should be an customizing table, so that we are able to transport the entries of the table.
So far I changed the type and maintainablity of the table, now it is type C ( Customizing ) and changes can be made without restrictions. I've also changed in the technical settings the type to APPL2, so it is a customizing-table. After those changes I've deleted the original table maintanence generator view and generated a new one.
My problem is, that when I save my new / changed entries in sm30, I won't get asked for a transport request and the option to put them into the transport request in sm30 ( via the menue ) is not available. It is outgreyed.
How can I change my table / what do I need to do, that I am able to transport my customizing entries?
In the Table-Maintenance-Generator there is an option called "Standard recording routine" which needs to be selected.
of course credits go to #JózsefSzikszai who gave the answer in the comments :)
Just follow these steps:
More->Utilities->Table Maintenance Generator.
Under Dialog Data Transport Details select "Standard recording routine"

Automate sale order to invoice creation in odoo

Is there an easy way to automate the sale order process ?
I have customer whose salesman will create Sale orders for every sim he creates.
Once Sale order is closed both DC and Invoice should be created and validated automatically, there is no need for stock picking/packing concepts.
Could someone have any idea on doing it without affecting the default flow ?
Or should I call every function related to that process in my module ?
I tried calling the functions in stock picking and then tried validating DC. I got the odoo Warning as
'You have a difference between quantity on the operation and the quantities specified for the lots'
Could you please suggest me which particular function picks the product from stock in stock.picking ?
Hi Nirmalraj Rethinasabapathi,
Yes, I think I have done it for my project.
I can map What I have done to achieve that:
Added two boolean fields in Warehouse form.
One for "Auto Validate Invoice" and another one is for "Automation In Delivery"
Override sales confirmation button action and bypass all the function you want.
It is working perfectly for me.

Finding the query that created a table in BigQuery

I am a new employee at the company. The person before me had built some tables in BigQuery. I want to investigate the create table query for that particular table.
Things I would want to check using the query is:
What joins were used?
What are the other tables used to make the table in question?
I have not worked with BigQuery before but I did my due diligence by reading tutorials and the documentation. I could not find anything related there.
Brief outline of your actions below:
Step 1 - gather all query jobs of that user using Jobs.list API - you must have Is Owner permission for respective projects to get someone else's jobs
Step 2 - extract only those jobs run by the user you mentioned and referencing your table of interest - using destination table attribute
Step 3 - for those extracted jobs - just simply check respective queries which allow you to learn how that table was populated
Hth!
I have been looking for an answer since a long time.
Finally found it :
Go to the three bars tab on the left hand side top
From there go to the Analytics tab.
Select BigQuery under which you will find Scheduled queries option,click on that.
In the filter tab you can enter the keywords and get the required query of the table.
For me, I was able to go through my query history and find the query I used.
Step 1.
Go to the Bigquery UI, on the bottom there are personal history and project history tabs. If you can use the same account used to execute the query I recommend personal history.
Step 2.
Click on the tab and there will be a list of queries ordered from most recently run. Check the time the table was created and find a query that ran before the table creation time.
Since the query will run first and create the table there will be slight differences. For me it stayed between a few seconds.
Step 3.
After you find the query used to create the table, simply copy it. And you're done.

TDBGrid where is the SQL WHERE condition?

I am working on an already started Delphi project where there is a TDBGrid. The grid seems to be filled by a TADOTable that refer to a Bill table in the dataset.
It display a bill by PkBill. I can't seem to find where in the design or in code someone told to load only for this pk.
I need to load multiples Pk at the same time. I'm used to create programmatically a TADOQuery, create a connection, write my SQL code, then do what I want with the result. With those objects/controls, I just don't know where to do that.
Thanks for the help and clarity!
Check TADOTable.MasterSource to see if it's in the Master-Detail relationship.
Or you could check TADOTable.Filtered and TADOTable.Filter to see if it's being filtered by PkBill.

When relating 3 entities in CRM 2011 using Advanced Find only 2 entities show up in edit columns

I'm trying to create a view in CRM 2011 that will show a few columns from Customers (Account), Orders (SalesOrder), and Order Products (SalesOrderDetail). I already know I need to start at the child-most entity so under Advanced Find I select "Order Products" under Look for. When I do this I'm able to select columns from Orders but unable to select columns from Customers.
Is this even possible to accomplish in CRM?
I'm trying to create the following result set:
Account.Name,
Account.Email,
SalesOrder.OrderNumber,
SalesOrderDetail.NetAmount,
SalesOrderDetail.ShipDate
I verified that you cannot manually add a second link within a view query. To my knowledge it is also not possible to add these columns though javascript. You can get the account name in your view simply by using the account lookup on the Order. If you need for the account email to also be in the view, then I suggest you add this field to the order entity and populate it with post callout logic on the account.
I Second Zach’s idea, but suggest adding a direct relationship between customer and orderdetail . This way you can use fetchxml to show account.email or any other account.* for that matter.
The downside is you’ll need to sync order.customer changes to orderdetail.customer.
The better option is to simply create a report and show that in an iframe or a webresource.
This is not possible even if we edit the fetch xml it wont work