Skip to main content
1 vote
1 answer
2k views

In odoo 17, I want the formview to only view and not edit based on the value of the field order_payment_state = done. Instead of adding the readonly attribute to each field, I want to write a python ...
Cris Tuan's user avatar
0 votes
2 answers
91 views

Is there a proper way to modify the form fields before validating the data on a Class Based FormView. More specifically a CreateView. Is necessary to use Class Based views 'cause I'm throwing in a ...
42WaysToAnswerThat's user avatar
0 votes
1 answer
68 views

I'm trying to prepopulate a django FormView fields with data of another form (prepatory for a meeting minute creator). I made an project simplifiying and reproducing the error for better comprehension ...
herrmartins's user avatar
0 votes
0 answers
67 views

I'm trying to prevent the previous values shown when the user clicks the browser's back button after a record insert using ASP.NET. I know this is a classic question asked many times, but I've spent ...
ptownbro's user avatar
  • 1,336
0 votes
2 answers
236 views

I am trying to make a warehouse management system with Django 3.2 based on this models: class itemtype(models.Model): item_id = models.IntegerField(primary_key=True) item_name = models....
MightyRavendark's user avatar
1 vote
1 answer
1k views

I have a form view and I want to set the create and edit attributes to it dynamically. here is my form view record: <record model="ir.ui.view" id="estate_property_type_form">...
reyhane janboori's user avatar
0 votes
1 answer
209 views

I would like to know whether or not this control is null once the page loads before I perform another operation. At the moment it just throws the object reference error. protected void ...
A.Mac's user avatar
  • 263
0 votes
0 answers
73 views

I added Formview screen to Dialog and dynamically added controls to Formview screen. With more control, scrolling appeared on the Formview screen. In this situation, when I try to output the Formview ...
YunDaehee's user avatar
1 vote
1 answer
359 views

my view.py class Formtestview(FormView): template_name = 'test.html' form_valid(self, form): 'my code to search' => 'result is object_list' page = self.request.GET....
Hyungsik Jo's user avatar
0 votes
1 answer
92 views

When I want to modify a FormView element like below, it works fine in the DataBound event, but it doesn't work with the ItemUpdated event (and also not with the ItemUpdating event). Why is that? This ...
esims's user avatar
  • 490
2 votes
1 answer
423 views

I'm trying to send this form data by POST. When I click on submit it redirects me to the <form action="{% url 'create-checkout-session' %}" specified but I never get the email. If I ...
Space guy's user avatar
  • 415
0 votes
1 answer
712 views

I have a form view like this: After fill in the required fields and click the 'Confirm' button. I want to show the form view in SAVE/VIEW mode. But it just shows the Form View in EDIT mode like this:...
Leon Nguyen's user avatar
1 vote
1 answer
761 views

I created a FormView and it works fine if the user executed the process the first time. However when it is executed the second time I get an error that the record already exist. This is expected as ...
Bernard's user avatar
  • 33
3 votes
1 answer
2k views

I am trying to refactor my code to inherit FormView instead of View. The view I'm working with receives values in the GET request. I retrieve the values in the get_context_data method and pass them ...
fdeboo's user avatar
  • 315
0 votes
2 answers
518 views

I defined a button via "Server Actions" in this FORM VIEW: And created another FORM VIEW from the submenu. Then I'd tried to call this FORM VIEW via the button, but it's not worked. So how ...
Leon Nguyen's user avatar

15 30 50 per page
1
2 3 4 5
38