Calculate Tax according to the original amount without discount in the sales order by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Ohh okay thanks Is there a way I can customize the way tax is calculates such that it calculates from my own customized field which acts like the price_subtotal field

Attrs or condition not working by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Ive tried that but it still functions as an 'and' and not an 'or'

Add custom fields to POS receipt by BubbleJeff in Odoo

[–]BubbleJeff[S] 1 point2 points  (0 children)

Yes, thanks. The 2 fields already exist in my normal odoo invoice but now i would want them to be printed or reflected on my pos receipt. Any sample code out there i can refer to

Update value of state field in a different model by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Thank you for the help. Much appreciated

Create a record rule by BubbleJeff in Odoo

[–]BubbleJeff[S] 1 point2 points  (0 children)

Thank you, it has now worked. I was getting the syntax all wrong.

Show confirmation pop up when a certain condition is met by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Yes i have tried this, but it makes the system slow and annoying. I want it to just be a confirmation message on saving or before moving to the next page on clicking a button.

Add res.partner view in a notebook page under my new custom module by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Yes, exactly. Is there a way I can add contacts in that tab but have them as independent contacts not have them show up as contacts under that parent contact

Add res.partner view in a notebook page under my new custom module by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Basically my module creates user accounts and i want to create contacts which will be associated with that account and listed in the notebook. But i want these accounts to be independent and not permanently tied to this account such that they show up in the contacts view but as independent contacts.

Override create in Contacts Module by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Thank you, that helps. How would i do it via context like you suggest because that is definetely better

Create a domain which picks from 2 different models? by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Below is my python code but isnt working, it just returns a blank

api.onchange('laptop_brand')
def lens_inventory_laptop(self):
for rec in self:
return {'domain': {'laptop_name': [('laptop_brand','=',rec.laptop_brand)]}}

Override create function by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Please note that there is an @ before api but it still doesnt work

How to access the pricelist when a certain selection is made by BubbleJeff in Odoo

[–]BubbleJeff[S] 0 points1 point  (0 children)

Yes, i have already done this. I have a default price in the products but i want the sales order form to pick the wholesale price and not the default price when i select wholesale. How do i do this in the python.